Hello. Could you please help me with the error I got? I try to set up Telegram notification but for some reason when I try to restart a server I get the following error (see a picture).
These are the configuration I use:
`
telegram_bot:
- platform: polling
api_key: **************************************************
allowed_chat_ids:- ID 26**********
- ID 38**********
notify:
-
name: telegram
platform: telegram
chat_id: 26********** -
name: telegram
platform: telegram
chat_id: 38**********
`
In a telegramm.yalm I put this:
`
script:
send_message_1:
alias: Sending via notification service
sequence:
- service: telegram
data:
message: "Current time - {{ states('sensor.time') }} . everything is ok"
`