So I’m running the latest HA 0.88.2 release and I have a custom_component.
When I organise the directory structure as per the new way:
custom_components/visonic/switch.py
I do not get “debug” information in the log file
In the py file I have:
log = logging.getLogger(name)
and can then use log.debug(“Blah Blah”)
If I organise it the old way:
custom_components/switch/visonic.py
It works, I get my debug statements in the log file
In both cases I have this in my configuration.yaml
logger:
default: debug