From 8750fd14ccaa15b14508a65ae34a883c14b77903 Mon Sep 17 00:00:00 2001 From: Tom Harris Date: Wed, 22 Dec 2021 15:44:37 -0500 Subject: [PATCH] Improve Insteon responsiveness (#62612) --- homeassistant/components/insteon/__init__.py | 2 ++ homeassistant/components/insteon/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/insteon/__init__.py b/homeassistant/components/insteon/__init__.py index 223448953b9..e9be0d22cb8 100644 --- a/homeassistant/components/insteon/__init__.py +++ b/homeassistant/components/insteon/__init__.py @@ -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() diff --git a/homeassistant/components/insteon/manifest.json b/homeassistant/components/insteon/manifest.json index c17f441a159..e00a85a9823 100644 --- a/homeassistant/components/insteon/manifest.json +++ b/homeassistant/components/insteon/manifest.json @@ -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" diff --git a/requirements_all.txt b/requirements_all.txt index 35e1dac37c3..fef25ac0673 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -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 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index 4aa16511c71..d2f8504a6a2 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -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