powerAdjustRequest(with:completion:)
Command PowerAdjustRequest
Declaration
func powerAdjustRequest(with params: MTRDeviceEnergyManagementClusterPowerAdjustRequestParams, completion: @escaping @Sendable ((any Error)?) -> Void)func powerAdjustRequest(with params: MTRDeviceEnergyManagementClusterPowerAdjustRequestParams) async throwsDiscussion
Allows a client to request an adjustment in the power consumption of an ESA for a specified duration.