function getGladysDeviceFeatures(externalId, melCloudDevice) {
  return [
    {
      name: 'Power',
      external_id: `${externalId}:power`,
      selector: `${externalId}:power`,
      read_only: false,
      has_feedback: true,
      min: 0,
      max: 1,
      category: DEVICE_FEATURE_CATEGORIES.AIR_CONDITIONING,
      type: DEVICE_FEATURE_TYPES.AIR_CONDITIONING.BINARY,
    },
    {
      name: 'Mode',
      external_id: `${externalId}:mode`,
      selector: `${externalId}:mode`,
      read_only: false,
      has_feedback: true,
      min: 0,
      max: 1,
      category: DEVICE_FEATURE_CATEGORIES.AIR_CONDITIONING,
      type: DEVICE_FEATURE_TYPES.AIR_CONDITIONING.MODE,
    },
    {
      name: 'Temperature',
      external_id: `${externalId}:temperature`,
      selector: `${externalId}:temperature`,
      read_only: false,
      has_feedback: true,
      min: melCloudDevice.MinTemperature,
      max: melCloudDevice.MaxTemperature,
      category: DEVICE_FEATURE_CATEGORIES.AIR_CONDITIONING,
      type: DEVICE_FEATURE_TYPES.AIR_CONDITIONING.TARGET_TEMPERATURE,
    },
  ];
}
@description Get Gladys device features from MELCloud device.
@param {string} externalId - External ID of the Gladys device.
@param {object} melCloudDevice - MELCloud device.
@returns {Array} Array of Gladys device features.
@example
getGladysDeviceFeatures('melcloud:123456789:1', melCloudDevice);