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

24 lines
538 B
YAML
Raw Normal View History

2018-09-25 19:03:30 +02:00
homeassistant:
2019-06-09 18:30:25 +02:00
auth_providers:
- type: command_line
2021-12-06 22:15:06 +01:00
command: __DATA_PATH__/.__APP__/bin/ynh_ldap-auth.sh
2019-06-09 18:30:25 +02:00
meta: true
2018-09-25 19:03:30 +02:00
http:
server_port: __PORT__
use_x_forwarded_for: True
trusted_proxies:
- 127.0.0.1
- ::1
2019-06-09 18:30:25 +02:00
2020-08-27 20:58:38 +02:00
# Apply default set of integrations
default_config:
2021-11-20 19:05:14 +01:00
# Switches
switch:
- platform: command_line
switches:
upgrade_homeassistant:
2021-12-06 22:15:06 +01:00
command_on: "nohup bash -c __DATA_PATH__/.__APP__/bin/upgrade_homeassistant.sh $1 > /dev/null 2>&1 &"
2021-11-20 19:05:14 +01:00
friendly_name: Upgrade Home Assistant