mirror of
https://github.com/steku/ha_cercadian_alarm.git
synced 2025-12-12 17:42:14 +00:00
Compare commits
1 Commits
conditions
...
2025.04.29
| Author | SHA1 | Date | |
|---|---|---|---|
| 7181024497 |
@ -38,7 +38,7 @@ blueprint:
|
||||
filter:
|
||||
- domain:
|
||||
- binary_sensor
|
||||
multiple: true
|
||||
multiple: false
|
||||
person_sensor:
|
||||
name: 👤 Person Sensor
|
||||
description: Select the person sensor so that the alarm will only run when you are home.
|
||||
@ -47,7 +47,7 @@ blueprint:
|
||||
filter:
|
||||
- domain:
|
||||
- person
|
||||
multiple: true
|
||||
multiple: false
|
||||
alarm_script:
|
||||
name: 📄 Script to trigger
|
||||
description: Light Alarm Script
|
||||
@ -199,16 +199,12 @@ 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"
|
||||
- condition: state
|
||||
entity_id: !input workday_sensor
|
||||
state: "on"
|
||||
- condition: state
|
||||
entity_id: !input person_sensor
|
||||
state: "home"
|
||||
action:
|
||||
- choose:
|
||||
- conditions: []
|
||||
|
||||
Reference in New Issue
Block a user