I want to turn on a light as I come home (enter zone)
Then it waits until I open the front door (sensor)
and then waits for 1min, then turns off.
I can’t find a ‘wait for sensor’ type action. Is there one?
I want to turn on a light as I come home (enter zone)
Then it waits until I open the front door (sensor)
and then waits for 1min, then turns off.
I can’t find a ‘wait for sensor’ type action. Is there one?
something like this:
action:
[...]
- wait_for_trigger:
- platform: state
entity_id:
- binary_sensor.front_door_contact
from: 'off'
to: 'on'
you’ll need to change the binary_sensor
to your own and you may not need the from:
Thanks. I couldn’t see that before, but once I type it in the UI works with it too!
I end up with this setup:
With the helpers they are
Sorry, not sure what you are looking for right now.
Are you simply sharing your flow or is there a question?
No question just trying out my flow. Thanks