Hi there,
I am trying to set up a new telegram notification. Previously I had it working with the bot itself, but now I want to include it in a group so other people can see it too. Here is my configuration
telegram_bot:
- platform: polling
api_key: “7XXXXXXXXXXXXXXXXX4”
allowed_chat_ids:- 2XXXXXXX9
- -4XXXXXXXX0
notify:
- platform: telegram
name: “withgroup”
chat_id: -4XXXXXXXX0 - platform: telegram
name: “withme”
chat_id: 2XXXXXXX9
if I trigger
action: notify.withme
data:
message: not
I works perfect. However if I trigger:
action: notify.withgroup
data:
message: not
It doesn’t work and in the logs it shows:
homeassistant.exceptions.ServiceValidationError: Invalid chat IDs
Note that if I call the url https://api.telegram.org/bot7XXXXXXXXXXXXXXXXX4/sendMessage?chat_id=-4XXXXXXXX0&text=not
it works perfect so the chatId is correct.
Has anybody a clue of what may be going on?