Fix comparison
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user