requestConstraintBasedForecast(with:completion:)
Command RequestConstraintBasedForecast
Declaration
func requestConstraintBasedForecast(with params: MTRDeviceEnergyManagementClusterRequestConstraintBasedForecastParams, completion: @escaping @Sendable ((any Error)?) -> Void)func requestConstraintBasedForecast(with params: MTRDeviceEnergyManagementClusterRequestConstraintBasedForecastParams) async throwsDiscussion
Allows a client to ask the ESA to recompute its Forecast based on power and time constraints.