2018-12-05 21:22:06 +01:00
|
|
|
#!/usr/bin/with-contenv bash
|
|
|
|
# ==============================================================================
|
|
|
|
# Community Hass.io Add-ons: esphomeyaml
|
|
|
|
# Runs the esphomeyaml dashboard
|
|
|
|
# ==============================================================================
|
|
|
|
# shellcheck disable=SC1091
|
|
|
|
source /usr/lib/hassio-addons/base.sh
|
|
|
|
|
|
|
|
if hass.config.true 'leave_front_door_open'; then
|
|
|
|
export DISABLE_HA_AUTHENTICATION=true
|
|
|
|
fi
|
|
|
|
|
|
|
|
hass.log.info "Starting esphomeyaml dashboard..."
|
2019-01-02 12:21:26 +01:00
|
|
|
exec esphomeyaml /config/esphomeyaml dashboard --socket /var/run/esphomeyaml.sock --hassio
|