diff --git a/atom.xml b/atom.xml index c4661b1a45..388bef15f4 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
Currently tested but not working models:
If your model is not on the list then give it a test, if everything works correctly then add it to the list on GitHub. diff --git a/components/telegram_bot/index.html b/components/telegram_bot/index.html index 8b996b2135..56b34c4cc7 100644 --- a/components/telegram_bot/index.html +++ b/components/telegram_bot/index.html @@ -122,6 +122,20 @@ entity_id: switch.vision_zm1601eu5_battery_operated_siren_switch_9_0 +
An example to show the use of event_data in the action:
+- alias: 'Kitchen Telegram Speak'
+ trigger:
+ platform: event
+ event_type: telegram_command
+ event_data:
+ command: '/speak'
+ action:
+ - service: notify.kitchen_echo
+ data_template:
+ message: >
+ Message from {{ trigger.event.data["from_first"] }}. {% for state in trigger.event.data["args"] %} {{ state }} {% endfor %}
+
+