Skip to content

Commit

Permalink
Add Logger Check Before Adding Another (home-assistant#47954)
Browse files Browse the repository at this point in the history
  • Loading branch information
ntilley905 authored Mar 17, 2021
1 parent 4f3b7f9 commit 6f7f495
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/setup
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6f7f495

Please sign in to comment.