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

@ -127,7 +127,7 @@ script:
{{ states('input_number.wakeup_lights_fade_day') }}
{% endif %}
- choose:
- conditions: "{{ wait.trigger == none }}"
- conditions: "{{ wait.trigger == 'none' or wait.trigger.idx is undefined }}"
sequence:
- service: input_select.select_option
target: