A
#https://www.home-assistant.io/components/telegram_bot/
#https://www.home-assistant.io/components/telegram_bot.polling/
telegram_bot:
- platform: polling
api_key: !secret telegram_api_key
# proxy_url: !secret telegram_proxy_url
# proxy_params:
# username: !secret telegram_proxy_username
# password: !secret telegram_proxy_password
allowed_chat_ids:
- 23213123
notify:
- name: Telegram Artem
platform: telegram
chat_id: 23213123
automation:
- alias: "HA Startup Notification"
initial_state: True
trigger:
- platform: homeassistant
event: start
action:
service: notify.telegram_artem
data:
message: "{{ '\u25B6\uFE0F' }} *Home Assistant* был запущен"