mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
Fix issue when setting boost preset for a turned off Netatmo thermostat (#47275)
This commit is contained in:
parent
1926941d8e
commit
d20659d2ee
@ -352,6 +352,9 @@ class NetatmoThermostat(NetatmoBase, ClimateEntity):
|
||||
|
||||
def set_preset_mode(self, preset_mode: str) -> None:
|
||||
"""Set new preset mode."""
|
||||
if self.hvac_mode == HVAC_MODE_OFF:
|
||||
self.turn_on()
|
||||
|
||||
if self.target_temperature == 0:
|
||||
self._home_status.set_room_thermpoint(
|
||||
self._id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user