function transfromValueFromGladys(deviceFeature, value) {
  const [, , code] = deviceFeature.external_id.split(':');

  switch (code) {
    case 'power':
      return {
        EffectiveFlags: 1,
        Power: value === 1,
      };
    case 'mode':
      return {
        EffectiveFlags: 6,
        OperationMode: modesGaldysToMELCloud[value],
      };
    case 'temperature':
      return {
        EffectiveFlags: 4,
        SetTemperature: value,
      };

    default:
      return null;
  }
}
@description Transform value from Gladys to MELCloud.
@param {object} deviceFeature - Gladys device feature.
@param {number} value - Gladys Value.
@returns {object} Value.
@example
transfromValueFromGladys(deviceFeature, value);