diff --git a/install/esphome-install.sh b/install/esphome-install.sh index 8961664b..5b5a8d1f 100644 --- a/install/esphome-install.sh +++ b/install/esphome-install.sh @@ -29,6 +29,7 @@ $STD apt-get install -y \ msg_ok "Updated Python3" msg_info "Installing ESPHome" +mkdir /root/config $STD pip install esphome tornado esptool msg_ok "Installed ESPHome" @@ -39,7 +40,7 @@ Description=ESPHome Dashboard After=network.target [Service] -ExecStart=/usr/local/bin/esphome dashboard /root/.config/ +ExecStart=/usr/local/bin/esphome dashboard /root/config/ Restart=always User=root