I just started with Telegram, I’m using it to notify me when a door sensor is left open. In testing it with one for the doors it works as expected, however, when I test it against another door it will not send the notification.
below is my configuration, I’m on hassbian 0.52.1
telegram_bot:
- platform: polling
api_key: API KEY
allowed_chat_ids:
- ChatBotID_1
notify:
- name: Telegram
platform: telegram
chat_id: ChatBotID_1
alert:
yard_door:
name: The yard door is open
done_message: The yard door is open
entity_id: binary_sensor.rear_yard_door_opened
state: 'on'
repeat: 1
can_acknowledge: True
skip_first: False
notifiers:
- Telegram
alert 2:
garage_door:
name: The garage door is open
done_message: The the garage door is open
entity_id: binary_sensor.garage_door_entrance_opened
state: 'on'
repeat: 1
can_acknowledge: True
skip_first: False
notifiers:
- Telegram
The yard_door alert works perfectly but the garage_door doesn’t send the alert to telegram, the sensor is working as I can see it go from “closed” to “open”. I tested this setup under with Pushbullet and it works fine.
What am I doing wrong?