128 lines
3.1 KiB
YAML
Executable File
128 lines
3.1 KiB
YAML
Executable File
##################################################
|
|
# Core Configuration
|
|
##################################################
|
|
|
|
default_config:
|
|
|
|
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 include/customize/
|
|
latitude: !secret homeassistant_latitude
|
|
longitude: !secret homeassistant_longitude
|
|
elevation: !secret homeassistant_elevation
|
|
unit_system: metric
|
|
time_zone: Europe/Copenhagen
|
|
country: DK
|
|
allowlist_external_dirs:
|
|
- /config
|
|
media_dirs:
|
|
local: /config/www/media
|
|
|
|
http:
|
|
use_x_forwarded_for: true
|
|
trusted_proxies:
|
|
- 127.0.0.1
|
|
- 10.0.0.142
|
|
|
|
recorder:
|
|
purge_keep_days: 5
|
|
exclude:
|
|
domains:
|
|
- device_tracker
|
|
- media_player
|
|
- uptime
|
|
- time_date
|
|
- mobile_app
|
|
entity_globs:
|
|
- sensor.clock*
|
|
- sensor.date*
|
|
- sensor.time*
|
|
- sensor.uptime*
|
|
- sensor.ipad_*
|
|
- sensor.claus_iphone12*
|
|
- binary_sensor.ipad_*
|
|
- light.fordelingsgang*
|
|
- switch.*_*
|
|
- number.*_*
|
|
entities:
|
|
- sensor.home_assistant_v2_db
|
|
- weather.openweathermap
|
|
|
|
zone: !include include/zone/zones.yaml
|
|
|
|
input_boolean:
|
|
first_run:
|
|
initial: off
|
|
first_run_eve:
|
|
initial: off
|
|
first_run_stue:
|
|
initial: off
|
|
|
|
timer:
|
|
indkorsel:
|
|
duration: '00:10:00'
|
|
|
|
utility_meter:
|
|
badevaerelse_nat_taendinger_daglig:
|
|
name: "Badeværelse nat-tændinger dagligt"
|
|
source: input_number.nattis
|
|
cycle: daily
|
|
|
|
|
|
python_script:
|
|
|
|
frontend:
|
|
themes: !include_dir_merge_named include/themes/
|
|
|
|
logger:
|
|
default: warning
|
|
logs:
|
|
custom_components.affalddk: debug
|
|
pyaffalddk: debug
|
|
|
|
##################################################
|
|
# Integrations
|
|
##################################################
|
|
|
|
duckdns:
|
|
domain: !secret duckdns_domain
|
|
access_token: !secret duckdns_access_token
|
|
|
|
sonoff:
|
|
username: !secret sonoff_username
|
|
password: !secret sonoff_password
|
|
default_class: light
|
|
reload: always
|
|
|
|
google_assistant:
|
|
project_id: esh-home-assistant-b5231
|
|
service_account: !include SERVICE_ACCOUNT.json
|
|
report_state: true
|
|
|
|
climate:
|
|
- platform: touchline
|
|
host: !secret touchlineIP
|
|
|
|
##################################################
|
|
# Modular Includes
|
|
##################################################
|
|
|
|
template: !include_dir_merge_named include/templates/
|
|
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/
|