climate.programmable_thermostat icon indicating copy to clipboard operation
climate.programmable_thermostat copied to clipboard

Heaters not shut down when I turn the climate off

Open gdistasi opened this issue 4 years ago • 4 comments

I have the following configuration.... the problem is that when I click on the off button, the climate object turns off, but the switch (the sonoff) is not set to off (so the heater stays on). Maybe I am missing something big here. With the normal generic_thermostat this does not happen. Thanks.

  • platform: programmable_thermostat name: Bagno heater:
    • switch.sonoff***** actual_temp_sensor: sensor.temperature_lumi_**** min_temp: 10 max_temp: 25 target_temp_sensor: sensor.target_temperature_Bagno tolerance: 0.2 hvac_options: 7 auto_mode: all min_cycle_duration: seconds: 5

gdistasi avatar Dec 21 '21 02:12 gdistasi

Btw, the same does not happen if I decrease the temperature by hand. In that case the heater does turn off. Strange, it seems that just turning off the climate makes it forget about the heaters. btw, sorry for the formatting of the configuration, which is messed up here, but it's not the issue.

gdistasi avatar Dec 21 '21 02:12 gdistasi

I did a bit of debugging and discovered it may be due to the min_cycle_time handling. If I remove it from the configuration file everything works as normal.

gdistasi avatar Dec 21 '21 04:12 gdistasi

Ciao It could be.. Did you checked if after the min_cycle_duration time the heater is turned off?

MapoDan avatar Apr 10 '22 17:04 MapoDan

I can confirm this bug, and it does not help to wait the min_cycle_duration. It does not turn off

flippz avatar Nov 19 '22 21:11 flippz