1 parent
37706c2731
commit
7f0a50ce31
41 files changed
+76
-72
No files matched your search
@@ -167,7 +167,7 @@ async def async_setup_platform(hass, config, async_add_entities,
|
||||
# Make all device entities aware of new telegram
|
||||
for device in devices:
|
||||
device.telegram = telegram
|
||||
hass.async_add_job(device.async_update_ha_state())
|
||||
hass.async_create_task(device.async_update_ha_state())
|
||||
|
||||
# Creates an asyncio.Protocol factory for reading DSMR telegrams from
|
||||
# serial and calls update_entities_telegram to update entities on arrival
|
||||
|
||||
Reference in new issue
Block a user