Created
August 20, 2021 04:54
-
-
Save bessarabov/480bd37bed4d79011fe678ac2934cd2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure a default setup of Home Assistant (frontend, api, etc) | |
default_config: | |
# Text to speech | |
tts: | |
- platform: google_translate | |
group: !include groups.yaml | |
script: !include scripts.yaml | |
scene: !include scenes.yaml | |
telegram_bot: | |
- platform: polling | |
api_key: !secret secret_telegram_token | |
parse_mode: html | |
allowed_chat_ids: | |
- 120351727 | |
- -510886860 | |
notify: | |
- name: bessarabov | |
platform: telegram | |
chat_id: 120351727 | |
- name: telegram_group | |
platform: telegram | |
chat_id: -510886860 | |
automation: | |
- trigger: | |
- platform: event | |
event_type: telegram_command | |
event_data: | |
command: /двор | |
action: | |
- service: system_log.write | |
data: | |
message: "action" | |
- service: notify.bessarabov | |
data: | |
message: "to personal message" | |
- service: notify.telegram_group | |
data: | |
message: "to group" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment