keepActive(with:completion:)
Command KeepActive
Declaration
func keepActive(with params: MTRBridgedDeviceBasicInformationClusterKeepActiveParams, completion: @escaping @Sendable ((any Error)?) -> Void)func keepActive(with params: MTRBridgedDeviceBasicInformationClusterKeepActiveParams) async throwsDiscussion
Upon receipt, the server SHALL attempt to keep the bridged device active for the duration specified by the command, when the device is next active.