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