2022-01-08 10:04:57 +01:00
|
|
|
homeassistant:
|
2022-12-10 23:14:39 +01:00
|
|
|
country: FR
|
2022-05-15 21:02:12 +02:00
|
|
|
external_url: "https://__DOMAIN__"
|
2022-01-08 10:04:57 +01:00
|
|
|
auth_providers:
|
|
|
|
- type: command_line
|
|
|
|
command: __DATA_PATH__/bin/ynh_ldap-auth.sh
|
|
|
|
meta: true
|
|
|
|
|
|
|
|
http:
|
|
|
|
server_port: __PORT__
|
|
|
|
use_x_forwarded_for: True
|
|
|
|
trusted_proxies:
|
|
|
|
- 127.0.0.1
|
|
|
|
- ::1
|
|
|
|
|
|
|
|
recorder:
|
|
|
|
db_url: mysql://__DB_USER__:__DB_PWD__@127.0.0.1/__DB_NAME__?unix_socket=/var/run/mysqld/mysqld.sock&charset=utf8mb4
|
|
|
|
|
|
|
|
# Apply default set of integrations
|
|
|
|
default_config:
|
|
|
|
|
|
|
|
# Linked yaml files
|
|
|
|
automation: !include automations.yaml
|
|
|
|
script: !include scripts.yaml
|
|
|
|
scene: !include scenes.yaml
|
|
|
|
|
|
|
|
# Switches
|
|
|
|
switch:
|
|
|
|
- platform: command_line
|
|
|
|
switches:
|
|
|
|
upgrade_homeassistant:
|
|
|
|
command_on: "nohup bash -c __DATA_PATH__/bin/upgrade_homeassistant.sh $1 > /dev/null 2>&1 &"
|
|
|
|
friendly_name: Upgrade Home Assistant
|