1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/homeassistant_ynh.git synced 2024-09-03 19:26:16 +02:00
homeassistant_ynh/conf/homeassistant_conf_files/configuration.yaml
2021-12-06 22:15:06 +01:00

23 lines
538 B
YAML

homeassistant:
auth_providers:
- type: command_line
command: __DATA_PATH__/.__APP__/bin/ynh_ldap-auth.sh
meta: true
http:
server_port: __PORT__
use_x_forwarded_for: True
trusted_proxies:
- 127.0.0.1
- ::1
# Apply default set of integrations
default_config:
# Switches
switch:
- platform: command_line
switches:
upgrade_homeassistant:
command_on: "nohup bash -c __DATA_PATH__/.__APP__/bin/upgrade_homeassistant.sh $1 > /dev/null 2>&1 &"
friendly_name: Upgrade Home Assistant