From e99bb8f75e02ca49d067220e02151c327571c788 Mon Sep 17 00:00:00 2001 From: Zach Date: Wed, 6 Nov 2019 02:45:16 -0500 Subject: [PATCH] Fix Doods error when detection labels are specified in list form (#28574) --- homeassistant/components/doods/image_processing.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/doods/image_processing.py b/homeassistant/components/doods/image_processing.py index 02d7ce26f1c..7f2c3fd1d42 100644 --- a/homeassistant/components/doods/image_processing.py +++ b/homeassistant/components/doods/image_processing.py @@ -177,6 +177,7 @@ class Doods(ImageProcessingEntity): _LOGGER.warning("Detector does not support label %s", label) continue self._label_areas[label] = [0, 0, 1, 1] + self._label_covers[label] = True if label not in dconfig or dconfig[label] > confidence: dconfig[label] = confidence