From 80d8737f4a04ee64f44ce80ef50d65430ef52864 Mon Sep 17 00:00:00 2001 From: Andrew Ash Date: Sun, 19 Apr 2020 00:26:07 -0700 Subject: [PATCH] Add debugging section with sample logger conf Without this I was unable to see badnest's debug output in my docker-installed Home Assistant setup (either in `home-assistant.log` or `docker logs $CONTAINER`. With this config, the debug logs now appear in the `docker logs` output. --- info.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/info.md b/info.md index 7e14cff..952dde5 100644 --- a/info.md +++ b/info.md @@ -94,3 +94,12 @@ The target temperature reported by the integration sometimes _seems_ to be sligh This is caused by the fact that the Nest mobile app actually actually allows users to set the temperature in small increments, but the displayed temperature is rounded to the nearest 0.5 degree. In other words, the temperature displayed by the integration is correct, just _more exact_ than what is shown in the app. + +## Debugging + +To enable debug logs for badnest in certain Home Assistant configurations (e.g. Docker), add this `logger` section to your `configuration.yaml`: + + logger: + default: info + logs: + custom_components.badnest: debug