Have an automation that sends me the state in *.gif of a sensor.
This sensor has two values to make the problems while VORWÄRMEN and ZÜNDEN.
Use telegram with telegram_bot.send_video and makes a mistake with umlauts for these 2 values.
- service: telegram_bot.send_video
data_template:
file: >
{% set state = states('sensor.zst') %}
{{ '/config/www/icons/zustand/{}.gif'.format(state) }}
is there a solution to my problem? without template sensor to change the value?
Error sending file: Wrong url host. Args: (3xxIDxx0, <_io.BufferedReader name='/config/www/icons/zustand/Zünden.gif'>), kwargs: {'caption': None, 'parse_mode': 'HTML', 'disable_notification': False, 'disable_web_page_preview': None, 'reply_to_message_id': None, 'reply_markup': None, 'timeout': None}
and
Error sending file: Wrong url host. Args: (3xxIDxx0, <_io.BufferedReader name='/config/www/icons/zustand/Vorwärmen.gif'>), kwargs: {'caption': None, 'parse_mode': 'HTML', 'disable_notification': False, 'disable_web_page_preview': None, 'reply_to_message_id': None, 'reply_markup': None, 'timeout': None}
Thanks for Help!