diff --git a/custom_components/midea_dehumidifier_lan/climate.py b/custom_components/midea_dehumidifier_lan/climate.py index 6c025b1..1ab5362 100644 --- a/custom_components/midea_dehumidifier_lan/climate.py +++ b/custom_components/midea_dehumidifier_lan/climate.py @@ -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):