We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfdebec commit 17020c0Copy full SHA for 17020c0
matter_server/client/client.py
@@ -123,7 +123,10 @@ async def commission_with_code(
123
:return: The NodeInfo of the commissioned device.
124
"""
125
data = await self.send_command(
126
- APICommand.COMMISSION_WITH_CODE, code=code, network_only=network_only
+ APICommand.COMMISSION_WITH_CODE,
127
+ require_schema=6 if network_only else None,
128
+ code=code,
129
+ network_only=network_only,
130
)
131
return dataclass_from_dict(MatterNodeData, data)
132
matter_server/common/const.py
@@ -2,4 +2,4 @@
2
3
# schema version is used to determine compatibility between server and client
4
# bump schema if we add new features and/or make other (breaking) changes
5
-SCHEMA_VERSION = 5
+SCHEMA_VERSION = 6
0 commit comments