1
0
mirror of https://github.com/USA-RedDragon/badnest.git synced 2025-01-18 19:40:42 +00:00

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.
This commit is contained in:
Andrew Ash 2020-04-19 00:26:07 -07:00 committed by GitHub
parent 7ab48d968e
commit 80d8737f4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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