Bump nexia to 2.0.6 (#81474)

* Bump nexia to 2.0.6

- Marks thermostat unavailable when it is offline

* is property
pull/81784/head
J. Nick Koston 2022-11-05 09:55:43 -05:00 committed by Franck Nijhof
parent 42444872b9
commit c93c13d8bf
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
4 changed files with 8 additions and 3 deletions

View File

@ -80,6 +80,11 @@ class NexiaThermostatEntity(NexiaEntity):
self.hass, f"{SIGNAL_THERMOSTAT_UPDATE}-{self._thermostat.thermostat_id}" self.hass, f"{SIGNAL_THERMOSTAT_UPDATE}-{self._thermostat.thermostat_id}"
) )
@property
def available(self) -> bool:
"""Return True if thermostat is available and data is available."""
return super().available and self._thermostat.is_online
class NexiaThermostatZoneEntity(NexiaThermostatEntity): class NexiaThermostatZoneEntity(NexiaThermostatEntity):
"""Base class for nexia devices attached to a thermostat.""" """Base class for nexia devices attached to a thermostat."""

View File

@ -1,7 +1,7 @@
{ {
"domain": "nexia", "domain": "nexia",
"name": "Nexia/American Standard/Trane", "name": "Nexia/American Standard/Trane",
"requirements": ["nexia==2.0.5"], "requirements": ["nexia==2.0.6"],
"codeowners": ["@bdraco"], "codeowners": ["@bdraco"],
"documentation": "https://www.home-assistant.io/integrations/nexia", "documentation": "https://www.home-assistant.io/integrations/nexia",
"config_flow": true, "config_flow": true,

View File

@ -1135,7 +1135,7 @@ nettigo-air-monitor==1.4.2
neurio==0.3.1 neurio==0.3.1
# homeassistant.components.nexia # homeassistant.components.nexia
nexia==2.0.5 nexia==2.0.6
# homeassistant.components.nextcloud # homeassistant.components.nextcloud
nextcloudmonitor==1.1.0 nextcloudmonitor==1.1.0

View File

@ -825,7 +825,7 @@ netmap==0.7.0.2
nettigo-air-monitor==1.4.2 nettigo-air-monitor==1.4.2
# homeassistant.components.nexia # homeassistant.components.nexia
nexia==2.0.5 nexia==2.0.6
# homeassistant.components.discord # homeassistant.components.discord
nextcord==2.0.0a8 nextcord==2.0.0a8