Need a little assistance with a simple(?) automation.
In my hallway I need my light to turn of after 10 minutes, after it has been turned on. Either by my door sensor or by a remote (maybe also by a PIR sensor in the future).
How would my automation look like if it’s to listen for the light to turn on?