If you don’t have your logger configured, then I would suggest you make the following changes to your configuration.yaml
file first:
logger: !include logger.yaml
Then add a logger.yaml
file that looks like this:
default: warning
Just do that, this will then allow you to turn on and off logging of components via the UI using the developer tools. So, to turn up the logging to debug level for Rental Control you would do the following:
- Navigate to Developer Tools
- Select Services
- Select
Logger: Set level
- In the data section add:
custom_components.rental_control: debug
Your logs should now be filling with a lot of debug spew from the component. When you’re done with that logging change debug
to info
in your data section and will revert to its more normal logging.