Skip to content

Commit dc11e85

Browse files
author
Ted Roberts
committed
Improve debug log visibility for audio payloads
1 parent 6700828 commit dc11e85

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

custom_components/novastar_h/api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ def _debug_log(self, message: str, *args: Any) -> None:
129129
"""Emit debug log only when debug logging option is enabled."""
130130
if self._enable_debug_logging:
131131
_LOGGER.debug(message, *args)
132+
if not _LOGGER.isEnabledFor(logging.DEBUG):
133+
_LOGGER.warning("[novastar_h debug] " + message, *args)
132134

133135
@property
134136
def host(self) -> str:

custom_components/novastar_h/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@
2121
}
2222
],
2323
"zeroconf": ["_novastar._tcp.local."],
24-
"version": "0.2.55"
24+
"version": "0.2.56"
2525
}

0 commit comments

Comments
 (0)