Closed baylanger closed 3 months ago
I added the debug option so it can be configured in the UI - in Python that's easy to set the logging. It seems bashio most likely automatically handle this option - otherwise we'd need to use something like:
if bashio::config.true debug; then
...
Ready to merge.
Note: Even with the added option DEBUG, bashio::log.debug doesn't work :( log.debug was used only for this (so far):
Connecting to MQTT server; subscribe topics tesla_ble/+ and homeassistant/status
I vote to merge this unless you see anything.
Merge #11 -> #12 -> #9 otherwise there will be conflict.
I like your bashio logging. However, this interferes with the possibility to run this as standalone. I will merge and create a helper function that will switch between bashio & echo
I like your bashio logging. However, this interferes with the possibility to run this as standalone. I will merge and create a helper function that will switch between bashio & echo
🎉🎉🎉
If you don’t have the time before going to bed to do the helper function, I’ll do it. I somehow thought about this as well for easier testing.
Feel free. Don't loose your energy :) Tu peux te joindre sur ce discord: https://discord.com/invite/zkZktGFk ça permettra au moins de partager des emails si nécessaire
As usual if you need any changes don't hesitate.. I did this kind of "fast" , time for diner :)