writeAttributeSwitchActions(withValue:params:completionHandler:)
Declaration
func writeAttributeSwitchActions(withValue value: NSNumber, params: MTRWriteParams?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)func writeAttributeSwitchActions(withValue value: NSNumber, params: MTRWriteParams?) async throws