Files
sarah/configuration.yaml
T
2020-03-05 22:39:04 +02:00

153 lines
3.8 KiB
YAML

homeassistant:
name: Sarah
latitude: !secret home_latitude
longitude: !secret home_longitude
elevation: !secret home_elevation
unit_system: metric
time_zone: Europe/Sofia
packages: !include_dir_named packages
#
# ─── HOME ASSISTANT COMPONENTS ENABLED ──────────────────────────────────────────
#
# https://www.home-assistant.io/components/config
config:
# https://home-assistant.io/components/http
http:
login_attempts_threshold: 20
lovelace:
mode: yaml
# https://www.home-assistant.io/components/logbook
logbook:
# https://www.home-assistant.io/components/map
map:
# https://www.home-assistant.io/integrations/mobile_app
mobile_app:
# https://www.home-assistant.io/components/system_health
system_health:
# https://www.home-assistant.io/components/updater
updater:
# https://www.home-assistant.io/components/logger
logger:
default: warning
#
# ─── INTEGRATIONS ───────────────────────────────────────────────────────────────
#
# https://www.home-assistant.io/integrations/amcrest
amcrest:
- host: !secret amcrest_ip
username: !secret amcrest_username
password: !secret amcrest_password
resolution: low
scan_interval: 5
binary_sensors:
- motion_detected
- online
# https://www.home-assistant.io/integrations/ffmpeg
ffmpeg:
# https://www.home-assistant.io/integrations/frontend
frontend:
themes: !include_dir_merge_named themes
# https://www.home-assistant.io/integrations/history
history:
# https://www.home-assistant.io/integrations/media_extractor
media_extractor:
# https://www.home-assistant.io/integrations/tts
tts:
- platform: amazon_polly
aws_access_key_id: !secret aws_polly_client_id
aws_secret_access_key: !secret aws_polly_client_secret
region_name: eu-central-1
voice: Amy
# 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/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/plex
plex:
host: !secret plex_host
token: !secret plex_token
media_player:
use_episode_art: true
ignore_new_shared_users: false
# https://www.home-assistant.io/integrations/spotify
spotify:
client_id: !secret spotify_client_id
client_secret: !secret spotify_client_secret
# https://www.home-assistant.io/integrations/sun
sun:
# https://www.home-assistant.io/integrations/tuya
tuya:
username: !secret tuya_username
password: !secret tuya_password
country_code: bg
# https://www.home-assistant.io/integrations/upnp
upnp:
# https://www.home-assistant.io/integrations/wake_on_lan
wake_on_lan:
# https://www.home-assistant.io/integrations/webostv
webostv:
- host: !secret living_room_tv_ip
name: Living Room TV
turn_on_action:
service: wake_on_lan.send_magic_packet
data:
mac: !secret living_room_tv_mac
# customize:
# sources:
# - livetv
# - youtube
# - makotv
# - netflix
# https://www.home-assistant.io/integrations/zeroconf
zeroconf:
#
# ─── PLUGINS ────────────────────────────────────────────────────────────────────
#
spotcast:
username: !secret spotify_spotcast_username
password: !secret spotify_spotcast_password
hacs:
token: !secret hacs_github_token
appdaemon: true
uilogs: