Skip to content

Commit

Permalink
Require schema version 6 if commission_on_network is used with ip (#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelveldt authored Dec 22, 2023
1 parent c466c47 commit fcf3bfc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions matter_server/client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ async def commission_on_network(
"""
data = await self.send_command(
APICommand.COMMISSION_ON_NETWORK,
require_schema=6 if ip_addr is not None else None,
setup_pin_code=setup_pin_code,
ip_addr=ip_addr,
)
Expand Down

0 comments on commit fcf3bfc

Please sign in to comment.