enum DeviceType {
  AC,
  LightBulb,
  DoorLock,
  Curtain,
  Blind,
  ThreeGang,
  Gateway,
  CeilingSensor,
  WallSensor,
  Other,
}

Map<String, DeviceType> devicesTypesMap = {
  "AC": DeviceType.AC,
  "GW": DeviceType.Gateway,
  "CPS": DeviceType.CeilingSensor,
  "DL": DeviceType.DoorLock,
  "WPS": DeviceType.WallSensor,
  "3G": DeviceType.ThreeGang,
};
