Fix for 'none' triggers not being caught #87

This commit is contained in:
2023-05-05 13:56:01 -04:00
parent b3be3f3346
commit c72909e7ad
5 changed files with 11 additions and 10 deletions

View File

@ -220,7 +220,7 @@ script:
type: critical
title: HEY DUMBASS
message: YOU FORGOT TO TAKE YOUR MORNING MEDS!!!!!
- conditions: "{{ wait.trigger == 'none' }}"
- conditions: "{{ wait.trigger == 'none' or wait.trigger.idx is undefined }}"
sequence:
- service: input_datetime.set_datetime
target:
@ -328,7 +328,7 @@ script:
message: delayed for 30 minutes
entity_id: input_boolean.tony_night_meds_taken
domain: input_boolean
- conditions: "{{ wait.trigger == 'none' }}"
- conditions: "{{ wait.trigger == 'none' or wait.trigger.idx is undefined }}"
sequence:
- if:
- condition: and