Skip to content

Commit

Permalink
Update climate.py
Browse files Browse the repository at this point in the history
* Try fix turn on
  • Loading branch information
BenPru authored Sep 28, 2024
1 parent 473db53 commit e406830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/luxtronik/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ async def async_turn_off(self) -> None:
await self.async_set_hvac_mode(HVACMode.OFF)

async def async_turn_on(self) -> None:
await self.async_set_hvac_mode(self.entity_description.hvac_mode_mapping[LuxMode.automatic.value])
await self.async_set_hvac_mode(HVACMode[self.entity_description.hvac_mode_mapping[LuxMode.automatic.value]])

async def async_set_hvac_mode(self, hvac_mode: HVACMode) -> None:
"""Set new target hvac mode."""
Expand Down

0 comments on commit e406830

Please sign in to comment.