toggle(with:expectedValues:expectedValueInterval:completion:)

Declaration

func toggle(with params: MTROnOffClusterToggleParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping  @Sendable ((any Error)?) -> Void)
func toggle(with params: MTROnOffClusterToggleParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws