Skip to content

Commit

Permalink
Fix set_present pilote v2
Browse files Browse the repository at this point in the history
  • Loading branch information
cyr-ius committed Dec 7, 2024
1 parent fa044af commit 1ef2859
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/heatzy/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,12 +494,12 @@ class HeatzyPiloteV2Thermostat(HeatzyThermostat):
async def async_turn_on(self) -> None:
"""Turn device on."""
await self._derog_mode_off()
await self.set_preset_mode(PRESET_COMFORT)
await self.async_set_preset_mode(PRESET_COMFORT)

async def async_turn_off(self) -> None:
"""Turn device on."""
await self._derog_mode_off()
await self.set_preset_mode(self.entity_description.stop)
await self.async_set_preset_mode(self.entity_description.stop)

async def async_turn_auto(self) -> None:
"""Turn device to Program mode."""
Expand Down

0 comments on commit 1ef2859

Please sign in to comment.