Remove the outer double-quotes from the template. They’re not required because you are using a line-continuation character >- to indicate the template begins on the next line.
It triggers the moment the value of current_temperature decreases below the threshold value of input_number.heat_number and stays below it for at least 10 minutes. In other words, it triggers 10 minutes after current_temperature falls below the input_number’s value.
The screenshot you posted shows you have the template on the same line as the value_template option but you do not have the template wrapped in double-quotes. That’s incorrect.
Then it won’t trigger if the temperature is already below the input_number’s value.
It will trigger only when the template changes from false to true. That means only at the moment the value of current_temperature decreases below the value of the input_number.
So the answer is i need to push the temp up first to meet the desired temp then monitor it? or is there a way to make it check at the beginning of the time frame?
The template must change from false to true in order to trigger. For it to report false, the value of current_temperature must be higher than the value of the input_number. Do whatever it takes to make that happen, perhaps by just lowering the value of the input_number. Then make the template report true. The easiest way would be to increase the value of the input_number.
At the moment when the template changes from reporting false to reporting true that’s when the Template Trigger will trigger the automation (be sure the time when you perform the test is within the time range you specified in the Time Condition). For testing purposes, you may want to simply remove, or disable, the Time Condition.
yes i think it is straight in my head. I can get it to turn my lights on with a different style of automation.
So in my head i start three automations one that forces the heating on if below a temp then the one we have been working on and another to turn it off. this way one will force the temp change and the other two will manage it during the given time period.
Thank you so much I kind of had it and just needed steering to a different way of thinking.