mirror of
https://github.com/esphome/esphome.git
synced 2024-11-09 09:51:20 +01:00
7ad2d86929
* Update Hassio base image to 1.4.1 * Fix rotary encoder typo Fixes https://github.com/esphome/issues/issues/136
12 lines
548 B
Bash
12 lines
548 B
Bash
#!/usr/bin/with-contenv bashio
|
|
# ==============================================================================
|
|
# Community Hass.io Add-ons: ESPHome
|
|
# This files migrates the esphome config directory from the old path
|
|
# ==============================================================================
|
|
|
|
if [[ ! -d /config/esphome && -d /config/esphomeyaml ]]; then
|
|
echo "Moving config directory from /config/esphomeyaml to /config/esphome"
|
|
mv /config/esphomeyaml /config/esphome
|
|
mv /config/esphome/.esphomeyaml /config/esphome/.esphome
|
|
fi
|