Fix nexia fan and hold modes for XL824 thermostats (#34042)

* Fix nexia fan and hold modes for XL824 thermostats

* Update nexia to 0.9.0

* Update tests to reflect the modes that now come directly in
This commit is contained in:
J. Nick Koston authored and Paulus Schoutsen committed 2020-04-13 16:54:42 -07:00
1 parent bb60286ed9
commit 908e044db1
5 files changed
+8 -9

No files matched your search

+1 -2
View File
@@ -2,7 +2,6 @@
import logging
from nexia.const import (
FAN_MODES,
OPERATION_MODE_AUTO,
OPERATION_MODE_COOL,
OPERATION_MODE_HEAT,
@@ -192,7 +191,7 @@ class NexiaZone(NexiaThermostatZoneEntity, ClimateDevice):
@property
def fan_modes(self):
"""Return the list of available fan modes."""
return FAN_MODES
return self._thermostat.get_fan_modes()
@property
def min_temp(self):
+1 -1
View File
@@ -1,7 +1,7 @@
{
"domain": "nexia",
"name": "Nexia",
"requirements": ["nexia==0.8.2"],
"requirements": ["nexia==0.9.1"],
"codeowners": ["@ryannazaretian", "@bdraco"],
"documentation": "https://www.home-assistant.io/integrations/nexia",
"config_flow": true