Fix nexia permanent hold when cool and heat temps are within 2 degrees (#80297)
This commit is contained in:
parent
000e092096
commit
5b6e46e7b7
5 changed files with 6 additions and 6 deletions
|
@ -206,7 +206,7 @@ class NexiaZone(NexiaThermostatZoneEntity, ClimateEntity):
|
|||
"""Set the hvac run mode."""
|
||||
if run_mode is not None:
|
||||
if run_mode == HOLD_PERMANENT:
|
||||
await self._zone.call_permanent_hold()
|
||||
await self._zone.set_permanent_hold()
|
||||
else:
|
||||
await self._zone.call_return_to_schedule()
|
||||
if hvac_mode is not None:
|
||||
|
@ -399,7 +399,7 @@ class NexiaZone(NexiaThermostatZoneEntity, ClimateEntity):
|
|||
await self._zone.call_return_to_schedule()
|
||||
await self._zone.set_mode(mode=OPERATION_MODE_AUTO)
|
||||
else:
|
||||
await self._zone.call_permanent_hold()
|
||||
await self._zone.set_permanent_hold()
|
||||
await self._zone.set_mode(mode=HA_TO_NEXIA_HVAC_MODE_MAP[hvac_mode])
|
||||
|
||||
self._signal_zone_update()
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"domain": "nexia",
|
||||
"name": "Nexia/American Standard/Trane",
|
||||
"requirements": ["nexia==2.0.2"],
|
||||
"requirements": ["nexia==2.0.4"],
|
||||
"codeowners": ["@bdraco"],
|
||||
"documentation": "https://www.home-assistant.io/integrations/nexia",
|
||||
"config_flow": true,
|
||||
|
|
|
@ -62,7 +62,7 @@ class NexiaHoldSwitch(NexiaThermostatZoneEntity, SwitchEntity):
|
|||
if self._zone.get_current_mode() == OPERATION_MODE_OFF:
|
||||
await self._zone.call_permanent_off()
|
||||
else:
|
||||
await self._zone.call_permanent_hold()
|
||||
await self._zone.set_permanent_hold()
|
||||
self._signal_zone_update()
|
||||
|
||||
async def async_turn_off(self, **kwargs: Any) -> None:
|
||||
|
|
|
@ -1138,7 +1138,7 @@ nettigo-air-monitor==1.4.2
|
|||
neurio==0.3.1
|
||||
|
||||
# homeassistant.components.nexia
|
||||
nexia==2.0.2
|
||||
nexia==2.0.4
|
||||
|
||||
# homeassistant.components.nextcloud
|
||||
nextcloudmonitor==1.1.0
|
||||
|
|
|
@ -828,7 +828,7 @@ netmap==0.7.0.2
|
|||
nettigo-air-monitor==1.4.2
|
||||
|
||||
# homeassistant.components.nexia
|
||||
nexia==2.0.2
|
||||
nexia==2.0.4
|
||||
|
||||
# homeassistant.components.discord
|
||||
nextcord==2.0.0a8
|
||||
|
|
Loading…
Add table
Reference in a new issue