Skip to content

Commit 0376098

Browse files
authored
Update to Matter SDK wheels 2024.9.0 (#890)
1 parent 1d20696 commit 0376098

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

matter_server/server/sdk.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -338,15 +338,17 @@ async def read(
338338
allowPASE=False,
339339
timeoutMs=None,
340340
)
341+
transaction = Attribute.AsyncReadTransaction(
342+
future, self.server.loop, self._chip_controller, True
343+
)
341344
Attribute.Read(
342-
future=future,
343-
eventLoop=self.server.loop,
345+
transaction=transaction,
344346
device=device.deviceProxy,
345-
devCtrl=self._chip_controller,
346347
attributes=attributes,
347348
fabricFiltered=fabric_filtered,
348349
).raise_on_error()
349-
return await future
350+
await future
351+
return transaction.GetReadResponse()
350352

351353
async def write_attribute(
352354
self,

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies = [
2020
"async-timeout",
2121
"coloredlogs",
2222
"orjson",
23-
"home-assistant-chip-clusters==2024.7.1",
23+
"home-assistant-chip-clusters==2024.9.0",
2424
]
2525
description = "Python Matter WebSocket Server"
2626
license = {text = "Apache-2.0"}
@@ -39,7 +39,7 @@ server = [
3939
"cryptography==43.0.1",
4040
"orjson==3.10.7",
4141
"zeroconf==0.134.0",
42-
"home-assistant-chip-core==2024.7.1",
42+
"home-assistant-chip-core==2024.9.0",
4343
]
4444
test = [
4545
"aioresponses==0.7.6",

0 commit comments

Comments
 (0)