Bump Aiosomecomfort to 0.0.11 (#88970)

This commit is contained in:
mkmer 2023-03-01 10:19:46 -05:00 committed by Franck Nijhof
parent c50c920589
commit db4f6fb94d
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
4 changed files with 7 additions and 4 deletions

View File

@ -421,6 +421,7 @@ class HoneywellUSThermostat(ClimateEntity):
"""Get the latest state from the service.""" """Get the latest state from the service."""
try: try:
await self._device.refresh() await self._device.refresh()
self._attr_available = True
except ( except (
aiosomecomfort.SomeComfortError, aiosomecomfort.SomeComfortError,
OSError, OSError,
@ -428,8 +429,10 @@ class HoneywellUSThermostat(ClimateEntity):
try: try:
await self._data.client.login() await self._data.client.login()
except aiosomecomfort.SomeComfortError: except aiosomecomfort.AuthError:
self._attr_available = False self._attr_available = False
await self.hass.async_create_task( await self.hass.async_create_task(
self.hass.config_entries.async_reload(self._data.entry_id) self.hass.config_entries.async_reload(self._data.entry_id)
) )
except aiosomecomfort.SomeComfortError:
self._attr_available = False

View File

@ -6,5 +6,5 @@
"documentation": "https://www.home-assistant.io/integrations/honeywell", "documentation": "https://www.home-assistant.io/integrations/honeywell",
"iot_class": "cloud_polling", "iot_class": "cloud_polling",
"loggers": ["somecomfort"], "loggers": ["somecomfort"],
"requirements": ["aiosomecomfort==0.0.10"] "requirements": ["aiosomecomfort==0.0.11"]
} }

View File

@ -276,7 +276,7 @@ aioskybell==22.7.0
aioslimproto==2.1.1 aioslimproto==2.1.1
# homeassistant.components.honeywell # homeassistant.components.honeywell
aiosomecomfort==0.0.10 aiosomecomfort==0.0.11
# homeassistant.components.steamist # homeassistant.components.steamist
aiosteamist==0.3.2 aiosteamist==0.3.2

View File

@ -254,7 +254,7 @@ aioskybell==22.7.0
aioslimproto==2.1.1 aioslimproto==2.1.1
# homeassistant.components.honeywell # homeassistant.components.honeywell
aiosomecomfort==0.0.10 aiosomecomfort==0.0.11
# homeassistant.components.steamist # homeassistant.components.steamist
aiosteamist==0.3.2 aiosteamist==0.3.2