Closed LazyT closed 1 month ago
Hello @LazyT,
Thank you for the complete report ! I have all information to do a complete response at the first time.
I just answered exactly the same case today. This is because you choose to only change the preset when open window is detected. I see that in your state:
window_action: window_frost_temp
If I ignore the preset change from Scheduler, the preset will be restored to the value BEFORE window was detected as open and you will not be satisfied more.
I have to make a choice:
I choose the 1. which seems to be not frequent and generate less unsatisfaction from a user point of view.
Note: I cannot use the save_preset attribute because it is used potentially in other context and some side effect are still possible.
I hope you understand.
I close the issue as I will not fix it. Don't hesitate to reopen if you think I'm wrong
Version of the custom_component
6.4.1.beta1
Configuration
My VTherm attributes are the following:
Describe the bug
Scheduler overrides the window open state and underlying starts heating (like #537).
I'm trying to:
VTherm should be controlled by scheduler to set eco/comfort preset but respect the window sensor open/close state.
And I expect:
If the scheduler kicks in it should set the VTherm preset. But if VTherm detects an open window it should not set the underlying to start heating.
But I observe this:
Scheduler sets new preset for VTherm, Window is detected as open, underlying thermostat starts heating with new preset.
Close and open the window sets the underlying correct back to frost (or off).
BTW: since 6.3.0 the version is not increased. Under integration it shows 6.3.0 and under HACS 6.4.1? So I'm not sure what is correct.
I'm new to HA and VTherm so maybe I configured something wrong. But until the scheduler kicks in everything works as expected...
Thanks!