mirror of
https://github.com/steku/ha_cercadian_alarm.git
synced 2026-02-05 03:22:18 +00:00
conditions and advanced target
This commit is contained in:
@ -2,7 +2,6 @@ blueprint:
|
|||||||
name: Parabolic Alarm Automation
|
name: Parabolic Alarm Automation
|
||||||
description: Turn a light on based on a start time, whether it is a workday and whether a person is home. This is to match the sunrise and allow for a natural wake up.
|
description: Turn a light on based on a start time, whether it is a workday and whether a person is home. This is to match the sunrise and allow for a natural wake up.
|
||||||
domain: automation
|
domain: automation
|
||||||
condition:
|
|
||||||
input:
|
input:
|
||||||
pre_action:
|
pre_action:
|
||||||
name: 🎮 Pre Script Action
|
name: 🎮 Pre Script Action
|
||||||
@ -181,12 +180,6 @@ 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
|
|
||||||
entity_id: !input workday_sensor
|
|
||||||
state: "on"
|
|
||||||
- condition: state
|
|
||||||
entity_id: !input person_sensor
|
|
||||||
state: "home"
|
|
||||||
action:
|
action:
|
||||||
- choose:
|
- choose:
|
||||||
- conditions: []
|
- conditions: []
|
||||||
|
|||||||
Reference in New Issue
Block a user