diff --git a/homeassistant/components/plugwise/climate.py b/homeassistant/components/plugwise/climate.py index e83b76a76da..610ffa34d7c 100644 --- a/homeassistant/components/plugwise/climate.py +++ b/homeassistant/components/plugwise/climate.py @@ -4,6 +4,7 @@ from __future__ import annotations from typing import Any from homeassistant.components.climate import ( + ATTR_HVAC_MODE, ATTR_TARGET_TEMP_HIGH, ATTR_TARGET_TEMP_LOW, ClimateEntity, @@ -161,6 +162,9 @@ class PlugwiseClimateEntity(PlugwiseEntity, ClimateEntity): ): raise ValueError("Invalid temperature change requested") + if mode := kwargs.get(ATTR_HVAC_MODE): + await self.async_set_hvac_mode(mode) + await self.coordinator.api.set_temperature(self.device["location"], data) @plugwise_command