Fix comparison
This commit is contained in:
@@ -436,7 +436,7 @@ automation:
|
||||
- if:
|
||||
- condition: template
|
||||
value_template: >-
|
||||
{{ trigger.payload_json.after.label == 'Person' }}
|
||||
{{ trigger.payload_json.after.label|lower == 'person' }}
|
||||
|
||||
then:
|
||||
- service: persistent_notification.create
|
||||
|
||||
Reference in New Issue
Block a user