mirror of
https://github.com/home-assistant/core.git
synced 2025-08-02 04:05:06 +02:00
Fix Doods error when detection labels are specified in list form (#28574)
This commit is contained in:
@@ -177,6 +177,7 @@ class Doods(ImageProcessingEntity):
|
|||||||
_LOGGER.warning("Detector does not support label %s", label)
|
_LOGGER.warning("Detector does not support label %s", label)
|
||||||
continue
|
continue
|
||||||
self._label_areas[label] = [0, 0, 1, 1]
|
self._label_areas[label] = [0, 0, 1, 1]
|
||||||
|
self._label_covers[label] = True
|
||||||
if label not in dconfig or dconfig[label] > confidence:
|
if label not in dconfig or dconfig[label] > confidence:
|
||||||
dconfig[label] = confidence
|
dconfig[label] = confidence
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user