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 9c2974438d
commit e563692fa2

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