I am trying to do some light automation, in have done an automation for turning om some ligt when there is movement and the light level is low enough.
I then have a script that turns the light off when there has been no movement for a time.
Problem is when i have turned on the light manually, then turn-off automation still turns the light off, and that is not always good
Is there a way to make the turn-off script have the other light automation as a condition ?
So that the turn-off automation only rund when the light automation runs.