UNPKG

@webarray/esphome-native-api

Version:

TypeScript/Node.js client for ESPHome native API with encryption and deep sleep support

47 lines 1.04 kB
"use strict"; /** * AUTO-GENERATED FILE - DO NOT EDIT * Generated by scripts/generate-entity-types.js * * This file contains entity type definitions automatically extracted from proto files. * To regenerate, run: npm run generate:entity-types */ Object.defineProperty(exports, "__esModule", { value: true }); exports.ALL_ENTITY_TYPES = void 0; exports.isValidEntityType = isValidEntityType; /** * Array of all entity type strings * Useful for validation and iteration */ exports.ALL_ENTITY_TYPES = [ 'binary_sensor', 'cover', 'fan', 'light', 'sensor', 'switch', 'text_sensor', 'camera', 'climate', 'number', 'select', 'siren', 'lock', 'button', 'media_player', 'alarm_control_panel', 'text', 'date', 'time', 'event', 'valve', 'datetime', 'update', ]; /** * Check if a string is a valid entity type */ function isValidEntityType(type) { return exports.ALL_ENTITY_TYPES.includes(type); } //# sourceMappingURL=generated-entity-types.js.map