handleCommandClassThermostatFanState method

  1. @override
void handleCommandClassThermostatFanState(
  1. List<int> data
)

Implementation

@override
void handleCommandClassThermostatFanState(List<int> data) {
  switch (data[8]) {
    case THERMOSTAT_FAN_STATE_REPORT:
      processedResult<ThermostatFanStateReport>(
          fanState = ThermostatFanStateReport(data));
      return;
    default:
      return unhandledCommandClass(COMMAND_CLASS_THERMOSTAT_FAN_STATE,
          'COMMAND_CLASS_THERMOSTAT_FAN_STATE', data);
  }
}