mirror of
https://github.com/esphome/home-assistant-addon.git
synced 2024-12-19 16:17:40 +01:00
15 lines
545 B
Plaintext
Executable File
15 lines
545 B
Plaintext
Executable File
#!/usr/bin/with-contenv bash
|
|
# ==============================================================================
|
|
# Community Hass.io Add-ons: ESPHome
|
|
# Runs the ESPHome 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 ESPHome dashboard..."
|
|
exec esphome /config/esphome dashboard --socket /var/run/esphome.sock --hassio
|