Fix offset formatting

This commit is contained in:
shbatm
2025-04-16 12:56:04 -05:00
committed by GitHub
parent 1b34146670
commit 938f68ec39

View File

@ -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