Hi, using a state condition in a script, including the number of seconds the entity should be in a particular state (FOR-statement).
However, I would like to use a template in this FOR-statement. See the code below. Including a template like this generates an error however. Are templates indeed not supported in for-statements? Is there another way to go about this?
Thanks @Didgeridrew@AllHailJ for your suggestion, unfortunately this does not help. When checking the conf, HA still complains that scripts could not be set up.