Closed greentux closed 9 months ago
Hi,
According to the telegram integration page the telegram data
field has to include at least the message
field.
Your action should look like this (the title
is optional):
action:
service: notify.telegram_myhome
data:
title: "ETA error triggered"
message: "The following error has been triggered: {{trigger.event.data.text}}"
Here is a working example automation using the system_log service:
alias: ETA Error Event
description: ""
trigger:
- platform: event
event_type: eta_webservices_error_detected
condition: []
action:
- service: system_log.write
data:
level: warning
message: "ETA Event triggered: {{trigger.event.data.text}}"
mode: single
Oh, shame on me... You are right. I looked at the false end... thanks a lot!
You're welcome!
Hi, I get the event data
but how can I use the data fields in automatisation?
has problems with the data dict...
any hints? thanks