mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix Shelly Polling (#47224)
This commit is contained in:
parent
be8584c0bc
commit
adad4a7785
@ -108,6 +108,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry):
|
||||
"Setup for device %s will resume when device is online", entry.title
|
||||
)
|
||||
device.subscribe_updates(_async_device_online)
|
||||
await device.coap_request("s")
|
||||
else:
|
||||
# Restore sensors for sleeping device
|
||||
_LOGGER.debug("Setting up offline device %s", entry.title)
|
||||
|
Loading…
x
Reference in New Issue
Block a user