mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix climate on/off in nexia (#119254)
This commit is contained in:
parent
a28f5baeeb
commit
38cd84fa5f
@ -388,12 +388,12 @@ class NexiaZone(NexiaThermostatZoneEntity, ClimateEntity):
|
||||
|
||||
async def async_turn_off(self) -> None:
|
||||
"""Turn off the zone."""
|
||||
await self.async_set_hvac_mode(OPERATION_MODE_OFF)
|
||||
await self.async_set_hvac_mode(HVACMode.OFF)
|
||||
self._signal_zone_update()
|
||||
|
||||
async def async_turn_on(self) -> None:
|
||||
"""Turn on the zone."""
|
||||
await self.async_set_hvac_mode(OPERATION_MODE_AUTO)
|
||||
await self.async_set_hvac_mode(HVACMode.AUTO)
|
||||
self._signal_zone_update()
|
||||
|
||||
async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user