mirror of
https://github.com/home-assistant/core.git
synced 2025-07-08 22:07:10 +00:00
Fix Doods error when detection labels are specified in list form (#28574)
This commit is contained in:
parent
438ee99175
commit
e99bb8f75e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user