Add camera name to audio debug line (#12799)

* Add camera name to audio debug line

* Formatting
This commit is contained in:
Nicolas Mowen 2024-08-06 16:11:20 -06:00
parent fe188bd646
commit ad5c3741e9

View File

@ -209,7 +209,9 @@ class AudioEventMaintainer(threading.Thread):
audio_detections = [] audio_detections = []
for label, score, _ in model_detections: for label, score, _ in model_detections:
logger.debug(f"Heard {label} with a score of {score}") logger.debug(
f"{self.config.name} heard {label} with a score of {score}"
)
if label not in self.config.audio.listen: if label not in self.config.audio.listen:
continue continue