Add #602 - implement a max_on_percent setting

This commit is contained in:
Jean-Marc Collin
2024-11-18 08:09:00 +00:00
parent 14bb7474ae
commit 5b64a8fba0
3 changed files with 6 additions and 3 deletions

View File

@@ -921,7 +921,10 @@ class ThermostatOverClimate(BaseThermostat[UnderlyingClimate]):
# Stop here
return False
elif action == AUTO_START_STOP_ACTION_ON:
elif (
action == AUTO_START_STOP_ACTION_ON
and self.hvac_off_reason == HVAC_OFF_REASON_AUTO_START_STOP
):
_LOGGER.info(
"%s - Turning ON the Vtherm due to auto-start-stop conditions", self
)