Add Logger Check Before Adding Another (#47954)

This commit is contained in:
Nathan Tilley 2021-03-17 06:11:39 -04:00 committed by GitHub
parent 4f3b7f917f
commit 6f7f4955a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,9 +28,11 @@ python3 -m pip install -e . --constraint homeassistant/package_constraints.txt
hass --script ensure_config -c config hass --script ensure_config -c config
if ! grep -R "logger" config/configuration.yaml >> /dev/null;then
echo " echo "
logger: logger:
default: info default: info
logs: logs:
homeassistant.components.cloud: debug homeassistant.components.cloud: debug
" >> config/configuration.yaml " >> config/configuration.yaml
fi