Hi
I would like to turn on a lampe with a time out cad tu turn off after 3 min
Do you you how can I set it up ?
Thanks in advance
Lynx
Hi
I would like to turn on a lampe with a time out cad tu turn off after 3 min
Do you you how can I set it up ?
Thanks in advance
Lynx
If you want the light to turn off after 3 minutes no matter what triggered it to turn on, create an automation with a trigger of the light turning on for 3 minutes and an action to turn the light off. Something like this:
description: ""
mode: single
triggers:
- trigger: state
entity_id:
- light.attic_light
to:
- "on"
for:
hours: 0
minutes: 3
seconds: 0
conditions: []
actions:
- action: light.turn_off
metadata: {}
data: {}
target:
entity_id: light.attic_light
If you want that 3 minute timer only sometimes, then in whatever automation triggers the light to turn on, look at the wait for time to pass action. At the end of the automation you can wait for 3 minutes and then turn the light off.
Hi Kyle
I found this solution When … then - delay: minutes: 30
Thanks for your help