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