Add camera name to audio debug line

This commit is contained in:
Nicolas Mowen 2024-08-06 15:57:12 -06:00 committed by GitHub
parent 2637541c6c
commit 08db0d35c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -209,7 +209,7 @@ 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