mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Add Logger Check Before Adding Another (#47954)
This commit is contained in:
parent
4f3b7f917f
commit
6f7f4955a3
@ -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
|
Loading…
x
Reference in New Issue
Block a user