mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix Shelly sleeping Gen2 - update data upon initialize (#86544)
This commit is contained in:
@@ -510,6 +510,7 @@ class ShellyRpcCoordinator(ShellyCoordinatorBase[RpcDevice]):
|
||||
"""Handle device update."""
|
||||
if update_type is UpdateType.INITIALIZED:
|
||||
self.hass.async_create_task(self._async_connected())
|
||||
self.async_set_updated_data(None)
|
||||
elif update_type is UpdateType.DISCONNECTED:
|
||||
self.hass.async_create_task(self._async_disconnected())
|
||||
elif update_type is UpdateType.STATUS:
|
||||
|
Reference in New Issue
Block a user