Files
N22/configuration.yaml
T
2022-11-15 06:17:28 +01:00

190 lines
4.6 KiB
YAML
Executable File

# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:
# Text to speech
tts:
- platform: google_translate
language: 'da'
base_url: !secret tts_base_url
homeassistant:
name: !secret name
external_url: "http://anneclaus.duckdns.org:8123"
internal_url: "http://dethlefsen:8123"
auth_providers:
- type: homeassistant
customize: !include_dir_merge_named customize
latitude: !secret homeassistant_latitude
longitude: !secret homeassistant_longitude
elevation: !secret homeassistant_elevation
unit_system: metric
time_zone: Europe/Copenhagen
# media_dirs:
# music: /music
# video: /video
# photo: /photo
## to avoid warning
#http:
# ssl_certificate: /ssl/cert.pem
# ssl_key: /ssl/privkey.pem
# base_url: !secret http_base_url
http:
use_x_forwarded_for: true
trusted_proxies:
- 127.0.0.1
## ########################################
## Zones
## ########################################
zone: !include include/zone/zones.yaml
## ########################################
## First run
## ########################################
input_boolean:
first_run:
first_run_eve:
first_run_stue:
## ########################################
## DuckDNS
## ########################################
# https://www.home-assistant.io/blog/2017/09/27/effortless-encryption-with-lets-encrypt-and-duckdns/
#
# read this:
# https://community.home-assistant.io/t/updating-duckdns-domain-failed/135623
duckdns:
domain: !secret duckdns_domain
access_token: !secret duckdns_access_token
## ########################################
## Spotify
## ########################################
# Example configuration.yaml entry
#spotify:
# client_id: !secret spotify_id
# client_secret: !secret spotify_secret
## ########################################
## Sonoff (HACS)
## ########################################
sonoff:
username: !secret sonoff_username
password: !secret sonoff_password
default_class: light
reload: always
## ########################################
## Garbage collection (HACS)
## ########################################
# garbage_collection: !include include/garbage/garbage.yaml
## ########################################
## Miele (HACS)
## ########################################
miele:
client_id: !secret miele_clientid
client_secret: !secret miele_secret
lang: en
## ########################################
## Roth touchline
## ########################################
climate:
- platform: touchline
host: !secret touchlineIP
## ########################################
## Timer (for indkorsel automation)
## ########################################
timer:
indkorsel:
duration: '00:10:00'
## ########################################
## Darksky
## ########################################
weather:
- platform: darksky
api_key: !secret darksky_api_key
mode: daily
## ########################################
## Withings
## ########################################
#withings:
# client_id: !secret withings_clientid
# client_secret: !secret withings_secret
## ########################################
## Home Connect
## ########################################
#home_connect:
# client_id: !secret siemens_clientid
# client_secret: !secret siemens_secret
## ########################################
## Google
## ########################################
#google:
# client_id: !secret google_client_id
# client_secret: !secret google_secret
# track_new_calendar: false
google_assistant:
project_id: esh-home-assistant-b5231
service_account: !include SERVICE_ACCOUNT.json
report_state: true
group: !include_dir_merge_named include/groups/
sensor: !include_dir_merge_list include/sensors/
automation: !include_dir_merge_list include/automations/
binary_sensor: !include_dir_merge_list include/binary_sensors/
device_tracker: !include include/device_trackers.yaml
input_datetime: !include_dir_merge_named include/input/datetime/
input_number: !include_dir_merge_named include/input/number/
input_select: !include_dir_merge_named include/input/select/
light: !include_dir_merge_list include/lights/
panel_iframe: !include_dir_merge_named include/panels/
script: !include_dir_merge_named include/scripts/
shell_command: !include_dir_merge_named include/shell_commands/
#switch: !include_dir_merge_list include/switches/
# PYTHON
python_script:
# https://community.home-assistant.io/t/lovelace-gen-add-abilities-to-ui-lovelace-yaml/130328
#lovelace_gen:
#lovelace:
# resources: !include_dir_merge_list include/resources/
# mode: yaml
#frontend:
# themes: !include_dir_merge_named themes