Insteon bug fixes (#73791)
This commit is contained in:
parent
4bfdc61045
commit
08b69319ca
6 changed files with 14 additions and 16 deletions
|
@ -196,9 +196,8 @@ def async_register_services(hass):
|
|||
for address in devices:
|
||||
device = devices[address]
|
||||
if device != devices.modem and device.cat != 0x03:
|
||||
await device.aldb.async_load(
|
||||
refresh=reload, callback=async_srv_save_devices
|
||||
)
|
||||
await device.aldb.async_load(refresh=reload)
|
||||
await async_srv_save_devices()
|
||||
|
||||
async def async_srv_save_devices():
|
||||
"""Write the Insteon device configuration to file."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue