Fixes in fhem & lirc (in reconnection_client)
This commit is contained in:
@@ -45,7 +45,10 @@ class FhemConnection(ReconnectingClient):
|
||||
"displayattr .*\n".encode(),
|
||||
])
|
||||
|
||||
async def _update_all_devices(self, _):
|
||||
async def _update_all_devices(self, state):
|
||||
if state == 'connected':
|
||||
self.write_line("displayattr .*")
|
||||
self.write_line("inform on")
|
||||
for device_list in self._devices.values():
|
||||
for device in device_list:
|
||||
await device.async_update_ha_state()
|
||||
|
||||
Reference in New Issue
Block a user