2018-09-25 19:03:30 +02:00
|
|
|
homeassistant:
|
2019-06-09 18:30:25 +02:00
|
|
|
auth_providers:
|
|
|
|
- type: command_line
|
|
|
|
command: /home/homeassistant/.homeassistant/bin/ynh_ldap-auth.sh
|
|
|
|
meta: true
|
|
|
|
- type: homeassistant
|
|
|
|
- type: trusted_networks
|
|
|
|
trusted_networks:
|
|
|
|
- 127.0.0.1
|
|
|
|
- ::1
|
|
|
|
- 192.168.0.0/24
|
|
|
|
- fd00::/8
|
2018-09-25 19:03:30 +02:00
|
|
|
name: Home
|
|
|
|
latitude: 0
|
|
|
|
longitude: 0
|
|
|
|
elevation: 0
|
|
|
|
unit_system: metric
|
|
|
|
time_zone: UTC
|
|
|
|
|
|
|
|
http:
|
|
|
|
base_url: __DOMAIN__:__PORT__
|
|
|
|
server_port: __PORT__
|
|
|
|
use_x_forwarded_for: True
|
|
|
|
trusted_proxies:
|
|
|
|
- 127.0.0.1
|
|
|
|
- ::1
|
|
|
|
ip_ban_enabled: True
|
|
|
|
login_attempts_threshold: 5
|
2019-06-09 18:30:25 +02:00
|
|
|
|
|
|
|
# Lovelace mode
|
|
|
|
lovelace:
|
|
|
|
mode: yaml
|
2018-09-25 19:03:30 +02:00
|
|
|
|
|
|
|
# Enables the frontend
|
|
|
|
frontend:
|
2019-06-09 18:30:25 +02:00
|
|
|
javascript_version: latest
|
2018-09-25 19:03:30 +02:00
|
|
|
|
|
|
|
# Enables configuration UI
|
|
|
|
config:
|
|
|
|
|
2019-06-09 18:30:25 +02:00
|
|
|
# Enables health
|
|
|
|
system_health:
|
|
|
|
|
2018-09-25 19:03:30 +02:00
|
|
|
# Checks for available updates
|
|
|
|
updater:
|
|
|
|
|
|
|
|
# Discover some devices automatically
|
|
|
|
discovery:
|
|
|
|
|
|
|
|
# Allows you to issue voice commands from the frontend in enabled browsers
|
|
|
|
conversation:
|
|
|
|
|
|
|
|
# Enables support for tracking state changes over time
|
|
|
|
history:
|
|
|
|
|
|
|
|
# View all events in a logbook
|
|
|
|
logbook:
|
|
|
|
|
|
|
|
# Enables a map showing the location of tracked devices
|
|
|
|
map:
|
|
|
|
|
|
|
|
# Track the sun
|
|
|
|
sun:
|
|
|
|
|
|
|
|
# Text to speech
|
|
|
|
tts:
|
|
|
|
- platform: google
|
|
|
|
|
|
|
|
# Cloud
|
|
|
|
cloud:
|
|
|
|
|
2019-06-09 18:30:25 +02:00
|
|
|
# Sensors
|
|
|
|
sensor:
|
|
|
|
- platform: version
|
|
|
|
- platform: rest
|
|
|
|
resource: https://pypi.python.org/pypi/homeassistant/json
|
|
|
|
name: "Latest Available Version"
|
|
|
|
value_template: '{{ value_json.info.version }}'
|
|
|
|
scan_interval: 3600
|
|
|
|
|
|
|
|
# Binary sensors
|
|
|
|
binary_sensor:
|
|
|
|
- platform: template
|
|
|
|
sensors:
|
|
|
|
ha_update_available:
|
|
|
|
friendly_name: An update is available
|
|
|
|
value_template: >-
|
|
|
|
{{states.sensor.latest_available_version.state != "unavailable" and states.sensor.latest_available_version.state != states.sensor.current_version.state}}
|
|
|
|
|
|
|
|
# Switches
|
|
|
|
switch:
|
|
|
|
- platform: command_line
|
|
|
|
switches:
|
|
|
|
upgrade_homeassistant:
|
|
|
|
command_on: "bash -c /home/homeassistant/.homeassistant/bin/upgrade_homeassistant.sh"
|
|
|
|
friendly_name: Upgrade Home Assistant
|