Bump nexia to 2.0.6 (#81474)

* Bump nexia to 2.0.6

- Marks thermostat unavailable when it is offline

* is property
This commit is contained in:
J. Nick Koston 2022-11-05 09:55:43 -05:00 committed by GitHub
parent 83c6a7e18b
commit b313f37946
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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}"
)
@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):
"""Base class for nexia devices attached to a thermostat."""

View file

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

View file

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

View file

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