Yes, it did work after removing that; however, I want the light to stay on for a given amount of time and then go off. I was starting with 5 minutes.
After removing the five minutes, I set up another automation that turns the light off after five minutes of no motion and that works, but not the way I want it to. If the light is off and it detects motion I want it to go on for five minutes and then go off. If the light is on, I want it to stay on even after detecting motion and then no longer detecting it.
How do I set that up? I was going to trigger the light for five minutes with a condition that the light was off. But with a separate automation that turns it off that condition won’t work because it will be on because of the motion automation.
I then thought maybe I would have the motion automation turn it on to a weird brightness setting, like 23% and have a condition that only turns the light off if it is at 23%. I would be unlikely to manually turn it on to that setting. The problem is that I can’t find brightness level as a condition.
Thoughts?