mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 15:38:11 +01:00
a8c17e5d05
* Fix Add-On host network mode * Split up esphomeyaml tests * Fix perms * Fix * Add esphomeyaml_version option * Revert change to travis.yml
14 lines
569 B
Text
Executable file
14 lines
569 B
Text
Executable file
#!/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..."
|
|
exec esphomeyaml /config/esphomeyaml dashboard --socket /var/run/esphomeyaml.sock --hassio
|