mirror of
https://github.com/Andre0512/hon.git
synced 2026-06-20 21:11:17 +02:00
Change poll to push
This commit is contained in:
@@ -64,11 +64,9 @@ async def async_setup_entry(
|
||||
if not device.commands.get(description.key):
|
||||
continue
|
||||
entity = HonButtonEntity(hass, entry, device, description)
|
||||
await entity.coordinator.async_config_entry_first_refresh()
|
||||
entities.append(entity)
|
||||
entities.append(HonDeviceInfo(hass, entry, device))
|
||||
entities.append(HonDataArchive(hass, entry, device))
|
||||
await entities[-1].coordinator.async_config_entry_first_refresh()
|
||||
async_add_entities(entities)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user