I want a in my action part a wait for trigger "or a wait for another trigger. is that possible ?
alias: Badkamer_vochtigheid te hoog
description: ""
trigger:
- platform: state
to: "off"
entity_id: binary_sensor.badkamer_bewegingsmelder_occupancy
for:
hours: 0
minutes: 5
seconds: 0
condition:
- condition: numeric_state
entity_id: sensor.badkamer_vochtigheid
above: 76
action:
- service: cover.open_cover
data: {}
target:
entity_id: cover.3
- wait_for_trigger:
- platform: numeric_state
entity_id: sensor.badkamer_vochtigheid
below: 73
- platform: state
to: "on"
entity_id:
- binary_sensor.badkamer_bewegingsmelder_occupancy
for:
hours: 0
minutes: 2
seconds: 0
- service: cover.close_cover
data: {}
target:
entity_id: cover.3
mode: single