Add value added

This commit is contained in:
Alexandre
2021-10-31 14:30:50 +01:00
parent 143ac4de4d
commit 7f6993219e

View File

@@ -21,7 +21,7 @@ if [ -f ${JSONTOCHECK} ]; then
#Add key #Add key
sed -i "3 i\"${KEYS}\": \"${JSONSOURCEVALUE}\"}," ${JSONTOCHECK} sed -i "3 i\"${KEYS}\": \"${JSONSOURCEVALUE}\"}," ${JSONTOCHECK}
# Message # Message
bashio::log.warning "$KEYS was missing from your settings.json, it was added" bashio::log.warning "$KEYS was missing from your settings.json, it was added with the default value ${JSONSOURCEVALUE}"
fi fi
done done