Is there a way to have the “text” in the event_data of the ‘Telegram_text’ to accept multiple inputs? Like an OR condition? I do not like to use the Telegram command
The objective of doing this is to enable certain text to be processed for action
trigger:
platform: event
event_type: telegram_text
event_data:
text: aircon off
thanks. However, I also used “conditions” to filter out the text. This way I need not worry about the text that are not expected
trigger:
platform: event
event_type: telegram_text
condition:
- condition: template
value_template: > # Should return true or false
{% if condition - put the logic like text starts with expected words %}
true
{% else %}
false
{% endif %}