home-assistant-config/configuration.yaml

102 lines
2.3 KiB
YAML
Raw Permalink Normal View History

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
## Text to speech
tts:
- platform: google_translate
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
## Persons
person: !include persons.yaml
## Devices
vacuum:
- platform: xiaomi_miio
host: !secret xiaomi_vacuum1_ip
token: !secret xiaomi_vacuum1_token
# Aqara Gateway 2
xiaomi_aqara:
gateways:
- mac: !secret xiaomi_gateway1_mac
key: !secret xiaomi_gateway1_key
host: !secret xiaomi_gateway1_host
# TODO: acquire key from AC partner
# SEE: https://www.home-assistant.io/integrations/xiaomi_aqara/#connection-problem
# - mac: !secret xiaomi_gateway2_mac
# key: !secret xiaomi_gateway2_key
mikrotik:
- host: !secret mikrotik_router1_ip
username: !secret mikrotik_router1_username
password: !secret mikrotik_router1_password
# Wake on LAN
wake_on_lan:
## Services
media_player:
- platform: emby
host: !secret emby_media_ip
api_key: !secret emby_media_api_key
- platform: samsungtv
host: !secret samsung_tv_media_ip
name: !secret samsung_tv_media_name
timeout: 15
mac: !secret samsung_tv_media_mac
- platform: webostv
host: !secret lg_tv1_media_ip
name: !secret lg_tv1_media_name
filename: webostv1.conf
timeout: 5
- platform: webostv
host: !secret lg_tv2_media_ip
name: !secret lg_tv2_media_name
filename: webostv2.conf
timeout: 5
upnp:
port_mapping: false
# Transmission torrent daemon
#transmission:
# host: !secret transmission_torrent_host
# username: !secret transmission_torrent_username
# password: !secret transmission_torrent_password
# #turtle_mode: true
# #monitored_conditions:
# #- current_status
# #- download_speed
# #- upload_speed
# #- active_torrents
# #- total_torrents
## Sensors
sensor:
- platform: uptime
- platform: version
- platform: cpuspeed
## Notifications
# Platforms
# Uncomment when access problem will be solved
#telegram_bot:
# - platform: polling
# api_key: !secret telegram_bot_key
# allowed_chat_ids:
# - !secret telegram_bot_chat_id
# Notifiers
#notify:
# - name: test
# platform: telegram
# chat_id: !secret telegram_bot_chat_id