mirror of
https://github.com/steku/ha_cercadian_alarm.git
synced 2026-02-25 02:47:20 +00:00
or conditions for schedule and person
This commit is contained in:
@ -199,12 +199,16 @@ trigger:
|
||||
entity_id: !input alarm_start_time
|
||||
offset: !input offset_from_start_time
|
||||
condition:
|
||||
- condition: state
|
||||
entity_id: !input workday_sensor
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: !input person_sensor
|
||||
state: "home"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: !input workday_sensor
|
||||
state: "on"
|
||||
- condition: or
|
||||
conditions:
|
||||
- condition: state
|
||||
entity_id: !input person_sensor
|
||||
state: "home"
|
||||
action:
|
||||
- choose:
|
||||
- conditions: []
|
||||
|
||||
Reference in New Issue
Block a user