Skip to content

Instantly share code, notes, and snippets.

@bessarabov
Created August 20, 2021 04:54
Show Gist options
  • Save bessarabov/480bd37bed4d79011fe678ac2934cd2d to your computer and use it in GitHub Desktop.
Save bessarabov/480bd37bed4d79011fe678ac2934cd2d to your computer and use it in GitHub Desktop.
# 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