From db4f6fb94dce27d6dea48e11d945884fa83ae5a4 Mon Sep 17 00:00:00 2001 From: mkmer Date: Wed, 1 Mar 2023 10:19:46 -0500 Subject: [PATCH] Bump Aiosomecomfort to 0.0.11 (#88970) --- homeassistant/components/honeywell/climate.py | 5 ++++- homeassistant/components/honeywell/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/homeassistant/components/honeywell/climate.py b/homeassistant/components/honeywell/climate.py index 3677c0f8d56..9184b8c3d66 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -421,6 +421,7 @@ class HoneywellUSThermostat(ClimateEntity): """Get the latest state from the service.""" try: await self._device.refresh() + self._attr_available = True except ( aiosomecomfort.SomeComfortError, OSError, @@ -428,8 +429,10 @@ class HoneywellUSThermostat(ClimateEntity): try: await self._data.client.login() - except aiosomecomfort.SomeComfortError: + except aiosomecomfort.AuthError: self._attr_available = False await self.hass.async_create_task( self.hass.config_entries.async_reload(self._data.entry_id) ) + except aiosomecomfort.SomeComfortError: + self._attr_available = False diff --git a/homeassistant/components/honeywell/manifest.json b/homeassistant/components/honeywell/manifest.json index 4b8e73e9fe7..989e6057490 100644 --- a/homeassistant/components/honeywell/manifest.json +++ b/homeassistant/components/honeywell/manifest.json @@ -6,5 +6,5 @@ "documentation": "https://www.home-assistant.io/integrations/honeywell", "iot_class": "cloud_polling", "loggers": ["somecomfort"], - "requirements": ["aiosomecomfort==0.0.10"] + "requirements": ["aiosomecomfort==0.0.11"] } diff --git a/requirements_all.txt b/requirements_all.txt index 1bd057d5a50..6f31ba81e6e 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -276,7 +276,7 @@ aioskybell==22.7.0 aioslimproto==2.1.1 # homeassistant.components.honeywell -aiosomecomfort==0.0.10 +aiosomecomfort==0.0.11 # homeassistant.components.steamist aiosteamist==0.3.2 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index a5414ce3f0b..5134f0900a2 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -254,7 +254,7 @@ aioskybell==22.7.0 aioslimproto==2.1.1 # homeassistant.components.honeywell -aiosomecomfort==0.0.10 +aiosomecomfort==0.0.11 # homeassistant.components.steamist aiosteamist==0.3.2