1 Commits

Author SHA1 Message Date
d8579d953f or conditions for schedule and person 2025-04-29 15:40:29 -04:00

View File

@ -199,12 +199,16 @@ trigger:
entity_id: !input alarm_start_time entity_id: !input alarm_start_time
offset: !input offset_from_start_time offset: !input offset_from_start_time
condition: condition:
- condition: state - condition: or
entity_id: !input workday_sensor conditions:
state: "on" - condition: state
- condition: state entity_id: !input workday_sensor
entity_id: !input person_sensor state: "on"
state: "home" - condition: or
conditions:
- condition: state
entity_id: !input person_sensor
state: "home"
action: action:
- choose: - choose:
- conditions: [] - conditions: []