Improve Insteon responsiveness (#62612)

This commit is contained in:
Tom Harris 2021-12-22 15:44:37 -05:00 committed by GitHub
parent 566f631933
commit 8750fd14cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 5 additions and 3 deletions

View file

@ -39,6 +39,8 @@ async def async_get_device_config(hass, config_entry):
# Make a copy of addresses due to edge case where the list of devices could change during status update
# Cannot be done concurrently due to issues with the underlying protocol.
for address in list(devices):
if devices[address].is_battery:
continue
with suppress(AttributeError):
await devices[address].async_status()

View file

@ -3,7 +3,7 @@
"name": "Insteon",
"documentation": "https://www.home-assistant.io/integrations/insteon",
"requirements": [
"pyinsteon==1.0.13"
"pyinsteon==1.0.14"
],
"codeowners": [
"@teharris1"

View file

@ -1561,7 +1561,7 @@ pyialarm==1.9.0
pyicloud==0.10.2
# homeassistant.components.insteon
pyinsteon==1.0.13
pyinsteon==1.0.14
# homeassistant.components.intesishome
pyintesishome==1.7.6

View file

@ -951,7 +951,7 @@ pyialarm==1.9.0
pyicloud==0.10.2
# homeassistant.components.insteon
pyinsteon==1.0.13
pyinsteon==1.0.14
# homeassistant.components.ipma
pyipma==2.0.5