mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-15 17:12:59 +00:00
Initial telegram config
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -12,5 +12,4 @@ guest_mode:
|
||||
|
||||
domestina:
|
||||
name: Domestina Time
|
||||
initial: off
|
||||
icon: mdi:broom
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user