Contents

powerAdjustRequest(with:completion:)

Command PowerAdjustRequest

Declaration

func powerAdjustRequest(with params: MTRDeviceEnergyManagementClusterPowerAdjustRequestParams, completion: @escaping  @Sendable ((any Error)?) -> Void)
func powerAdjustRequest(with params: MTRDeviceEnergyManagementClusterPowerAdjustRequestParams) async throws

Discussion

Allows a client to request an adjustment in the power consumption of an ESA for a specified duration.