mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
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:
parent
20aa089243
commit
f965fb6350
@ -2,7 +2,6 @@
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from nexia.const import (
|
from nexia.const import (
|
||||||
FAN_MODES,
|
|
||||||
OPERATION_MODE_AUTO,
|
OPERATION_MODE_AUTO,
|
||||||
OPERATION_MODE_COOL,
|
OPERATION_MODE_COOL,
|
||||||
OPERATION_MODE_HEAT,
|
OPERATION_MODE_HEAT,
|
||||||
@ -192,7 +191,7 @@ class NexiaZone(NexiaThermostatZoneEntity, ClimateDevice):
|
|||||||
@property
|
@property
|
||||||
def fan_modes(self):
|
def fan_modes(self):
|
||||||
"""Return the list of available fan modes."""
|
"""Return the list of available fan modes."""
|
||||||
return FAN_MODES
|
return self._thermostat.get_fan_modes()
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def min_temp(self):
|
def min_temp(self):
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"domain": "nexia",
|
"domain": "nexia",
|
||||||
"name": "Nexia",
|
"name": "Nexia",
|
||||||
"requirements": ["nexia==0.8.2"],
|
"requirements": ["nexia==0.9.1"],
|
||||||
"codeowners": ["@ryannazaretian", "@bdraco"],
|
"codeowners": ["@ryannazaretian", "@bdraco"],
|
||||||
"documentation": "https://www.home-assistant.io/integrations/nexia",
|
"documentation": "https://www.home-assistant.io/integrations/nexia",
|
||||||
"config_flow": true
|
"config_flow": true
|
||||||
|
@ -921,7 +921,7 @@ netdisco==2.6.0
|
|||||||
neurio==0.3.1
|
neurio==0.3.1
|
||||||
|
|
||||||
# homeassistant.components.nexia
|
# homeassistant.components.nexia
|
||||||
nexia==0.8.2
|
nexia==0.9.1
|
||||||
|
|
||||||
# homeassistant.components.nextcloud
|
# homeassistant.components.nextcloud
|
||||||
nextcloudmonitor==1.1.0
|
nextcloudmonitor==1.1.0
|
||||||
|
@ -356,7 +356,7 @@ nessclient==0.9.15
|
|||||||
netdisco==2.6.0
|
netdisco==2.6.0
|
||||||
|
|
||||||
# homeassistant.components.nexia
|
# homeassistant.components.nexia
|
||||||
nexia==0.8.2
|
nexia==0.9.1
|
||||||
|
|
||||||
# homeassistant.components.nsw_fuel_station
|
# homeassistant.components.nsw_fuel_station
|
||||||
nsw-fuel-api-client==1.0.10
|
nsw-fuel-api-client==1.0.10
|
||||||
|
@ -18,8 +18,8 @@ async def test_climate_zones(hass):
|
|||||||
"current_temperature": 22.8,
|
"current_temperature": 22.8,
|
||||||
"dehumidify_setpoint": 45.0,
|
"dehumidify_setpoint": 45.0,
|
||||||
"dehumidify_supported": True,
|
"dehumidify_supported": True,
|
||||||
"fan_mode": "auto",
|
"fan_mode": "Auto",
|
||||||
"fan_modes": ["auto", "on", "circulate"],
|
"fan_modes": ["Auto", "On", "Circulate"],
|
||||||
"friendly_name": "Nick Office",
|
"friendly_name": "Nick Office",
|
||||||
"humidify_supported": False,
|
"humidify_supported": False,
|
||||||
"humidity": 45.0,
|
"humidity": 45.0,
|
||||||
@ -53,8 +53,8 @@ async def test_climate_zones(hass):
|
|||||||
"current_temperature": 25.0,
|
"current_temperature": 25.0,
|
||||||
"dehumidify_setpoint": 50.0,
|
"dehumidify_setpoint": 50.0,
|
||||||
"dehumidify_supported": True,
|
"dehumidify_supported": True,
|
||||||
"fan_mode": "auto",
|
"fan_mode": "Auto",
|
||||||
"fan_modes": ["auto", "on", "circulate"],
|
"fan_modes": ["Auto", "On", "Circulate"],
|
||||||
"friendly_name": "Kitchen",
|
"friendly_name": "Kitchen",
|
||||||
"humidify_supported": False,
|
"humidify_supported": False,
|
||||||
"humidity": 50.0,
|
"humidity": 50.0,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user