From fbb5f6522bd78f04a7fa879ff5dbea2ea61d32b5 Mon Sep 17 00:00:00 2001 From: Robin Cole Date: Thu, 14 Jan 2021 08:55:40 +0000 Subject: [PATCH] remove target names --- custom_components/deepstack_object/image_processing.py | 1 - 1 file changed, 1 deletion(-) diff --git a/custom_components/deepstack_object/image_processing.py b/custom_components/deepstack_object/image_processing.py index f1865f0..2c9c79a 100644 --- a/custom_components/deepstack_object/image_processing.py +++ b/custom_components/deepstack_object/image_processing.py @@ -380,7 +380,6 @@ def device_state_attributes(self) -> Dict: """Return device specific state attributes.""" attr = {} attr["targets"] = self._targets - attr["targets_names"] = self._targets_names attr["targets_found"] = [ {obj["name"]: obj["confidence"]} for obj in self._targets_found ]