Skip to content

Commit 6adac32

Browse files
authored
Fixes variable that was renamed with sdk version 1.1.0.1 (#295)
1 parent bbae5b1 commit 6adac32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

matter_server/client/models/node.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ def update(self, attributes_data: dict[str, Any]) -> None:
200200
cluster = self.get_cluster(Clusters.Descriptor)
201201
assert cluster is not None
202202
for dev_info in cluster.deviceTypeList: # type: ignore[unreachable]
203-
device_type = DEVICE_TYPES.get(dev_info.type)
203+
device_type = DEVICE_TYPES.get(dev_info.deviceType)
204204
if device_type is None:
205205
LOGGER.debug("Found unknown device type %s", dev_info)
206206
continue

0 commit comments

Comments
 (0)