Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ChipDeviceCtrl: Fix type & doc for WriteAttribute #30824

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/controller/python/chip/ChipDeviceCtrl.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ def SendGroupCommand(self, groupid: int, payload: ClusterObjects.ClusterCommand,
return None

async def WriteAttribute(self, nodeid: int,
attributes: typing.List[typing.Tuple[int, ClusterObjects.ClusterAttributeDescriptor, int]],
attributes: typing.List[typing.Tuple[int, ClusterObjects.ClusterAttributeDescriptor]],
timedRequestTimeoutMs: typing.Union[None, int] = None,
interactionTimeoutMs: typing.Union[None, int] = None, busyWaitMs: typing.Union[None, int] = None):
'''
Expand All @@ -897,7 +897,7 @@ async def WriteAttribute(self, nodeid: int,
to the XYZ attribute on the test cluster to endpoint 1

Returns:
- [PyChipError] (list - one for each pth)
- [AttributeStatus] (list - one for each pth)
'''
self.CheckIsActive()

Expand Down
Loading