setPointAction method
Future<void>
setPointAction(
- String deviceId,
- double temperature, {
- SetPointActionFunction setPoint = ThermostatRepository.setPointThermostat,
Implementation
Future<void> setPointAction(String deviceId, double temperature,
{SetPointActionFunction setPoint =
ThermostatRepository.setPointThermostat}) async {
return performAction<double>(temperature, () => getTargetTemperatureState,
() => setPoint(_request, deviceId, temperature));
}