Simple automation maybe?

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?

/Brygger

Have you looked through the Cookbook examples in the documentation?

This one looks like it may be a good starting point for your requirements:

Bummer :slight_smile:

Had missed out on that one which is completely describing my situation. Thanks