mirror of
https://github.com/steku/ha_cercadian_alarm.git
synced 2025-12-09 08:02:37 +00:00
Fix offset formatting
This commit is contained in:
@ -173,8 +173,9 @@ blueprint:
|
|||||||
source_url: https://github.com/steku/ha_cercadian_alarm/blob/main/parabolic_alarm.yaml
|
source_url: https://github.com/steku/ha_cercadian_alarm/blob/main/parabolic_alarm.yaml
|
||||||
trigger:
|
trigger:
|
||||||
- trigger: time
|
- trigger: time
|
||||||
at: !input alarm_start_time
|
at:
|
||||||
offset: "{{ -(alarm_length_1 + alarm_length_2 + alarm_length_3)*60 if complete_at_start_time else 0 }}"
|
entity_id: !input alarm_start_time
|
||||||
|
offset: "{{ -(alarm_length_1 + alarm_length_2 + alarm_length_3)*60 if complete_at_start_time else 0 }}"
|
||||||
condition:
|
condition:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: !input workday_sensor
|
entity_id: !input workday_sensor
|
||||||
|
|||||||
Reference in New Issue
Block a user