Skip to content

Instantly share code, notes, and snippets.

@bessarabov
Created August 19, 2021 20:06
Show Gist options
  • Save bessarabov/9a873b1f9679caf9ffcf277ac9d95950 to your computer and use it in GitHub Desktop.
Save bessarabov/9a873b1f9679caf9ffcf277ac9d95950 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
automation: !include automations.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
notify:
- name: bessarabov
platform: telegram
chat_id: 120351727
automation:
- trigger:
- platform: event
event_type: telegram_command
event_data:
command: /двор
action:
- service: system_log.write
data:
message: "action"
- service: notify.bessarabov
data:
message: "action"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment