Simple delay in automation doesn't work right

I have an input_boolean that I use as a flag for something. When it gets turned on, it should turn itself off after 5 minutes. The problem is, the delay in the automation is not delaying 5 minutes. It delays a few seconds and turns it off no matter what I have in there. Anyone know why the delay is not working?

Here is the automation:

It looks good for me. Maybe it got turned off by something else? You can take a look in the logbook. There should be an entry what toggled the boolean like this:

1 Like

Thanks for the suggestion. I had an automation that was meant for something else was turning off this one by mistake. Looking at that log helped out a lot, thanks for the suggestion.

1 Like