Insteon bug fixes (#73791)

This commit is contained in:
Tom Harris 2022-06-22 04:04:11 -04:00 committed by GitHub
parent 4bfdc61045
commit 08b69319ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 14 additions and 16 deletions

View file

@ -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."""