Basically the first one starts the heating at several specified hours and keeps it on for 2 hours then switches it off. If the temperature reaches the target temperature plus some hot tolerance the heating switches to Idle from the climate integration. This automation works as expected.
The second automation I made so that I can get a heating boost in-between the heating schedule. I have created an input number with a slider that moves in steps of 30 mins. And if I press on the climate heating button, this is registered as a change of state for the second automation which starts the heating for the amount of time set in the input number.
This second automation gives me problems. I looked at the logs and I saw that it triggered by itself several times during the night and I cannot explain it. Is there a way I can ensure that this automation triggers only when I want it to?
Set the heating boost to a value. Then press heat button to turn on heating for the desired time.
I figured that the weird triggering happens because of the trigger I used, i.e. the state change but I do not understand why this happens. Also I don’t know what other trigger to use for this automation.
I wanted to make it as simple as possible to get a heating boost.
An idea that I just had is to condition the trigger to look for a value change of the Heating Boost input_number. Make it so that iti initial value is always 0, then when I increase to 30 or 60, the heating starts.
Is there another way?
P.S.: I would still like to know what changes the state of the climate integration during the night. In my mind it shouldn’t happen.