handleCommandClassSensorMultilevel method

T? handleCommandClassSensorMultilevel(
  1. List<int> data
)
inherited

Implementation

T? handleCommandClassSensorMultilevel(List<int> data) {
  switch (data[8]) {
    case SENSOR_MULTILEVEL_SUPPORTED_SENSOR_REPORT:
      return handleSensorMultilevelSupportedSensorReport(
          SensorMultilevelSupportedSensorReport(data));
    case SENSOR_MULTILEVEL_REPORT:
      return handleSensorMultilevelReport(SensorMultilevelReport(data));
    default:
      return unhandledCommandClass(COMMAND_CLASS_SENSOR_MULTILEVEL,
          'COMMAND_CLASS_SENSOR_MULTILEVEL', data);
  }
}