Fix comparison

This commit is contained in:
2023-06-16 12:54:52 -07:00
parent b9e1fff69f
commit b036708350

View File

@@ -436,7 +436,7 @@ automation:
- if: - if:
- condition: template - condition: template
value_template: >- value_template: >-
{{ trigger.payload_json.after.label == 'Person' }} {{ trigger.payload_json.after.label|lower == 'person' }}
then: then:
- service: persistent_notification.create - service: persistent_notification.create