handleCommandClassThermostatOperatingState method

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

Implementation

@override
void handleCommandClassThermostatOperatingState(List<int> data) {
  switch (data[8]) {
    case THERMOSTAT_OPERATING_STATE_REPORT:
      processedResult<ThermostatOperatingStateReport>(
          operatingState = ThermostatOperatingStateReport(data));
      return;
    default:
      return unhandledCommandClass(COMMAND_CLASS_THERMOSTAT_OPERATING_STATE,
          'COMMAND_CLASS_THERMOSTAT_OPERATING_STATE', data);
  }
}