Skip to content

Commit

Permalink
Fix climate turn_on command
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexxIT committed Jan 14, 2024
1 parent 7fa3769 commit dec0e8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/yandex_station/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ async def async_set_hvac_mode(self, hvac_mode: HVACMode):
if hvac_mode == HVACMode.OFF:
await self.quasar.device_action(self.device["id"], "on", False)
elif self.hvac_instance is None:
await self.quasar.device_action(self.device["id"], "on", False)
await self.quasar.device_action(self.device["id"], "on", True)
else:
await self.quasar.device_action(
self.device["id"], self.hvac_instance, str(hvac_mode)
Expand Down

0 comments on commit dec0e8b

Please sign in to comment.