mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-16 22:06:50 +00:00
Changed "Conditional Messages" example (#15431)
The example has been fit to behave correctly keeping into account that message is an array
This commit is contained in:
parent
55f89879d1
commit
b5fb8283a4
@ -111,7 +111,7 @@ automation:
|
||||
event_type: system_log_event
|
||||
condition:
|
||||
condition: template
|
||||
value_template: '{{ "service" in trigger.event.data.message }}'
|
||||
value_template: '{{ "service" in trigger.event.data.message[0] }}'
|
||||
action:
|
||||
service: persistent_notification.create
|
||||
data:
|
||||
|
Loading…
x
Reference in New Issue
Block a user