Skip to content

Commit 765ad54

Browse files
authored
Merge pull request dvd-dev#523 from ic-dev21/typo
LOG.warn is deprecated
2 parents 4687417 + d25dd03 commit 765ad54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

custom_components/hilo/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ async def on_websocket_event(self, event: WebsocketEvent) -> None:
284284
for item in event.arguments[0]
285285
)
286286
if new_devices:
287-
LOG.warn(
287+
LOG.warning(
288288
"Device list appears to be desynchronized, forcing a refresh thru the API..."
289289
)
290290
await self.devices.update()

0 commit comments

Comments
 (0)