setFanMode method
Future<void>
setFanMode(
- String deviceId,
- AvailableFanMode fanMode, {
- SetFanModeFunction setFanMode = ThermostatRepository.setFanMode,
Implementation
Future<void> setFanMode(String deviceId, AvailableFanMode fanMode,
{SetFanModeFunction setFanMode = ThermostatRepository.setFanMode}) async {
return performAction(fanMode, () => getFanModeState,
() => setFanMode(_request, deviceId, fanMode));
}