From a0810053f10f40df2749c191db1b04bef850ec9b Mon Sep 17 00:00:00 2001 From: mkmer Date: Sun, 22 Jan 2023 11:25:27 -0500 Subject: [PATCH] Bump AIOSomecomfort to 0.0.3 (#86371) fixes undefined --- homeassistant/components/honeywell/climate.py | 12 ++++++------ homeassistant/components/honeywell/manifest.json | 2 +- requirements_all.txt | 2 +- requirements_test_all.txt | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/homeassistant/components/honeywell/climate.py b/homeassistant/components/honeywell/climate.py index 6850607d7f7..97d6c2f8881 100644 --- a/homeassistant/components/honeywell/climate.py +++ b/homeassistant/components/honeywell/climate.py @@ -320,11 +320,11 @@ class HoneywellUSThermostat(ClimateEntity): # Set permanent hold # and Set temperature if mode in COOLING_MODES: - self._device.set_hold_cool(True) - self._device.set_setpoint_cool(self._cool_away_temp) + await self._device.set_hold_cool(True) + await self._device.set_setpoint_cool(self._cool_away_temp) elif mode in HEATING_MODES: - self._device.set_hold_heat(True) - self._device.set_setpoint_heat(self._heat_away_temp) + await self._device.set_hold_heat(True) + await self._device.set_setpoint_heat(self._heat_away_temp) except AIOSomecomfort.SomeComfortError: @@ -393,13 +393,13 @@ class HoneywellUSThermostat(ClimateEntity): try: await self._device.refresh() except ( - AIOSomecomfort.device.SomeComfortError, + AIOSomecomfort.SomeComfortError, OSError, ): try: await self._data.client.login() - except AIOSomecomfort.device.SomeComfortError: + except AIOSomecomfort.SomeComfortError: self._attr_available = False await self.hass.async_create_task( self.hass.config_entries.async_reload(self._data.entry_id) diff --git a/homeassistant/components/honeywell/manifest.json b/homeassistant/components/honeywell/manifest.json index 92a2f48a2e1..7eb07711b09 100644 --- a/homeassistant/components/honeywell/manifest.json +++ b/homeassistant/components/honeywell/manifest.json @@ -3,7 +3,7 @@ "name": "Honeywell Total Connect Comfort (US)", "config_flow": true, "documentation": "https://www.home-assistant.io/integrations/honeywell", - "requirements": ["aiosomecomfort==0.0.2"], + "requirements": ["aiosomecomfort==0.0.3"], "codeowners": ["@rdfurman", "@mkmer"], "iot_class": "cloud_polling", "loggers": ["somecomfort"] diff --git a/requirements_all.txt b/requirements_all.txt index 6846481b611..ba675f3e647 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -279,7 +279,7 @@ aioskybell==22.7.0 aioslimproto==2.1.1 # homeassistant.components.honeywell -aiosomecomfort==0.0.2 +aiosomecomfort==0.0.3 # homeassistant.components.steamist aiosteamist==0.3.2 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index b278a1f0fc4..478322c22dd 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -257,7 +257,7 @@ aioskybell==22.7.0 aioslimproto==2.1.1 # homeassistant.components.honeywell -aiosomecomfort==0.0.2 +aiosomecomfort==0.0.3 # homeassistant.components.steamist aiosteamist==0.3.2