mirror of
https://github.com/mtan93/homeassistant-addons.git
synced 2026-04-09 22:04:46 +01:00
Add some 'do not edit' note to config.yml
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
## [0.2.0] - 2020-12-31
|
## [0.2.0] - 2020-12-31
|
||||||
- Remove superflous `apt-get` part
|
- Remove superflous `apt-get` part
|
||||||
|
- Added some 'do not edit' note to config.yml
|
||||||
- Added some note about the rebuild button
|
- Added some note about the rebuild button
|
||||||
## [0.1.0] - 2020-12-31
|
## [0.1.0] - 2020-12-31
|
||||||
- Initial release
|
- Initial release
|
||||||
@@ -7,7 +7,9 @@ rm -rfv /app/data
|
|||||||
ln -s /share/eufy-ha-mqtt-bridge/data /app # symlink data mount from share
|
ln -s /share/eufy-ha-mqtt-bridge/data /app # symlink data mount from share
|
||||||
|
|
||||||
echo "exporting environment vars form options file"
|
echo "exporting environment vars form options file"
|
||||||
/app/node_modules/.bin/json2yml /data/options.json > /app/data/config.yml
|
echo '# Generated by homeassistant, do not edit!' > /app/data/config.yml
|
||||||
|
echo '# Edit configuration only at the add-on!' >> /app/data/config.yml
|
||||||
|
/app/node_modules/.bin/json2yml /data/options.json >> /app/data/config.yml
|
||||||
|
|
||||||
echo "starting original stuff..."
|
echo "starting original stuff..."
|
||||||
exec npm run start
|
exec npm run start
|
||||||
Reference in New Issue
Block a user