Initial telegram config

This commit is contained in:
2020-03-02 20:01:22 +02:00
parent 13f9d2651a
commit c9e0063eaf
3 changed files with 26 additions and 1 deletions
+15
View File
@@ -97,6 +97,13 @@ light: !include light.yaml
# https://www.home-assistant.io/integrations/media_extractor
media_extractor:
# https://www.home-assistant.io/integrations/notify
notify:
- name: telegram
platform: telegram
api_key: !secret telegram_token
chat_id: !secret telegram_georgi_chat_id
# https://www.home-assistant.io/integrations/scene
scene: !include scenes.yaml
@@ -117,6 +124,14 @@ sun:
# https://www.home-assistant.io/integrations/switch
switch: !include switch.yaml
# https://www.home-assistant.io/integrations/telegram
# https://www.home-assistant.io/integrations/telegram_chatbot
telegram_bot:
- platform: polling
api_key: !secret telegram_token
allowed_chat_ids:
- !secret telegram_georgi_chat_id
# https://www.home-assistant.io/integrations/tts
tts:
- platform: amazon_polly
-1
View File
@@ -12,5 +12,4 @@ guest_mode:
domestina:
name: Domestina Time
initial: off
icon: mdi:broom
+11
View File
@@ -72,3 +72,14 @@ say:
- service: sonos.restore
data_template:
entity_id: media_player.master_bedroom
telegram_say:
alias: Telegram Say
sequence:
- service: notify.telegram
data:
message: "commands"
data:
keyboard:
- "/ping, /alarm"
- "/siren"