Add Logger Check Before Adding Another (#47954)

pull/48029/head
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
1 changed files with 2 additions and 0 deletions

View File

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