function buildFeatures(deviceName, deviceExternalId) {
  return [
    // temperature sensor
    {
      name: `${deviceName} temperature`,
      category: DEVICE_FEATURE_CATEGORIES.TEMPERATURE_SENSOR,
      type: DEVICE_FEATURE_TYPES.SENSOR.DECIMAL,
      external_id: `${deviceExternalId}:temperature-sensor`,
      selector: `${deviceExternalId}:temperature-sensor`,
      min: -50,
      max: 100,
      unit: DEVICE_FEATURE_UNITS.CELSIUS,
      read_only: true,
      has_feedback: false,
    },
    // humidity sensor
    {
      name: `${deviceName} humidity`,
      category: DEVICE_FEATURE_CATEGORIES.HUMIDITY_SENSOR,
      type: DEVICE_FEATURE_TYPES.SENSOR.DECIMAL,
      external_id: `${deviceExternalId}:humidity-sensor`,
      selector: `${deviceExternalId}:humidity-sensor`,
      min: 0,
      max: 100,
      unit: DEVICE_FEATURE_UNITS.PERCENT,
      read_only: true,
      has_feedback: false,
    },
  ];
}
@description Builds sensor Broadlink features.
@param {string} deviceName - Device name.
@param {string} deviceExternalId - Device external ID.
@returns {Array} Gladys features.
@example
buildFeatures(a1Device);