const.js 1.7 KB

123456789101112131415161718192021222324252627
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.CK_COLOR_MODE_RGB = exports.CK_COLOR_MODE_CCT = exports.CK_COLOR_TEMP_MAX = exports.CK_COLOR_TEMP_MIN = exports.HA_BRIGHTNESS_MAX = exports.HA_COLOR_MODE_BRIGHTNESS = exports.HA_COLOR_MODE_HS = exports.HA_COLOR_MODE_XY = exports.HA_COLOR_MODE_COLOR_TEMP = exports.HA_SERVICE_LIGHT_TURN_OFF = exports.HA_SERVICE_LIGHT_TURN_ON = exports.HA_SERVICE_SWITCH_TURN_OFF = exports.HA_SERVICE_SWITCH_TURN_ON = exports.HA_WSMSG_TYPE_EXECUTE_SCRIPT = exports.CK_UIID_20008 = exports.CK_UIID_20007 = exports.CK_UIID_20006 = exports.CK_UIID_20005 = exports.CK_UIID_20004 = exports.CK_UIID_20003 = exports.CK_UIID_20002 = exports.CK_UIID_20001 = exports.CK_UIID_20000 = exports.GW_DATA_FILENAME = void 0;
  4. exports.GW_DATA_FILENAME = 'gwdata.json';
  5. exports.CK_UIID_20000 = 20000;
  6. exports.CK_UIID_20001 = 20001;
  7. exports.CK_UIID_20002 = 20002;
  8. exports.CK_UIID_20003 = 20003;
  9. exports.CK_UIID_20004 = 20004;
  10. exports.CK_UIID_20005 = 20005;
  11. exports.CK_UIID_20006 = 20006;
  12. exports.CK_UIID_20007 = 20007;
  13. exports.CK_UIID_20008 = 20008;
  14. exports.HA_WSMSG_TYPE_EXECUTE_SCRIPT = 'execute_script';
  15. exports.HA_SERVICE_SWITCH_TURN_ON = 'switch.turn_on';
  16. exports.HA_SERVICE_SWITCH_TURN_OFF = 'switch.turn_off';
  17. exports.HA_SERVICE_LIGHT_TURN_ON = 'light.turn_on';
  18. exports.HA_SERVICE_LIGHT_TURN_OFF = 'light.turn_off';
  19. exports.HA_COLOR_MODE_COLOR_TEMP = 'color_temp';
  20. exports.HA_COLOR_MODE_XY = 'xy';
  21. exports.HA_COLOR_MODE_HS = 'hs';
  22. exports.HA_COLOR_MODE_BRIGHTNESS = 'brightness';
  23. exports.HA_BRIGHTNESS_MAX = 255;
  24. exports.CK_COLOR_TEMP_MIN = 0;
  25. exports.CK_COLOR_TEMP_MAX = 100;
  26. exports.CK_COLOR_MODE_CCT = 'cct';
  27. exports.CK_COLOR_MODE_RGB = 'rgb';