mirror of
https://github.com/steku/ha_cercadian_alarm.git
synced 2026-02-25 19:01:49 +00:00
or conditions for schedule and person
This commit is contained in:
@ -199,9 +199,13 @@ 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: or
|
||||||
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: !input workday_sensor
|
entity_id: !input workday_sensor
|
||||||
state: "on"
|
state: "on"
|
||||||
|
- condition: or
|
||||||
|
conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: !input person_sensor
|
entity_id: !input person_sensor
|
||||||
state: "home"
|
state: "home"
|
||||||
|
|||||||
Reference in New Issue
Block a user