File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -338,15 +338,17 @@ async def read(
338
338
allowPASE = False ,
339
339
timeoutMs = None ,
340
340
)
341
+ transaction = Attribute .AsyncReadTransaction (
342
+ future , self .server .loop , self ._chip_controller , True
343
+ )
341
344
Attribute .Read (
342
- future = future ,
343
- eventLoop = self .server .loop ,
345
+ transaction = transaction ,
344
346
device = device .deviceProxy ,
345
- devCtrl = self ._chip_controller ,
346
347
attributes = attributes ,
347
348
fabricFiltered = fabric_filtered ,
348
349
).raise_on_error ()
349
- return await future
350
+ await future
351
+ return transaction .GetReadResponse ()
350
352
351
353
async def write_attribute (
352
354
self ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ dependencies = [
20
20
" async-timeout" ,
21
21
" coloredlogs" ,
22
22
" orjson" ,
23
- " home-assistant-chip-clusters==2024.7.1 " ,
23
+ " home-assistant-chip-clusters==2024.9.0 " ,
24
24
]
25
25
description = " Python Matter WebSocket Server"
26
26
license = {text = " Apache-2.0" }
@@ -39,7 +39,7 @@ server = [
39
39
" cryptography==43.0.1" ,
40
40
" orjson==3.10.7" ,
41
41
" zeroconf==0.134.0" ,
42
- " home-assistant-chip-core==2024.7.1 " ,
42
+ " home-assistant-chip-core==2024.9.0 " ,
43
43
]
44
44
test = [
45
45
" aioresponses==0.7.6" ,
You can’t perform that action at this time.
0 commit comments