Contents

getTargetsWith(_:completion:)

Command GetTargets

Declaration

func getTargetsWith(_ params: MTREnergyEVSEClusterGetTargetsParams?, completion: @escaping  @Sendable (MTREnergyEVSEClusterGetTargetsResponseParams?, (any Error)?) -> Void)
func targets(with params: MTREnergyEVSEClusterGetTargetsParams?) async throws -> MTREnergyEVSEClusterGetTargetsResponseParams

Discussion

Allows a client to retrieve the current set of charging targets.