Contents

changeToMode(with:completion:)

Command ChangeToMode

Declaration

func changeToMode(with params: MTREnergyEVSEModeClusterChangeToModeParams, completion: @escaping  @Sendable (MTREnergyEVSEModeClusterChangeToModeResponseParams?, (any Error)?) -> Void)
func changeToMode(with params: MTREnergyEVSEModeClusterChangeToModeParams) async throws -> MTREnergyEVSEModeClusterChangeToModeResponseParams

Discussion

This command is used to change device modes.