Skip to content

Commit

Permalink
Merge pull request #113 from markosopcic/main
Browse files Browse the repository at this point in the history
fix temperature setting
  • Loading branch information
nbogojevic authored Jan 25, 2024
2 parents f9b235b + cb39db6 commit f03a895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/midea_dehumidifier_lan/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def set_hvac_mode(self, hvac_mode: HVACMode) -> None:
def set_temperature(self, **kwargs) -> None:
"""Set new target temperature."""
if kwargs.get(ATTR_TEMPERATURE):
self.apply("current_temperature", kwargs.get(ATTR_TEMPERATURE))
self.apply("target_temperature", kwargs.get(ATTR_TEMPERATURE))
if kwargs.get(ATTR_HVAC_MODE):
self.set_hvac_mode(kwargs.get(ATTR_HVAC_MODE))
if kwargs.get(ATTR_SWING_MODE):
Expand Down

0 comments on commit f03a895

Please sign in to comment.