client: updates proxy._service_representation every time the client connects

This commit is contained in:
Mose Müller
2025-06-23 09:01:01 +02:00
parent 80bfd209df
commit 6438a07305

View File

@@ -240,7 +240,6 @@ class Client:
self.proxy, serialized_object=serialized_object self.proxy, serialized_object=serialized_object
) )
serialized_object["type"] = "DeviceConnection" serialized_object["type"] = "DeviceConnection"
if self.proxy._service_representation is not None:
# need to use object.__setattr__ to not trigger an observer notification # need to use object.__setattr__ to not trigger an observer notification
object.__setattr__(self.proxy, "_service_representation", serialized_object) object.__setattr__(self.proxy, "_service_representation", serialized_object)