From 2f529ecdd7e36359e3fc58c85693f18bf7bc8643 Mon Sep 17 00:00:00 2001 From: "Christian Tremblay, ing." Date: Fri, 11 Oct 2024 22:23:53 -0400 Subject: [PATCH] Proposed by chrisreichert53 on https://github.com/ChristianTremblay/BAC0/issues/485 --- BAC0/core/io/Read.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BAC0/core/io/Read.py b/BAC0/core/io/Read.py index 98f5b58..c1f9062 100644 --- a/BAC0/core/io/Read.py +++ b/BAC0/core/io/Read.py @@ -314,7 +314,8 @@ async def readMultiple( "", ) ) - dict_values[str(object_identifier)] = [] + if str(object_identifier) not in dict_values: + dict_values[str(object_identifier)] = [] if show_property_name: values.append((property_value, property_identifier)) dict_values[str(object_identifier)].append(