I’m trying to automate some space heaters. If it’s after 20:30 and the room is under 72 turn on. The temperature is easy the time condition is driving me nuts.
There is no need for a time pattern trigger in this case… there are cases where it is appropriate, but otherwise it is a very inefficient way to trigger an automation.
@Didgeridrew solved your issue I guess, so just for the record. Your pattern triggers every hour at 5 minutes past the hour. If you want to trigger it every 5 minutes (which I think you are aiming for), you should use:
Thanks, I didn’t know that about time_pattern. My real problem is that the time condition was not triggering but it’s posable that me not understanding time pattern was the problem.
What he said
Next to that, it’s very likely that your automation did trigger at 5 past the hour, but that the condition didn’t match. If I am not mistaking, the last triggered isn’t updated if the conditions do not match. Traces, like it’s called since the last release, is your friend here. It shows you the last 5 times it triggered and everything afterwards.
A good starting point is to pay a visit to the docs in case you try something new. HA can do a lot, so even after the years I still pay a visit to check the correct syntax from time to time. You learn al the time and ones creativity is more often the limitation than HA is, so no worries