Time off automation after manual on

hey guys

hoping thins is an easy one to help with.

Firstly, I am terrible at turning off the side alley light once it is manually switched on to put the bins out. is there a way i can configure that light to switch off after say 15 minutes once a manual activation has occurred? I dont want to set up a sensor out here as the local cats will be setting it off all night long.

Any help would be appreciated, or even just a point to a thread with this on. I have looked, but all I find seems to be triggered by a sensor or automation. I could figure out how to turn those off easily enough.

TIA

if you don’t have any other automations controlling your light, try this:
create an automation with a state trigger, entity: your light, from off to on, for 15 minutes.
and call light.turn_off service in action.

worked first time.

thanks Ahmed

1 Like