diff --git a/src/controller/python/chip/clusters/Attribute.py b/src/controller/python/chip/clusters/Attribute.py index aaf2249ade7cab..b9d960b96d01de 100644 --- a/src/controller/python/chip/clusters/Attribute.py +++ b/src/controller/python/chip/clusters/Attribute.py @@ -509,14 +509,16 @@ def GetReportingIntervals(self) -> Tuple[int, int]: This should only be called if we're of subscription interaction type and after a subscription has been established. ''' handle = chip.native.GetLibraryHandle() - handle.pychip_ReadClient_GetReportingIntervals.argtypes = [ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint16), ctypes.POINTER(ctypes.c_uint16)] + handle.pychip_ReadClient_GetReportingIntervals.argtypes = [ + ctypes.c_void_p, ctypes.POINTER(ctypes.c_uint16), ctypes.POINTER(ctypes.c_uint16)] handle.pychip_ReadClient_GetReportingIntervals.restype = PyChipError minInterval = ctypes.c_uint16(0) maxInterval = ctypes.c_uint16(0) builtins.chipStack.Call( - lambda: handle.pychip_ReadClient_GetReportingIntervals(self._readTransaction._pReadClient, ctypes.pointer(minInterval), ctypes.pointer(maxInterval)) + lambda: handle.pychip_ReadClient_GetReportingIntervals( + self._readTransaction._pReadClient, ctypes.pointer(minInterval), ctypes.pointer(maxInterval)) ).raise_on_error() return minInterval.value, maxInterval.value