Skip to content

Commit

Permalink
chore: Update logging level for device online events
Browse files Browse the repository at this point in the history
Closes #189
  • Loading branch information
xenjke committed Oct 8, 2024
1 parent 812f589 commit 1eb8877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/meross_cloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,12 +290,12 @@ async def _async_push_notification_received(self, namespace: Namespace, data: di
_LOGGER.warning(f"Received unbind event. Removing device %s from HA", self.name)
await self.platform.async_remove_entity(self.entity_id)
elif namespace == Namespace.SYSTEM_ONLINE:
_LOGGER.warning(f"Device %s reported online event.", self.name)
_LOGGER.info(f"Device %s reported online event.", self.name)
online = OnlineStatus(int(data.get('online').get('status')))
update_state = True
full_update = online == OnlineStatus.ONLINE
elif namespace == Namespace.HUB_ONLINE:
_LOGGER.warning(f"Device {self.name} reported (HUB) online event.")
_LOGGER.info(f"Device {self.name} reported (HUB) online event.")
online = OnlineStatus(int(data.get('status')))
update_state = True
full_update = online == OnlineStatus.ONLINE
Expand Down

0 comments on commit 1eb8877

Please sign in to comment.