Open HappyPlotter opened 8 months ago
Your scheduled turn-off triggers a cycle in the thermostat. The HVAC mode is strictly tied to the state of the switch entity you use. So when it is turned off after 10 minutes, the thermostat checks if the target temperature is reached and, if not, turn the switch back on. The keep alive is intended to check the need for heating or cooling and the act. The above state change triggers the same logic. So far, it works as intended. I suggest trying to control your switch only with the thermostat.
The problem with controlling only from thermostat, is that if HA goes down, the heater will continue to be turned on. That is the reason I added the timeout inside the shelly device. Keepalive works fine with the generic climate, it resets the 10 minute countdown. As a workaround I have made an automation that sends a "turn on" every minute to the shelly device and it is working fine
I have set the thermostat with keep_alive to control a shelly device. On the shelly I have set a timeout of 10 minutes and the keep_alive is set to 1 minute. The shelly device turns off after 10 minutes and then immediately turns on again. It seems like the keep_alive is not working which makes the heater cycle every 10 minutes