custom-components / climate.programmable_thermostat

Programmable thermostat that let you have a smart thermostat on budget.
The Unlicense
112 stars 35 forks source link

Heaters not shut down when I turn the climate off #52

Open gdistasi opened 2 years ago

gdistasi commented 2 years ago

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.

gdistasi commented 2 years ago

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 commented 2 years ago

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.

MapoDan commented 2 years ago

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

flippz commented 1 year ago

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