@fastybird/smart-panel-backend 0.12.0-alpha.0 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.constants.js.map +1 -1
- package/dist/app.module.js +44 -17
- package/dist/app.module.js.map +1 -1
- package/dist/common/filters/bad-request-exception.filter.js +0 -6
- package/dist/common/filters/bad-request-exception.filter.js.map +1 -1
- package/dist/common/filters/global-error.filter.js +2 -6
- package/dist/common/filters/global-error.filter.js.map +1 -1
- package/dist/common/filters/internal-server-error-exception.filter.js +0 -5
- package/dist/common/filters/internal-server-error-exception.filter.js.map +1 -1
- package/dist/common/filters/not-found-exception.filter.d.ts +4 -0
- package/dist/common/filters/not-found-exception.filter.js +22 -3
- package/dist/common/filters/not-found-exception.filter.js.map +1 -1
- package/dist/common/filters/query-failed-exception.filter.js +0 -5
- package/dist/common/filters/query-failed-exception.filter.js.map +1 -1
- package/dist/common/filters/unprocessable-entity-exception.filter.js +0 -5
- package/dist/common/filters/unprocessable-entity-exception.filter.js.map +1 -1
- package/dist/common/plugin-relations/relation-loader.interface.d.ts +5 -0
- package/dist/common/plugin-relations/relation-loader.interface.js +3 -0
- package/dist/common/plugin-relations/relation-loader.interface.js.map +1 -0
- package/dist/common/services/app-instance-holder.service.d.ts +1 -2
- package/dist/common/services/app-instance-holder.service.js.map +1 -1
- package/dist/common/utils/config.utils.d.ts +0 -1
- package/dist/common/utils/config.utils.js +1 -11
- package/dist/common/utils/config.utils.js.map +1 -1
- package/dist/main.js +25 -6
- package/dist/main.js.map +1 -1
- package/dist/migrations/1000000000000-InitialSetup.js +8 -0
- package/dist/migrations/1000000000000-InitialSetup.js.map +1 -1
- package/dist/migrations/1000000000002-AddTokenLastUsedAt.d.ts +6 -0
- package/dist/migrations/1000000000002-AddTokenLastUsedAt.js +15 -0
- package/dist/migrations/1000000000002-AddTokenLastUsedAt.js.map +1 -0
- package/dist/migrations/1000000000003-UnifySpaceRoleTables.d.ts +6 -0
- package/dist/migrations/1000000000003-UnifySpaceRoleTables.js +88 -0
- package/dist/migrations/1000000000003-UnifySpaceRoleTables.js.map +1 -0
- package/dist/migrations/1000000000004-DisplaysSpaceOnly.d.ts +6 -0
- package/dist/migrations/1000000000004-DisplaysSpaceOnly.js +165 -0
- package/dist/migrations/1000000000004-DisplaysSpaceOnly.js.map +1 -0
- package/dist/migrations/1000000000005-SpacesSignageInfoPanel.d.ts +6 -0
- package/dist/migrations/1000000000005-SpacesSignageInfoPanel.js +66 -0
- package/dist/migrations/1000000000005-SpacesSignageInfoPanel.js.map +1 -0
- package/dist/migrations/1000000000006-DropLegacyRoleTables.d.ts +6 -0
- package/dist/migrations/1000000000006-DropLegacyRoleTables.js +32 -0
- package/dist/migrations/1000000000006-DropLegacyRoleTables.js.map +1 -0
- package/dist/modules/api/interceptors/open-api-response.interceptor.js +1 -1
- package/dist/modules/api/interceptors/open-api-response.interceptor.js.map +1 -1
- package/dist/modules/auth/auth.module.js +44 -28
- package/dist/modules/auth/auth.module.js.map +1 -1
- package/dist/modules/auth/controllers/auth.controller.js +6 -0
- package/dist/modules/auth/controllers/auth.controller.js.map +1 -1
- package/dist/modules/auth/controllers/tokens.controller.d.ts +10 -3
- package/dist/modules/auth/controllers/tokens.controller.js +96 -7
- package/dist/modules/auth/controllers/tokens.controller.js.map +1 -1
- package/dist/modules/auth/dto/create-personal-token.dto.d.ts +8 -0
- package/dist/modules/auth/dto/create-personal-token.dto.js +75 -0
- package/dist/modules/auth/dto/create-personal-token.dto.js.map +1 -0
- package/dist/modules/auth/dto/register.dto.d.ts +1 -1
- package/dist/modules/auth/dto/register.dto.js +13 -11
- package/dist/modules/auth/dto/register.dto.js.map +1 -1
- package/dist/modules/auth/entities/auth.entity.d.ts +1 -0
- package/dist/modules/auth/entities/auth.entity.js +13 -0
- package/dist/modules/auth/entities/auth.entity.js.map +1 -1
- package/dist/modules/auth/guards/auth.guard.d.ts +0 -1
- package/dist/modules/auth/guards/auth.guard.js +8 -26
- package/dist/modules/auth/guards/auth.guard.js.map +1 -1
- package/dist/modules/auth/guards/display-aware-throttler.guard.d.ts +16 -0
- package/dist/modules/auth/guards/display-aware-throttler.guard.js +133 -0
- package/dist/modules/auth/guards/display-aware-throttler.guard.js.map +1 -0
- package/dist/modules/auth/services/auth.service.js +1 -1
- package/dist/modules/auth/services/auth.service.js.map +1 -1
- package/dist/modules/auth/services/tokens.service.d.ts +10 -0
- package/dist/modules/auth/services/tokens.service.js +35 -0
- package/dist/modules/auth/services/tokens.service.js.map +1 -1
- package/dist/modules/auth/utils/token.utils.d.ts +7 -0
- package/dist/modules/auth/utils/token.utils.js +12 -1
- package/dist/modules/auth/utils/token.utils.js.map +1 -1
- package/dist/modules/buddy/buddy.module.d.ts +5 -1
- package/dist/modules/buddy/buddy.module.js +42 -15
- package/dist/modules/buddy/buddy.module.js.map +1 -1
- package/dist/modules/buddy/buddy.utils.d.ts +8 -0
- package/dist/modules/buddy/buddy.utils.js +49 -0
- package/dist/modules/buddy/buddy.utils.js.map +1 -1
- package/dist/modules/buddy/controllers/buddy-suggestions.controller.js +2 -2
- package/dist/modules/buddy/controllers/buddy-suggestions.controller.js.map +1 -1
- package/dist/modules/buddy/entities/buddy-conversation.entity.js +3 -3
- package/dist/modules/buddy/entities/buddy-conversation.entity.js.map +1 -1
- package/dist/modules/buddy/entities/buddy-message.entity.js +2 -2
- package/dist/modules/buddy/entities/buddy-message.entity.js.map +1 -1
- package/dist/modules/buddy/entities/buddy-suggestion.entity.d.ts +19 -0
- package/dist/modules/buddy/entities/buddy-suggestion.entity.js +93 -0
- package/dist/modules/buddy/entities/buddy-suggestion.entity.js.map +1 -0
- package/dist/modules/buddy/listeners/media-activity-event.listener.js +3 -3
- package/dist/modules/buddy/listeners/media-activity-event.listener.js.map +1 -1
- package/dist/modules/buddy/platforms/llm-provider.platform.d.ts +6 -0
- package/dist/modules/buddy/platforms/openai-sdk.utils.d.ts +2 -1
- package/dist/modules/buddy/platforms/openai-sdk.utils.js +12 -1
- package/dist/modules/buddy/platforms/openai-sdk.utils.js.map +1 -1
- package/dist/modules/buddy/services/buddy-context.service.js +2 -2
- package/dist/modules/buddy/services/buddy-context.service.js.map +1 -1
- package/dist/modules/buddy/services/buddy-conversation.service.js +23 -8
- package/dist/modules/buddy/services/buddy-conversation.service.js.map +1 -1
- package/dist/modules/buddy/services/buddy-personality.service.d.ts +1 -1
- package/dist/modules/buddy/services/buddy-personality.service.js.map +1 -1
- package/dist/modules/buddy/services/heartbeat.service.js +2 -2
- package/dist/modules/buddy/services/heartbeat.service.js.map +1 -1
- package/dist/modules/buddy/services/llm-provider.service.js +2 -10
- package/dist/modules/buddy/services/llm-provider.service.js.map +1 -1
- package/dist/modules/buddy/services/module-reset.service.d.ts +3 -1
- package/dist/modules/buddy/services/module-reset.service.js +6 -1
- package/dist/modules/buddy/services/module-reset.service.js.map +1 -1
- package/dist/modules/buddy/services/pattern-detector.service.d.ts +4 -1
- package/dist/modules/buddy/services/pattern-detector.service.js +10 -3
- package/dist/modules/buddy/services/pattern-detector.service.js.map +1 -1
- package/dist/modules/buddy/services/scene-suggestion-evaluator.service.d.ts +4 -1
- package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js +10 -4
- package/dist/modules/buddy/services/scene-suggestion-evaluator.service.js.map +1 -1
- package/dist/modules/buddy/services/stt-provider.service.js +2 -10
- package/dist/modules/buddy/services/stt-provider.service.js.map +1 -1
- package/dist/modules/buddy/services/suggestion-engine.service.d.ts +19 -13
- package/dist/modules/buddy/services/suggestion-engine.service.js +170 -103
- package/dist/modules/buddy/services/suggestion-engine.service.js.map +1 -1
- package/dist/modules/buddy/services/tts-provider.service.js +2 -10
- package/dist/modules/buddy/services/tts-provider.service.js.map +1 -1
- package/dist/modules/config/config.constants.d.ts +2 -1
- package/dist/modules/config/config.constants.js +1 -0
- package/dist/modules/config/config.constants.js.map +1 -1
- package/dist/modules/config/config.module.d.ts +5 -1
- package/dist/modules/config/config.module.js +78 -14
- package/dist/modules/config/config.module.js.map +1 -1
- package/dist/modules/config/services/config.service.d.ts +1 -0
- package/dist/modules/config/services/config.service.js +11 -1
- package/dist/modules/config/services/config.service.js.map +1 -1
- package/dist/modules/dashboard/dashboard.module.js +21 -18
- package/dist/modules/dashboard/dashboard.module.js.map +1 -1
- package/dist/modules/dashboard/entities/dashboard.relations.d.ts +1 -5
- package/dist/modules/devices/devices.module.js +24 -16
- package/dist/modules/devices/devices.module.js.map +1 -1
- package/dist/modules/devices/services/device-zones.service.js +2 -2
- package/dist/modules/devices/services/device-zones.service.js.map +1 -1
- package/dist/modules/devices/services/devices.service.js.map +1 -1
- package/dist/modules/displays/displays.constants.d.ts +0 -5
- package/dist/modules/displays/displays.constants.js +1 -7
- package/dist/modules/displays/displays.constants.js.map +1 -1
- package/dist/modules/displays/displays.module.js +27 -23
- package/dist/modules/displays/displays.module.js.map +1 -1
- package/dist/modules/displays/dto/update-display.dto.d.ts +2 -3
- package/dist/modules/displays/dto/update-display.dto.js +4 -19
- package/dist/modules/displays/dto/update-display.dto.js.map +1 -1
- package/dist/modules/displays/entities/displays.entity.d.ts +3 -4
- package/dist/modules/displays/entities/displays.entity.js +8 -25
- package/dist/modules/displays/entities/displays.entity.js.map +1 -1
- package/dist/modules/displays/services/displays.service.d.ts +4 -2
- package/dist/modules/displays/services/displays.service.js +19 -24
- package/dist/modules/displays/services/displays.service.js.map +1 -1
- package/dist/modules/displays/services/home-resolution.service.d.ts +7 -2
- package/dist/modules/displays/services/home-resolution.service.js +50 -6
- package/dist/modules/displays/services/home-resolution.service.js.map +1 -1
- package/dist/modules/displays/services/space-home-page-resolver-registry.service.d.ts +9 -0
- package/dist/modules/displays/services/space-home-page-resolver-registry.service.js +26 -0
- package/dist/modules/displays/services/space-home-page-resolver-registry.service.js.map +1 -0
- package/dist/modules/displays/services/space-selection-validator-registry.service.d.ts +9 -0
- package/dist/modules/displays/services/space-selection-validator-registry.service.js +26 -0
- package/dist/modules/displays/services/space-selection-validator-registry.service.js.map +1 -0
- package/dist/modules/energy/energy.module.js +29 -15
- package/dist/modules/energy/energy.module.js.map +1 -1
- package/dist/modules/extensions/controllers/actions.controller.d.ts +9 -4
- package/dist/modules/extensions/controllers/actions.controller.js +63 -10
- package/dist/modules/extensions/controllers/actions.controller.js.map +1 -1
- package/dist/modules/extensions/extensions.module.js +31 -28
- package/dist/modules/extensions/extensions.module.js.map +1 -1
- package/dist/modules/extensions/extensions.openapi.d.ts +3 -3
- package/dist/modules/extensions/extensions.openapi.js +2 -0
- package/dist/modules/extensions/extensions.openapi.js.map +1 -1
- package/dist/modules/extensions/models/action.model.d.ts +13 -0
- package/dist/modules/extensions/models/action.model.js +89 -3
- package/dist/modules/extensions/models/action.model.js.map +1 -1
- package/dist/modules/extensions/models/actions-response.model.d.ts +4 -1
- package/dist/modules/extensions/models/actions-response.model.js +19 -1
- package/dist/modules/extensions/models/actions-response.model.js.map +1 -1
- package/dist/modules/extensions/models/extension.model.js +5 -0
- package/dist/modules/extensions/models/extension.model.js.map +1 -1
- package/dist/modules/extensions/models/service-status.model.js +7 -0
- package/dist/modules/extensions/models/service-status.model.js.map +1 -1
- package/dist/modules/extensions/services/action-audit.service.d.ts +21 -0
- package/dist/modules/extensions/services/action-audit.service.js +49 -0
- package/dist/modules/extensions/services/action-audit.service.js.map +1 -0
- package/dist/modules/extensions/services/base-managed-plugin.service.d.ts +11 -0
- package/dist/modules/extensions/services/base-managed-plugin.service.js +28 -0
- package/dist/modules/extensions/services/base-managed-plugin.service.js.map +1 -0
- package/dist/modules/extensions/services/extension-action-registry.service.d.ts +6 -1
- package/dist/modules/extensions/services/extension-action-registry.service.js +22 -3
- package/dist/modules/extensions/services/extension-action-registry.service.js.map +1 -1
- package/dist/modules/extensions/services/extension-action.interface.d.ts +3 -0
- package/dist/modules/extensions/services/extension-action.interface.js +3 -1
- package/dist/modules/extensions/services/extension-action.interface.js.map +1 -1
- package/dist/modules/intents/intents.module.js +27 -26
- package/dist/modules/intents/intents.module.js.map +1 -1
- package/dist/modules/mdns/mdns.module.js +24 -19
- package/dist/modules/mdns/mdns.module.js.map +1 -1
- package/dist/modules/platform/dto/system-info.dto.d.ts +2 -0
- package/dist/modules/platform/dto/system-info.dto.js +7 -0
- package/dist/modules/platform/dto/system-info.dto.js.map +1 -1
- package/dist/modules/platform/platform.module.js +25 -17
- package/dist/modules/platform/platform.module.js.map +1 -1
- package/dist/modules/platform/platforms/abstract.platform.d.ts +44 -0
- package/dist/modules/platform/platforms/abstract.platform.js +267 -0
- package/dist/modules/platform/platforms/abstract.platform.js.map +1 -1
- package/dist/modules/platform/platforms/docker.platform.d.ts +2 -0
- package/dist/modules/platform/platforms/docker.platform.js +3 -0
- package/dist/modules/platform/platforms/docker.platform.js.map +1 -1
- package/dist/modules/platform/platforms/generic.platform.d.ts +2 -1
- package/dist/modules/platform/platforms/generic.platform.js +17 -15
- package/dist/modules/platform/platforms/generic.platform.js.map +1 -1
- package/dist/modules/platform/platforms/home-assistant.platform.d.ts +4 -0
- package/dist/modules/platform/platforms/home-assistant.platform.js +21 -0
- package/dist/modules/platform/platforms/home-assistant.platform.js.map +1 -1
- package/dist/modules/platform/platforms/raspberry.platform.js +22 -40
- package/dist/modules/platform/platforms/raspberry.platform.js.map +1 -1
- package/dist/modules/platform/services/platform.service.d.ts +2 -0
- package/dist/modules/platform/services/platform.service.js +7 -0
- package/dist/modules/platform/services/platform.service.js.map +1 -1
- package/dist/modules/scenes/scenes.module.js +18 -18
- package/dist/modules/scenes/scenes.module.js.map +1 -1
- package/dist/modules/security/security.module.js +22 -17
- package/dist/modules/security/security.module.js.map +1 -1
- package/dist/modules/spaces/controllers/spaces.controller.d.ts +5 -115
- package/dist/modules/spaces/controllers/spaces.controller.js +22 -1922
- package/dist/modules/spaces/controllers/spaces.controller.js.map +1 -1
- package/dist/modules/spaces/dto/create-space.dto.d.ts +1 -5
- package/dist/modules/spaces/dto/create-space.dto.js +0 -61
- package/dist/modules/spaces/dto/create-space.dto.js.map +1 -1
- package/dist/modules/spaces/dto/update-space.dto.d.ts +1 -5
- package/dist/modules/spaces/dto/update-space.dto.js +0 -61
- package/dist/modules/spaces/dto/update-space.dto.js.map +1 -1
- package/dist/modules/spaces/entities/space-role.entity.d.ts +8 -0
- package/dist/modules/spaces/entities/space-role.entity.js +58 -0
- package/dist/modules/spaces/entities/space-role.entity.js.map +1 -0
- package/dist/modules/spaces/entities/space.entity.d.ts +3 -6
- package/dist/modules/spaces/entities/space.entity.js +11 -74
- package/dist/modules/spaces/entities/space.entity.js.map +1 -1
- package/dist/modules/spaces/entities/space.relations.d.ts +11 -0
- package/dist/modules/spaces/entities/space.relations.js +3 -0
- package/dist/modules/spaces/entities/space.relations.js.map +1 -0
- package/dist/modules/spaces/models/spaces-response.model.d.ts +1 -522
- package/dist/modules/spaces/models/spaces-response.model.js +23 -4150
- package/dist/modules/spaces/models/spaces-response.model.js.map +1 -1
- package/dist/modules/spaces/services/space-create-builder-registry.service.d.ts +6 -0
- package/dist/modules/spaces/services/space-create-builder-registry.service.js +26 -0
- package/dist/modules/spaces/services/space-create-builder-registry.service.js.map +1 -0
- package/dist/modules/spaces/services/space-relations-loader-registry.service.d.ts +6 -0
- package/dist/modules/spaces/services/space-relations-loader-registry.service.js +26 -0
- package/dist/modules/spaces/services/space-relations-loader-registry.service.js.map +1 -0
- package/dist/modules/spaces/services/space-roles-type-mapper.service.d.ts +12 -0
- package/dist/modules/spaces/services/space-roles-type-mapper.service.js +39 -0
- package/dist/modules/spaces/services/space-roles-type-mapper.service.js.map +1 -0
- package/dist/modules/spaces/services/spaces-type-mapper.service.d.ts +17 -0
- package/dist/modules/spaces/services/spaces-type-mapper.service.js +36 -0
- package/dist/modules/spaces/services/spaces-type-mapper.service.js.map +1 -0
- package/dist/modules/spaces/services/spaces.service.d.ts +4 -12
- package/dist/modules/spaces/services/spaces.service.js +120 -160
- package/dist/modules/spaces/services/spaces.service.js.map +1 -1
- package/dist/modules/spaces/spaces.constants.d.ts +13 -292
- package/dist/modules/spaces/spaces.constants.js +13 -1449
- package/dist/modules/spaces/spaces.constants.js.map +1 -1
- package/dist/modules/spaces/spaces.module.d.ts +2 -9
- package/dist/modules/spaces/spaces.module.js +51 -108
- package/dist/modules/spaces/spaces.module.js.map +1 -1
- package/dist/modules/spaces/spaces.openapi.d.ts +3 -16
- package/dist/modules/spaces/spaces.openapi.js +0 -136
- package/dist/modules/spaces/spaces.openapi.js.map +1 -1
- package/dist/modules/stats/controllers/prometheus.controller.js +0 -2
- package/dist/modules/stats/controllers/prometheus.controller.js.map +1 -1
- package/dist/modules/storage/models/config.model.js +2 -4
- package/dist/modules/storage/models/config.model.js.map +1 -1
- package/dist/modules/storage/services/storage.service.d.ts +4 -10
- package/dist/modules/storage/services/storage.service.js +21 -60
- package/dist/modules/storage/services/storage.service.js.map +1 -1
- package/dist/modules/storage/storage.constants.d.ts +2 -0
- package/dist/modules/storage/storage.constants.js +3 -1
- package/dist/modules/storage/storage.constants.js.map +1 -1
- package/dist/modules/storage/storage.module.js +26 -7
- package/dist/modules/storage/storage.module.js.map +1 -1
- package/dist/modules/swagger/commands/serve-swagger.command.d.ts +14 -0
- package/dist/modules/swagger/commands/serve-swagger.command.js +60 -0
- package/dist/modules/swagger/commands/serve-swagger.command.js.map +1 -0
- package/dist/modules/swagger/swagger.module.js +2 -0
- package/dist/modules/swagger/swagger.module.js.map +1 -1
- package/dist/modules/system/backup-contribution.module.d.ts +2 -0
- package/dist/modules/system/backup-contribution.module.js +22 -0
- package/dist/modules/system/backup-contribution.module.js.map +1 -0
- package/dist/modules/system/controllers/backup.controller.d.ts +17 -0
- package/dist/modules/system/controllers/backup.controller.js +308 -0
- package/dist/modules/system/controllers/backup.controller.js.map +1 -0
- package/dist/modules/system/dto/create-backup.dto.d.ts +6 -0
- package/dist/modules/system/dto/create-backup.dto.js +43 -0
- package/dist/modules/system/dto/create-backup.dto.js.map +1 -0
- package/dist/modules/system/models/backup-response.model.d.ts +8 -0
- package/dist/modules/system/models/backup-response.model.js +46 -0
- package/dist/modules/system/models/backup-response.model.js.map +1 -0
- package/dist/modules/system/models/backup.model.d.ts +14 -0
- package/dist/modules/system/models/backup.model.js +103 -0
- package/dist/modules/system/models/backup.model.js.map +1 -0
- package/dist/modules/system/models/system.model.d.ts +3 -1
- package/dist/modules/system/models/system.model.js +26 -0
- package/dist/modules/system/models/system.model.js.map +1 -1
- package/dist/modules/system/scripts/update-worker.sh +304 -0
- package/dist/modules/system/services/backup-contribution-registry.service.d.ts +24 -0
- package/dist/modules/system/services/backup-contribution-registry.service.js +52 -0
- package/dist/modules/system/services/backup-contribution-registry.service.js.map +1 -0
- package/dist/modules/system/services/backup.service.d.ts +52 -0
- package/dist/modules/system/services/backup.service.js +630 -0
- package/dist/modules/system/services/backup.service.js.map +1 -0
- package/dist/modules/system/services/house-mode-actions.service.d.ts +1 -1
- package/dist/modules/system/services/house-mode-actions.service.js +5 -5
- package/dist/modules/system/services/house-mode-actions.service.js.map +1 -1
- package/dist/modules/system/services/system-command.service.d.ts +7 -1
- package/dist/modules/system/services/system-command.service.js +24 -4
- package/dist/modules/system/services/system-command.service.js.map +1 -1
- package/dist/modules/system/services/system.service.js +4 -1
- package/dist/modules/system/services/system.service.js.map +1 -1
- package/dist/modules/system/services/update-executor.service.d.ts +4 -0
- package/dist/modules/system/services/update-executor.service.js +130 -10
- package/dist/modules/system/services/update-executor.service.js.map +1 -1
- package/dist/modules/system/system.constants.d.ts +7 -0
- package/dist/modules/system/system.constants.js +9 -1
- package/dist/modules/system/system.constants.js.map +1 -1
- package/dist/modules/system/system.module.d.ts +5 -1
- package/dist/modules/system/system.module.js +95 -31
- package/dist/modules/system/system.module.js.map +1 -1
- package/dist/modules/system/system.openapi.d.ts +4 -1
- package/dist/modules/system/system.openapi.js +8 -0
- package/dist/modules/system/system.openapi.js.map +1 -1
- package/dist/modules/users/controllers/users.controller.js +9 -0
- package/dist/modules/users/controllers/users.controller.js.map +1 -1
- package/dist/modules/users/dto/create-user.dto.js +1 -0
- package/dist/modules/users/dto/create-user.dto.js.map +1 -1
- package/dist/modules/users/dto/update-user.dto.d.ts +1 -0
- package/dist/modules/users/dto/update-user.dto.js +15 -1
- package/dist/modules/users/dto/update-user.dto.js.map +1 -1
- package/dist/modules/users/services/users.service.d.ts +1 -0
- package/dist/modules/users/services/users.service.js +12 -2
- package/dist/modules/users/services/users.service.js.map +1 -1
- package/dist/modules/users/users.constants.d.ts +3 -0
- package/dist/modules/users/users.constants.js +35 -1
- package/dist/modules/users/users.constants.js.map +1 -1
- package/dist/modules/users/users.module.js +29 -13
- package/dist/modules/users/users.module.js.map +1 -1
- package/dist/modules/weather/weather.module.js +20 -18
- package/dist/modules/weather/weather.module.js.map +1 -1
- package/dist/modules/websocket/dto/client-user.dto.js +25 -0
- package/dist/modules/websocket/dto/client-user.dto.js.map +1 -1
- package/dist/modules/websocket/dto/ws-client.dto.js +26 -0
- package/dist/modules/websocket/dto/ws-client.dto.js.map +1 -1
- package/dist/modules/websocket/gateway/websocket.gateway.d.ts +2 -2
- package/dist/modules/websocket/gateway/websocket.gateway.js +27 -9
- package/dist/modules/websocket/gateway/websocket.gateway.js.map +1 -1
- package/dist/modules/websocket/services/command-event-registry.service.d.ts +3 -1
- package/dist/modules/websocket/services/command-event-registry.service.js +5 -4
- package/dist/modules/websocket/services/command-event-registry.service.js.map +1 -1
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js +24 -11
- package/dist/plugins/buddy-claude/buddy-claude.plugin.js.map +1 -1
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js +21 -11
- package/dist/plugins/buddy-claude-setup-token/buddy-claude-setup-token.plugin.js.map +1 -1
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js +28 -16
- package/dist/plugins/buddy-discord/buddy-discord.plugin.js.map +1 -1
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js +22 -11
- package/dist/plugins/buddy-elevenlabs/buddy-elevenlabs.plugin.js.map +1 -1
- package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js +28 -12
- package/dist/plugins/buddy-ollama/buddy-ollama.plugin.js.map +1 -1
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js +24 -15
- package/dist/plugins/buddy-openai/buddy-openai.plugin.js.map +1 -1
- package/dist/plugins/buddy-openai/platforms/openai.provider.js +1 -0
- package/dist/plugins/buddy-openai/platforms/openai.provider.js.map +1 -1
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js +26 -15
- package/dist/plugins/buddy-openai-codex/buddy-openai-codex.plugin.js.map +1 -1
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js +23 -9
- package/dist/plugins/buddy-stt-whisper-local/buddy-stt-whisper-local.plugin.js.map +1 -1
- package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js +21 -10
- package/dist/plugins/buddy-system-tts/buddy-system-tts.plugin.js.map +1 -1
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js +22 -11
- package/dist/plugins/buddy-telegram/buddy-telegram.plugin.js.map +1 -1
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js +22 -12
- package/dist/plugins/buddy-voiceai/buddy-voiceai.plugin.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js +24 -12
- package/dist/plugins/buddy-whatsapp/buddy-whatsapp.plugin.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.d.ts +2 -2
- package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js +3 -3
- package/dist/plugins/buddy-whatsapp/controllers/whatsapp-webhook.controller.js.map +1 -1
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.d.ts +2 -1
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js +31 -12
- package/dist/plugins/buddy-whatsapp/platforms/whatsapp-bot.provider.js.map +1 -1
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js +16 -30
- package/dist/plugins/data-sources-device-channel/data-sources-device-channel.plugin.js.map +1 -1
- package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js +17 -29
- package/dist/plugins/data-sources-weather/data-sources-weather.plugin.js.map +1 -1
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js +37 -136
- package/dist/plugins/devices-home-assistant/devices-home-assistant.plugin.js.map +1 -1
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js +22 -2
- package/dist/plugins/devices-home-assistant/dto/home-assistant-discovered-helper.dto.js.map +1 -1
- package/dist/plugins/devices-home-assistant/models/config.model.d.ts +1 -0
- package/dist/plugins/devices-home-assistant/models/config.model.js +12 -0
- package/dist/plugins/devices-home-assistant/models/config.model.js.map +1 -1
- package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.d.ts +3 -1
- package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js +11 -2
- package/dist/plugins/devices-home-assistant/platforms/home-assistant.device.platform.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js +0 -6
- package/dist/plugins/devices-home-assistant/services/ha-mdns-discoverer.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/ha-supervisor.service.d.ts +10 -0
- package/dist/plugins/devices-home-assistant/services/ha-supervisor.service.js +47 -0
- package/dist/plugins/devices-home-assistant/services/ha-supervisor.service.js.map +1 -0
- package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.d.ts +3 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js +8 -2
- package/dist/plugins/devices-home-assistant/services/home-assistant-config-validator.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.d.ts +5 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js +27 -7
- package/dist/plugins/devices-home-assistant/services/home-assistant.http.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.d.ts +9 -7
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js +58 -24
- package/dist/plugins/devices-home-assistant/services/home-assistant.ws.service.js.map +1 -1
- package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js +1 -0
- package/dist/plugins/devices-home-assistant/services/state-changed.event.service.js.map +1 -1
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js +20 -17
- package/dist/plugins/devices-reterminal/devices-reterminal.plugin.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.d.ts +7 -2
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js +83 -2
- package/dist/plugins/devices-shelly-ng/controllers/shelly-ng-devices.controller.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.d.ts +4 -0
- package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js +86 -11
- package/dist/plugins/devices-shelly-ng/delegates/delegates-manager.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.d.ts +8 -0
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js +45 -0
- package/dist/plugins/devices-shelly-ng/delegates/shelly-device.delegate.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.d.ts +3 -3
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js +4 -0
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.openapi.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.d.ts +6 -1
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js +72 -21
- package/dist/plugins/devices-shelly-ng/devices-shelly-ng.plugin.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/dto/update-config.dto.d.ts +1 -0
- package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js +24 -6
- package/dist/plugins/devices-shelly-ng/dto/update-config.dto.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js +12 -0
- package/dist/plugins/devices-shelly-ng/entities/devices-shelly-ng.entity.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/entities/shelly-ng-device-address.entity.js +2 -0
- package/dist/plugins/devices-shelly-ng/entities/shelly-ng-device-address.entity.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/models/config.model.d.ts +1 -0
- package/dist/plugins/devices-shelly-ng/models/config.model.js +18 -6
- package/dist/plugins/devices-shelly-ng/models/config.model.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.d.ts +4 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js +15 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng-response.model.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.d.ts +30 -0
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js +269 -1
- package/dist/plugins/devices-shelly-ng/models/shelly-ng.model.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/device-manager.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-discovery.service.d.ts +64 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-discovery.service.js +301 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng-discovery.service.js.map +1 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.d.ts +17 -7
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js +110 -15
- package/dist/plugins/devices-shelly-ng/services/shelly-ng.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.d.ts +5 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js +3 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-rpc-client.service.js.map +1 -1
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.d.ts +28 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js +197 -0
- package/dist/plugins/devices-shelly-ng/services/shelly-ws-server.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.d.ts +7 -2
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js +83 -2
- package/dist/plugins/devices-shelly-v1/controllers/shelly-v1-devices.controller.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.d.ts +3 -3
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js +4 -0
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.openapi.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js +27 -23
- package/dist/plugins/devices-shelly-v1/devices-shelly-v1.plugin.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.d.ts +4 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js +15 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1-response.model.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.d.ts +31 -0
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js +279 -1
- package/dist/plugins/devices-shelly-v1/models/shelly-v1.model.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.d.ts +0 -1
- package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js +2 -9
- package/dist/plugins/devices-shelly-v1/platforms/shelly-v1.device.platform.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/device-mapper.service.d.ts +0 -1
- package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js +2 -15
- package/dist/plugins/devices-shelly-v1/services/device-mapper.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.d.ts +9 -2
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js +93 -20
- package/dist/plugins/devices-shelly-v1/services/shellies-adapter.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-discovery.service.d.ts +62 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-discovery.service.js +314 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1-discovery.service.js.map +1 -0
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.d.ts +3 -6
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js +13 -37
- package/dist/plugins/devices-shelly-v1/services/shelly-v1.service.js.map +1 -1
- package/dist/plugins/devices-shelly-v1/utils/descriptor.utils.d.ts +2 -0
- package/dist/plugins/devices-shelly-v1/utils/descriptor.utils.js +23 -0
- package/dist/plugins/devices-shelly-v1/utils/descriptor.utils.js.map +1 -0
- package/dist/plugins/devices-third-party/devices-third-party.plugin.js +19 -23
- package/dist/plugins/devices-third-party/devices-third-party.plugin.js.map +1 -1
- package/dist/plugins/devices-wled/devices-wled.plugin.js +30 -20
- package/dist/plugins/devices-wled/devices-wled.plugin.js.map +1 -1
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js +0 -6
- package/dist/plugins/devices-wled/services/wled-mdns-discoverer.service.js.map +1 -1
- package/dist/plugins/devices-wled/services/wled.service.d.ts +3 -6
- package/dist/plugins/devices-wled/services/wled.service.js +3 -20
- package/dist/plugins/devices-wled/services/wled.service.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-wizard.controller.d.ts +14 -0
- package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-wizard.controller.js +185 -0
- package/dist/plugins/devices-zigbee2mqtt/controllers/zigbee2mqtt-wizard.controller.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.d.ts +5 -3
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js +12 -0
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.openapi.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js +43 -54
- package/dist/plugins/devices-zigbee2mqtt/devices-zigbee2mqtt.plugin.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/dto/wizard-adopt.dto.d.ts +12 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/wizard-adopt.dto.js +73 -0
- package/dist/plugins/devices-zigbee2mqtt/dto/wizard-adopt.dto.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/models/wizard.model.d.ts +38 -0
- package/dist/plugins/devices-zigbee2mqtt/models/wizard.model.js +259 -0
- package/dist/plugins/devices-zigbee2mqtt/models/wizard.model.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.d.ts +7 -0
- package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js +30 -1
- package/dist/plugins/devices-zigbee2mqtt/models/zigbee2mqtt-response.model.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/base-client-adapter.d.ts +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/base-client-adapter.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.d.ts +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js +22 -0
- package/dist/plugins/devices-zigbee2mqtt/services/mqtt-client-adapter.service.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/wizard.service.d.ts +70 -0
- package/dist/plugins/devices-zigbee2mqtt/services/wizard.service.js +361 -0
- package/dist/plugins/devices-zigbee2mqtt/services/wizard.service.js.map +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/ws-client-adapter.service.d.ts +1 -0
- package/dist/plugins/devices-zigbee2mqtt/services/ws-client-adapter.service.js +23 -0
- package/dist/plugins/devices-zigbee2mqtt/services/ws-client-adapter.service.js.map +1 -1
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.d.ts +10 -7
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js +46 -22
- package/dist/plugins/devices-zigbee2mqtt/services/zigbee2mqtt.service.js.map +1 -1
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.update-config.dto.d.ts → plugins/influx-v1/dto/update-config.dto.d.ts} +1 -1
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js → plugins/influx-v1/dto/update-config.dto.js} +3 -3
- package/dist/plugins/influx-v1/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/influx-v1/influx-v1.constants.js.map +1 -0
- package/dist/{modules/storage/plugins → plugins}/influx-v1/influx-v1.openapi.d.ts +1 -1
- package/dist/plugins/influx-v1/influx-v1.openapi.js +7 -0
- package/dist/plugins/influx-v1/influx-v1.openapi.js.map +1 -0
- package/dist/plugins/influx-v1/influx-v1.plugin.d.ts +15 -0
- package/dist/plugins/influx-v1/influx-v1.plugin.js +109 -0
- package/dist/plugins/influx-v1/influx-v1.plugin.js.map +1 -0
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.config.model.d.ts → plugins/influx-v1/models/config.model.d.ts} +1 -1
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.config.model.js → plugins/influx-v1/models/config.model.js} +3 -3
- package/dist/plugins/influx-v1/models/config.model.js.map +1 -0
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.d.ts +20 -0
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.js +128 -0
- package/dist/plugins/influx-v1/services/influx-v1-managed.service.js.map +1 -0
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.plugin.d.ts → plugins/influx-v1/services/influx-v1.storage.d.ts} +3 -3
- package/dist/{modules/storage/plugins/influx-v1/influx-v1.plugin.js → plugins/influx-v1/services/influx-v1.storage.js} +9 -9
- package/dist/plugins/influx-v1/services/influx-v1.storage.js.map +1 -0
- package/dist/plugins/influx-v2/dto/update-config.dto.d.ts +8 -0
- package/dist/plugins/influx-v2/dto/update-config.dto.js +82 -0
- package/dist/plugins/influx-v2/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/influx-v2/influx-v2.constants.d.ts +4 -0
- package/dist/plugins/influx-v2/influx-v2.constants.js +8 -0
- package/dist/plugins/influx-v2/influx-v2.constants.js.map +1 -0
- package/dist/plugins/influx-v2/influx-v2.openapi.d.ts +2 -0
- package/dist/plugins/influx-v2/influx-v2.openapi.js +7 -0
- package/dist/plugins/influx-v2/influx-v2.openapi.js.map +1 -0
- package/dist/plugins/influx-v2/influx-v2.plugin.d.ts +15 -0
- package/dist/plugins/influx-v2/influx-v2.plugin.js +109 -0
- package/dist/plugins/influx-v2/influx-v2.plugin.js.map +1 -0
- package/dist/plugins/influx-v2/models/config.model.d.ts +9 -0
- package/dist/plugins/influx-v2/models/config.model.js +93 -0
- package/dist/plugins/influx-v2/models/config.model.js.map +1 -0
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.d.ts +20 -0
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.js +132 -0
- package/dist/plugins/influx-v2/services/influx-v2-managed.service.js.map +1 -0
- package/dist/plugins/influx-v2/services/influx-v2.storage.d.ts +33 -0
- package/dist/plugins/influx-v2/services/influx-v2.storage.js +230 -0
- package/dist/plugins/influx-v2/services/influx-v2.storage.js.map +1 -0
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js +20 -29
- package/dist/plugins/logger-rotating-file/logger-rotating-file.plugin.js.map +1 -1
- package/dist/{modules/storage/plugins/memory/memory.update-config.dto.d.ts → plugins/memory-storage/dto/update-config.dto.d.ts} +1 -1
- package/dist/{modules/storage/plugins/memory/memory.update-config.dto.js → plugins/memory-storage/dto/update-config.dto.js} +5 -5
- package/dist/plugins/memory-storage/dto/update-config.dto.js.map +1 -0
- package/dist/{modules/storage/plugins/memory/memory.constants.js → plugins/memory-storage/memory-storage.constants.js} +1 -1
- package/dist/plugins/memory-storage/memory-storage.constants.js.map +1 -0
- package/dist/{modules/storage/plugins/memory/memory.openapi.d.ts → plugins/memory-storage/memory-storage.openapi.d.ts} +1 -1
- package/dist/plugins/memory-storage/memory-storage.openapi.js +7 -0
- package/dist/plugins/memory-storage/memory-storage.openapi.js.map +1 -0
- package/dist/plugins/memory-storage/memory-storage.plugin.d.ts +15 -0
- package/dist/plugins/memory-storage/memory-storage.plugin.js +92 -0
- package/dist/plugins/memory-storage/memory-storage.plugin.js.map +1 -0
- package/dist/{modules/storage/plugins/memory/memory.config.model.d.ts → plugins/memory-storage/models/config.model.d.ts} +1 -1
- package/dist/{modules/storage/plugins/memory/memory.config.model.js → plugins/memory-storage/models/config.model.js} +5 -5
- package/dist/plugins/memory-storage/models/config.model.js.map +1 -0
- package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/in-memory-timeseries.store.d.ts +1 -1
- package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/in-memory-timeseries.store.js +4 -4
- package/dist/plugins/memory-storage/services/in-memory-timeseries.store.js.map +1 -0
- package/dist/plugins/memory-storage/services/influxql-parser.js.map +1 -0
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.d.ts +14 -0
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.js +87 -0
- package/dist/plugins/memory-storage/services/memory-storage-managed.service.js.map +1 -0
- package/dist/{modules/storage/plugins/memory/memory.plugin.d.ts → plugins/memory-storage/services/memory-storage.storage.d.ts} +3 -3
- package/dist/{modules/storage/plugins/memory/memory.plugin.js → plugins/memory-storage/services/memory-storage.storage.js} +8 -8
- package/dist/plugins/memory-storage/services/memory-storage.storage.js.map +1 -0
- package/dist/plugins/pages-cards/pages-cards.plugin.js +15 -26
- package/dist/plugins/pages-cards/pages-cards.plugin.js.map +1 -1
- package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js +16 -25
- package/dist/plugins/pages-device-detail/pages-device-detail.plugin.js.map +1 -1
- package/dist/plugins/pages-tiles/pages-tiles.plugin.js +15 -26
- package/dist/plugins/pages-tiles/pages-tiles.plugin.js.map +1 -1
- package/dist/plugins/scenes-local/scenes-local.plugin.js +21 -22
- package/dist/plugins/scenes-local/scenes-local.plugin.js.map +1 -1
- package/dist/plugins/simulator/services/scenario-executor.service.d.ts +5 -5
- package/dist/plugins/simulator/services/scenario-executor.service.js +7 -6
- package/dist/plugins/simulator/services/scenario-executor.service.js.map +1 -1
- package/dist/plugins/simulator/services/simulator-actions.service.js +3 -0
- package/dist/plugins/simulator/services/simulator-actions.service.js.map +1 -1
- package/dist/plugins/simulator/simulator.plugin.js +49 -58
- package/dist/plugins/simulator/simulator.plugin.js.map +1 -1
- package/dist/plugins/spaces-home-control/controllers/spaces-domain.controller.d.ts +119 -0
- package/dist/plugins/spaces-home-control/controllers/spaces-domain.controller.js +1958 -0
- package/dist/plugins/spaces-home-control/controllers/spaces-domain.controller.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-intent.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-intent.dto.js +24 -24
- package/dist/plugins/spaces-home-control/dto/climate-intent.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-role.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/climate-role.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/climate-role.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-intent.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-intent.dto.js +18 -18
- package/dist/plugins/spaces-home-control/dto/covers-intent.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-role.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/covers-role.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/covers-role.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/dto/create-home-control-space.dto.d.ts +8 -0
- package/dist/plugins/spaces-home-control/dto/create-home-control-space.dto.js +85 -0
- package/dist/plugins/spaces-home-control/dto/create-home-control-space.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-intent.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-intent.dto.js +34 -34
- package/dist/plugins/spaces-home-control/dto/lighting-intent.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-role.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/lighting-role.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/lighting-role.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/media-activity-binding.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/media-activity-binding.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/media-activity-binding.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/sensor-role.dto.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/sensor-role.dto.js +4 -4
- package/dist/plugins/spaces-home-control/dto/sensor-role.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/dto/status-widget.dto.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/suggestion.dto.d.ts +2 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/dto/suggestion.dto.js +5 -4
- package/dist/plugins/spaces-home-control/dto/suggestion.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/spaces-home-control/dto/update-config.dto.js +34 -0
- package/dist/plugins/spaces-home-control/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/dto/update-home-control-space.dto.d.ts +8 -0
- package/dist/plugins/spaces-home-control/dto/update-home-control-space.dto.js +85 -0
- package/dist/plugins/spaces-home-control/dto/update-home-control-space.dto.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/room-space.entity.d.ts +8 -0
- package/dist/plugins/spaces-home-control/entities/room-space.entity.js +91 -0
- package/dist/plugins/spaces-home-control/entities/room-space.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-active-media-activity.entity.d.ts +11 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-active-media-activity.entity.js +23 -30
- package/dist/plugins/spaces-home-control/entities/space-active-media-activity.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-climate-role.entity.d.ts +13 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-climate-role.entity.js +25 -32
- package/dist/plugins/spaces-home-control/entities/space-climate-role.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-covers-role.entity.d.ts +13 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-covers-role.entity.js +27 -34
- package/dist/plugins/spaces-home-control/entities/space-covers-role.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-lighting-role.entity.d.ts +13 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-lighting-role.entity.js +27 -34
- package/dist/plugins/spaces-home-control/entities/space-lighting-role.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-media-activity-binding.entity.d.ts +15 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-media-activity-binding.entity.js +20 -28
- package/dist/plugins/spaces-home-control/entities/space-media-activity-binding.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/space-sensor-role.entity.d.ts +13 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/entities/space-sensor-role.entity.js +27 -34
- package/dist/plugins/spaces-home-control/entities/space-sensor-role.entity.js.map +1 -0
- package/dist/plugins/spaces-home-control/entities/zone-space.entity.d.ts +8 -0
- package/dist/plugins/spaces-home-control/entities/zone-space.entity.js +91 -0
- package/dist/plugins/spaces-home-control/entities/zone-space.entity.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-activity.listener.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-activity.listener.js +4 -4
- package/dist/plugins/spaces-home-control/listeners/space-activity.listener.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-climate-state.listener.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-climate-state.listener.js +6 -5
- package/dist/plugins/spaces-home-control/listeners/space-climate-state.listener.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-lighting-state.listener.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-lighting-state.listener.js +6 -5
- package/dist/plugins/spaces-home-control/listeners/space-lighting-state.listener.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-sensor-state.listener.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/space-sensor-state.listener.js +9 -8
- package/dist/plugins/spaces-home-control/listeners/space-sensor-state.listener.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/websocket-exchange.listener.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/listeners/websocket-exchange.listener.js +5 -5
- package/dist/plugins/spaces-home-control/listeners/websocket-exchange.listener.js.map +1 -0
- package/dist/plugins/spaces-home-control/models/config.model.d.ts +5 -0
- package/dist/plugins/spaces-home-control/models/config.model.js +49 -0
- package/dist/plugins/spaces-home-control/models/config.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/derived-media-endpoint.model.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/derived-media-endpoint.model.js +4 -4
- package/dist/plugins/spaces-home-control/models/derived-media-endpoint.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity-binding.model.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity-binding.model.js +1 -1
- package/dist/plugins/spaces-home-control/models/media-activity-binding.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity.model.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-activity.model.js +6 -6
- package/dist/plugins/spaces-home-control/models/media-activity.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-routing.model.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/models/media-routing.model.js +4 -4
- package/dist/plugins/spaces-home-control/models/media-routing.model.js.map +1 -0
- package/dist/plugins/spaces-home-control/models/spaces-response.model.d.ts +524 -0
- package/dist/plugins/spaces-home-control/models/spaces-response.model.js +4145 -0
- package/dist/plugins/spaces-home-control/models/spaces-response.model.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-scenario-templates.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-scenario-templates.js +3 -3
- package/dist/plugins/spaces-home-control/services/__fixtures__/media-scenario-templates.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-test-harness.d.ts +1 -1
- package/dist/plugins/spaces-home-control/services/__fixtures__/media-test-harness.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/climate-intent.service.d.ts +5 -5
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/climate-intent.service.js +35 -34
- package/dist/plugins/spaces-home-control/services/climate-intent.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/covers-intent.service.d.ts +5 -5
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/covers-intent.service.js +48 -47
- package/dist/plugins/spaces-home-control/services/covers-intent.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/derived-media-endpoint.service.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/derived-media-endpoint.service.js +28 -27
- package/dist/plugins/spaces-home-control/services/derived-media-endpoint.service.js.map +1 -0
- package/dist/plugins/spaces-home-control/services/home-control-home-page.resolver.d.ts +4 -0
- package/dist/plugins/spaces-home-control/services/home-control-home-page.resolver.js +20 -0
- package/dist/plugins/spaces-home-control/services/home-control-home-page.resolver.js.map +1 -0
- package/dist/plugins/spaces-home-control/services/home-control-spaces.service.d.ts +24 -0
- package/dist/plugins/spaces-home-control/services/home-control-spaces.service.js +182 -0
- package/dist/plugins/spaces-home-control/services/home-control-spaces.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/lighting-intent.service.d.ts +6 -6
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/lighting-intent.service.js +68 -67
- package/dist/plugins/spaces-home-control/services/lighting-intent.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/media-capability.service.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/media-capability.service.js +20 -19
- package/dist/plugins/spaces-home-control/services/media-capability.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-role.service.d.ts +4 -4
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-role.service.js +18 -17
- package/dist/plugins/spaces-home-control/services/space-climate-role.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-state.service.d.ts +5 -5
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-climate-state.service.js +32 -31
- package/dist/plugins/spaces-home-control/services/space-climate-state.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-context-snapshot.service.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-context-snapshot.service.js +7 -6
- package/dist/plugins/spaces-home-control/services/space-context-snapshot.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-role.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-role.service.js +28 -25
- package/dist/plugins/spaces-home-control/services/space-covers-role.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-state.service.d.ts +4 -4
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-covers-state.service.js +9 -8
- package/dist/plugins/spaces-home-control/services/space-covers-state.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent-base.service.d.ts +1 -1
- package/dist/plugins/spaces-home-control/services/space-intent-base.service.js.map +1 -0
- package/dist/plugins/spaces-home-control/services/space-intent.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-role.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-role.service.js +25 -22
- package/dist/plugins/spaces-home-control/services/space-lighting-role.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-state.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-state.service.js +20 -19
- package/dist/plugins/spaces-home-control/services/space-lighting-state.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-tool.service.d.ts +4 -4
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-lighting-tool.service.js +8 -7
- package/dist/plugins/spaces-home-control/services/space-lighting-tool.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity-binding.service.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity-binding.service.js +31 -30
- package/dist/plugins/spaces-home-control/services/space-media-activity-binding.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-media-activity.service.js +38 -37
- package/dist/plugins/spaces-home-control/services/space-media-activity.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-role.service.d.ts +4 -4
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-role.service.js +24 -23
- package/dist/plugins/spaces-home-control/services/space-sensor-role.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-state.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-sensor-state.service.js +19 -18
- package/dist/plugins/spaces-home-control/services/space-sensor-state.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion-heartbeat.service.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion-heartbeat.service.js +10 -9
- package/dist/plugins/spaces-home-control/services/space-suggestion-heartbeat.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion.service.d.ts +4 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-suggestion.service.js +8 -7
- package/dist/plugins/spaces-home-control/services/space-suggestion.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-undo-history.service.d.ts +3 -3
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-undo-history.service.js +5 -5
- package/dist/plugins/spaces-home-control/services/space-undo-history.service.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/spaces-seeder.service.d.ts +2 -2
- package/dist/{modules/spaces → plugins/spaces-home-control}/services/spaces-seeder.service.js +5 -5
- package/dist/plugins/spaces-home-control/services/spaces-seeder.service.js.map +1 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.constants.d.ts +297 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.constants.js +1460 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.constants.js.map +1 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.openapi.d.ts +2 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.openapi.js +155 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.openapi.js.map +1 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.d.ts +29 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js +334 -0
- package/dist/plugins/spaces-home-control/spaces-home-control.plugin.js.map +1 -0
- package/dist/plugins/spaces-home-control/spec/index.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec-loader.service.d.ts +1 -1
- package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec-loader.service.js +1 -1
- package/dist/plugins/spaces-home-control/spec/intent-spec-loader.service.js.map +1 -0
- package/dist/plugins/spaces-home-control/spec/intent-spec.types.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/validators/at-least-one-setpoint.validator.js +2 -2
- package/dist/plugins/spaces-home-control/validators/at-least-one-setpoint.validator.js.map +1 -0
- package/dist/plugins/spaces-home-control/validators/setpoint-order-constraint.validator.js.map +1 -0
- package/dist/{modules/spaces → plugins/spaces-home-control}/validators/space-category-constraint.validator.js +1 -1
- package/dist/plugins/spaces-home-control/validators/space-category-constraint.validator.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/controllers/signage-announcements.controller.d.ts +18 -0
- package/dist/plugins/spaces-signage-info-panel/controllers/signage-announcements.controller.js +219 -0
- package/dist/plugins/spaces-signage-info-panel/controllers/signage-announcements.controller.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-announcement.dto.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-announcement.dto.js +143 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-announcement.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.js +130 -0
- package/dist/plugins/spaces-signage-info-panel/dto/create-signage-info-panel-space.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.d.ts +10 -0
- package/dist/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.js +78 -0
- package/dist/plugins/spaces-signage-info-panel/dto/reorder-announcements.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-announcement.dto.d.ts +12 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-announcement.dto.js +134 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-announcement.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-config.dto.js +34 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.js +130 -0
- package/dist/plugins/spaces-signage-info-panel/dto/update-signage-info-panel-space.dto.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-announcement.entity.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-announcement.entity.js +161 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-announcement.entity.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-info-panel-space.entity.d.ts +13 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-info-panel-space.entity.js +147 -0
- package/dist/plugins/spaces-signage-info-panel/entities/signage-info-panel-space.entity.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/models/config.model.d.ts +5 -0
- package/dist/plugins/spaces-signage-info-panel/models/config.model.js +49 -0
- package/dist/plugins/spaces-signage-info-panel/models/config.model.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/models/signage-announcement-response.model.d.ts +8 -0
- package/dist/plugins/spaces-signage-info-panel/models/signage-announcement-response.model.js +46 -0
- package/dist/plugins/spaces-signage-info-panel/models/signage-announcement-response.model.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-announcements.service.d.ts +28 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-announcements.service.js +181 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-announcements.service.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-home-page.resolver.d.ts +4 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-home-page.resolver.js +20 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-home-page.resolver.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-info-panel-reset.service.d.ts +14 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-info-panel-reset.service.js +59 -0
- package/dist/plugins/spaces-signage-info-panel/services/signage-info-panel-reset.service.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.constants.d.ts +17 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.constants.js +23 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.constants.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.exceptions.d.ts +9 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.exceptions.js +25 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.exceptions.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.openapi.d.ts +2 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.openapi.js +31 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.openapi.js.map +1 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.plugin.d.ts +23 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.plugin.js +159 -0
- package/dist/plugins/spaces-signage-info-panel/spaces-signage-info-panel.plugin.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/dto/create-entry-space.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/dto/create-entry-space.dto.js +31 -0
- package/dist/plugins/spaces-synthetic-entry/dto/create-entry-space.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-config.dto.js +34 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-entry-space.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-entry-space.dto.js +31 -0
- package/dist/plugins/spaces-synthetic-entry/dto/update-entry-space.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/entities/entry-space.entity.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/entities/entry-space.entity.js +39 -0
- package/dist/plugins/spaces-synthetic-entry/entities/entry-space.entity.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/models/config.model.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-entry/models/config.model.js +49 -0
- package/dist/plugins/spaces-synthetic-entry/models/config.model.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.constants.d.ts +7 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.constants.js +11 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.constants.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.openapi.d.ts +2 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.openapi.js +16 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.openapi.js.map +1 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.plugin.d.ts +15 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.plugin.js +124 -0
- package/dist/plugins/spaces-synthetic-entry/spaces-synthetic-entry.plugin.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/dto/create-master-space.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/dto/create-master-space.dto.js +31 -0
- package/dist/plugins/spaces-synthetic-master/dto/create-master-space.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-config.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-config.dto.js +34 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-config.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-master-space.dto.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-master-space.dto.js +31 -0
- package/dist/plugins/spaces-synthetic-master/dto/update-master-space.dto.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/entities/master-space.entity.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/entities/master-space.entity.js +39 -0
- package/dist/plugins/spaces-synthetic-master/entities/master-space.entity.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/models/config.model.d.ts +5 -0
- package/dist/plugins/spaces-synthetic-master/models/config.model.js +49 -0
- package/dist/plugins/spaces-synthetic-master/models/config.model.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.constants.d.ts +7 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.constants.js +11 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.constants.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.openapi.d.ts +2 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.openapi.js +16 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.openapi.js.map +1 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.plugin.d.ts +15 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.plugin.js +124 -0
- package/dist/plugins/spaces-synthetic-master/spaces-synthetic-master.plugin.js.map +1 -0
- package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js +16 -22
- package/dist/plugins/tiles-device-preview/tiles-device-preview.plugin.js.map +1 -1
- package/dist/plugins/tiles-scene/tiles-scene.plugin.js +15 -21
- package/dist/plugins/tiles-scene/tiles-scene.plugin.js.map +1 -1
- package/dist/plugins/tiles-time/tiles-time.plugin.js +13 -19
- package/dist/plugins/tiles-time/tiles-time.plugin.js.map +1 -1
- package/dist/plugins/tiles-weather/tiles-weather.plugin.js +16 -19
- package/dist/plugins/tiles-weather/tiles-weather.plugin.js.map +1 -1
- package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js +32 -21
- package/dist/plugins/weather-open-meteo/weather-open-meteo.plugin.js.map +1 -1
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js +22 -23
- package/dist/plugins/weather-openweathermap/weather-openweathermap.plugin.js.map +1 -1
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js +27 -23
- package/dist/plugins/weather-openweathermap-onecall/weather-openweathermap-onecall.plugin.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +10 -6
- package/dist/modules/spaces/dto/climate-intent.dto.js.map +0 -1
- package/dist/modules/spaces/dto/climate-role.dto.js.map +0 -1
- package/dist/modules/spaces/dto/covers-intent.dto.js.map +0 -1
- package/dist/modules/spaces/dto/covers-role.dto.js.map +0 -1
- package/dist/modules/spaces/dto/lighting-intent.dto.js.map +0 -1
- package/dist/modules/spaces/dto/lighting-role.dto.js.map +0 -1
- package/dist/modules/spaces/dto/media-activity-binding.dto.js.map +0 -1
- package/dist/modules/spaces/dto/sensor-role.dto.js.map +0 -1
- package/dist/modules/spaces/dto/status-widget.dto.js.map +0 -1
- package/dist/modules/spaces/dto/suggestion.dto.js.map +0 -1
- package/dist/modules/spaces/entities/space-active-media-activity.entity.d.ts +0 -12
- package/dist/modules/spaces/entities/space-active-media-activity.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-climate-role.entity.d.ts +0 -14
- package/dist/modules/spaces/entities/space-climate-role.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-covers-role.entity.d.ts +0 -14
- package/dist/modules/spaces/entities/space-covers-role.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-lighting-role.entity.d.ts +0 -14
- package/dist/modules/spaces/entities/space-lighting-role.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-media-activity-binding.entity.d.ts +0 -16
- package/dist/modules/spaces/entities/space-media-activity-binding.entity.js.map +0 -1
- package/dist/modules/spaces/entities/space-sensor-role.entity.d.ts +0 -14
- package/dist/modules/spaces/entities/space-sensor-role.entity.js.map +0 -1
- package/dist/modules/spaces/listeners/space-activity.listener.js.map +0 -1
- package/dist/modules/spaces/listeners/space-climate-state.listener.js.map +0 -1
- package/dist/modules/spaces/listeners/space-lighting-state.listener.js.map +0 -1
- package/dist/modules/spaces/listeners/space-sensor-state.listener.js.map +0 -1
- package/dist/modules/spaces/listeners/websocket-exchange.listener.js.map +0 -1
- package/dist/modules/spaces/models/derived-media-endpoint.model.js.map +0 -1
- package/dist/modules/spaces/models/media-activity-binding.model.js.map +0 -1
- package/dist/modules/spaces/models/media-activity.model.js.map +0 -1
- package/dist/modules/spaces/models/media-routing.model.js.map +0 -1
- package/dist/modules/spaces/services/__fixtures__/media-scenario-templates.js.map +0 -1
- package/dist/modules/spaces/services/__fixtures__/media-test-harness.js.map +0 -1
- package/dist/modules/spaces/services/climate-intent.service.js.map +0 -1
- package/dist/modules/spaces/services/covers-intent.service.js.map +0 -1
- package/dist/modules/spaces/services/derived-media-endpoint.service.js.map +0 -1
- package/dist/modules/spaces/services/lighting-intent.service.js.map +0 -1
- package/dist/modules/spaces/services/media-capability.service.js.map +0 -1
- package/dist/modules/spaces/services/space-climate-role.service.js.map +0 -1
- package/dist/modules/spaces/services/space-climate-state.service.js.map +0 -1
- package/dist/modules/spaces/services/space-context-snapshot.service.js.map +0 -1
- package/dist/modules/spaces/services/space-covers-role.service.js.map +0 -1
- package/dist/modules/spaces/services/space-covers-state.service.js.map +0 -1
- package/dist/modules/spaces/services/space-intent-base.service.js.map +0 -1
- package/dist/modules/spaces/services/space-intent.service.js.map +0 -1
- package/dist/modules/spaces/services/space-lighting-role.service.js.map +0 -1
- package/dist/modules/spaces/services/space-lighting-state.service.js.map +0 -1
- package/dist/modules/spaces/services/space-lighting-tool.service.js.map +0 -1
- package/dist/modules/spaces/services/space-media-activity-binding.service.js.map +0 -1
- package/dist/modules/spaces/services/space-media-activity.service.js.map +0 -1
- package/dist/modules/spaces/services/space-sensor-role.service.js.map +0 -1
- package/dist/modules/spaces/services/space-sensor-state.service.js.map +0 -1
- package/dist/modules/spaces/services/space-suggestion-heartbeat.service.js.map +0 -1
- package/dist/modules/spaces/services/space-suggestion.service.js.map +0 -1
- package/dist/modules/spaces/services/space-undo-history.service.js.map +0 -1
- package/dist/modules/spaces/services/spaces-seeder.service.js.map +0 -1
- package/dist/modules/spaces/spec/definitions/climate-intents.yaml +0 -94
- package/dist/modules/spaces/spec/definitions/covers-modes.yaml +0 -83
- package/dist/modules/spaces/spec/definitions/enums.yaml +0 -119
- package/dist/modules/spaces/spec/definitions/lighting-intents.yaml +0 -181
- package/dist/modules/spaces/spec/definitions/lighting-modes.yaml +0 -119
- package/dist/modules/spaces/spec/definitions/suggestions.yaml +0 -47
- package/dist/modules/spaces/spec/index.js.map +0 -1
- package/dist/modules/spaces/spec/intent-spec-loader.service.js.map +0 -1
- package/dist/modules/spaces/spec/intent-spec.types.js.map +0 -1
- package/dist/modules/spaces/validators/at-least-one-setpoint.validator.js.map +0 -1
- package/dist/modules/spaces/validators/setpoint-order-constraint.validator.js.map +0 -1
- package/dist/modules/spaces/validators/space-category-constraint.validator.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.config.model.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.constants.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.module.d.ts +0 -17
- package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js +0 -94
- package/dist/modules/storage/plugins/influx-v1/influx-v1.module.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js +0 -7
- package/dist/modules/storage/plugins/influx-v1/influx-v1.openapi.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.plugin.js.map +0 -1
- package/dist/modules/storage/plugins/influx-v1/influx-v1.update-config.dto.js.map +0 -1
- package/dist/modules/storage/plugins/memory/in-memory-timeseries.store.js.map +0 -1
- package/dist/modules/storage/plugins/memory/influxql-parser.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.config.model.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.constants.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.module.d.ts +0 -13
- package/dist/modules/storage/plugins/memory/memory.module.js +0 -75
- package/dist/modules/storage/plugins/memory/memory.module.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.openapi.js +0 -7
- package/dist/modules/storage/plugins/memory/memory.openapi.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.plugin.js.map +0 -1
- package/dist/modules/storage/plugins/memory/memory.update-config.dto.js.map +0 -1
- /package/dist/{modules/storage/plugins → plugins}/influx-v1/influx-v1.constants.d.ts +0 -0
- /package/dist/{modules/storage/plugins → plugins}/influx-v1/influx-v1.constants.js +0 -0
- /package/dist/{modules/storage/plugins/memory/memory.constants.d.ts → plugins/memory-storage/memory-storage.constants.d.ts} +0 -0
- /package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/influxql-parser.d.ts +0 -0
- /package/dist/{modules/storage/plugins/memory → plugins/memory-storage/services}/influxql-parser.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/dto/status-widget.dto.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/dto/status-widget.dto.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/services/__fixtures__/media-test-harness.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent-base.service.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent.service.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/services/space-intent.service.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/index.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/index.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec.types.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/spec/intent-spec.types.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/at-least-one-setpoint.validator.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/setpoint-order-constraint.validator.d.ts +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/setpoint-order-constraint.validator.js +0 -0
- /package/dist/{modules/spaces → plugins/spaces-home-control}/validators/space-category-constraint.validator.d.ts +0 -0
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.SAFETY_SENSOR_THRESHOLDS = exports.SENSOR_ROLE_META = exports.SENSOR_PRIMARY_PROPERTY_CANDIDATES = exports.SENSOR_ENERGY_CHANNEL_CATEGORIES = exports.SENSOR_AIR_QUALITY_CHANNEL_CATEGORIES = exports.SENSOR_SECURITY_CHANNEL_CATEGORIES = exports.SENSOR_SAFETY_CHANNEL_CATEGORIES = exports.SENSOR_ENVIRONMENT_CHANNEL_CATEGORIES = exports.SENSOR_CHANNEL_CATEGORIES = exports.SensorRole = exports.QUICK_ACTION_CATALOG = exports.INTENT_CATEGORY_CATALOG = exports.MEDIA_ENDPOINT_TYPE_META = exports.MediaCapabilityPermission = exports.MediaCapability = exports.MediaActivationState = exports.CONFIGURABLE_ACTIVITY_KEYS = exports.MediaActivityKey = exports.MediaEndpointType = exports.MEDIA_CHANNEL_CATEGORIES = exports.MEDIA_DEVICE_CATEGORIES = exports.COVERS_INTENT_CATALOG = exports.POSITION_DELTA_META = exports.COVERS_MODE_META = exports.COVERS_ROLE_META = exports.COVERS_MODE_ORCHESTRATION = exports.POSITION_DELTA_STEPS = exports.PositionDelta = exports.CoversMode = exports.CoversIntentType = exports.CoversRole = exports.CLIMATE_INTENT_CATALOG = exports.LIGHTING_INTENT_CATALOG = exports.CLIMATE_MODE_META = exports.CLIMATE_ROLE_META = exports.LIGHTING_ROLE_META = exports.SETPOINT_DELTA_META = exports.BRIGHTNESS_DELTA_META = void 0;
|
|
3
|
+
exports.SuggestionFeedback = exports.ALL_SPACE_CATEGORIES = exports.FLOOR_ZONE_CATEGORIES = exports.SPACE_ZONE_CATEGORIES = exports.SPACE_ROOM_CATEGORIES = exports.SpaceZoneCategory = exports.SpaceRoomCategory = exports.SpaceRoleType = exports.SpaceType = exports.EventType = exports.SPACES_MODULE_API_TAG_DESCRIPTION = exports.SPACES_MODULE_API_TAG_NAME = exports.SPACES_MODULE_PREFIX = exports.SPACES_MODULE_NAME = void 0;
|
|
5
4
|
exports.isFloorZoneCategory = isFloorZoneCategory;
|
|
6
5
|
exports.isValidCategoryForType = isValidCategoryForType;
|
|
7
|
-
const devices_constants_1 = require("../devices/devices.constants");
|
|
8
6
|
exports.SPACES_MODULE_NAME = 'spaces-module';
|
|
9
7
|
exports.SPACES_MODULE_PREFIX = 'spaces';
|
|
10
8
|
exports.SPACES_MODULE_API_TAG_NAME = 'Spaces module';
|
|
@@ -15,37 +13,24 @@ var EventType;
|
|
|
15
13
|
EventType["SPACE_CREATED"] = "SpacesModule.Space.Created";
|
|
16
14
|
EventType["SPACE_UPDATED"] = "SpacesModule.Space.Updated";
|
|
17
15
|
EventType["SPACE_DELETED"] = "SpacesModule.Space.Deleted";
|
|
18
|
-
EventType["LIGHT_TARGET_CREATED"] = "SpacesModule.LightTarget.Created";
|
|
19
|
-
EventType["LIGHT_TARGET_UPDATED"] = "SpacesModule.LightTarget.Updated";
|
|
20
|
-
EventType["LIGHT_TARGET_DELETED"] = "SpacesModule.LightTarget.Deleted";
|
|
21
|
-
EventType["CLIMATE_TARGET_CREATED"] = "SpacesModule.ClimateTarget.Created";
|
|
22
|
-
EventType["CLIMATE_TARGET_UPDATED"] = "SpacesModule.ClimateTarget.Updated";
|
|
23
|
-
EventType["CLIMATE_TARGET_DELETED"] = "SpacesModule.ClimateTarget.Deleted";
|
|
24
|
-
EventType["LIGHTING_STATE_CHANGED"] = "SpacesModule.Space.LightingStateChanged";
|
|
25
|
-
EventType["CLIMATE_STATE_CHANGED"] = "SpacesModule.Space.ClimateStateChanged";
|
|
26
|
-
EventType["COVERS_STATE_CHANGED"] = "SpacesModule.Space.CoversStateChanged";
|
|
27
|
-
EventType["COVERS_TARGET_CREATED"] = "SpacesModule.CoversTarget.Created";
|
|
28
|
-
EventType["COVERS_TARGET_UPDATED"] = "SpacesModule.CoversTarget.Updated";
|
|
29
|
-
EventType["COVERS_TARGET_DELETED"] = "SpacesModule.CoversTarget.Deleted";
|
|
30
|
-
EventType["MEDIA_BINDING_CREATED"] = "SpacesModule.MediaBinding.Created";
|
|
31
|
-
EventType["MEDIA_BINDING_UPDATED"] = "SpacesModule.MediaBinding.Updated";
|
|
32
|
-
EventType["MEDIA_BINDING_DELETED"] = "SpacesModule.MediaBinding.Deleted";
|
|
33
|
-
EventType["MEDIA_ACTIVITY_ACTIVATING"] = "SpacesModule.MediaActivity.Activating";
|
|
34
|
-
EventType["MEDIA_ACTIVITY_ACTIVATED"] = "SpacesModule.MediaActivity.Activated";
|
|
35
|
-
EventType["MEDIA_ACTIVITY_FAILED"] = "SpacesModule.MediaActivity.Failed";
|
|
36
|
-
EventType["MEDIA_ACTIVITY_DEACTIVATED"] = "SpacesModule.MediaActivity.Deactivated";
|
|
37
|
-
EventType["MEDIA_ACTIVITY_STEP_PROGRESS"] = "SpacesModule.MediaActivity.StepProgress";
|
|
38
|
-
EventType["SENSOR_STATE_CHANGED"] = "SpacesModule.Space.SensorStateChanged";
|
|
39
|
-
EventType["SUGGESTION_CREATED"] = "SpacesModule.Suggestion.Created";
|
|
40
|
-
EventType["SENSOR_TARGET_CREATED"] = "SpacesModule.SensorTarget.Created";
|
|
41
|
-
EventType["SENSOR_TARGET_UPDATED"] = "SpacesModule.SensorTarget.Updated";
|
|
42
|
-
EventType["SENSOR_TARGET_DELETED"] = "SpacesModule.SensorTarget.Deleted";
|
|
43
16
|
})(EventType || (exports.EventType = EventType = {}));
|
|
44
17
|
var SpaceType;
|
|
45
18
|
(function (SpaceType) {
|
|
46
19
|
SpaceType["ROOM"] = "room";
|
|
47
20
|
SpaceType["ZONE"] = "zone";
|
|
21
|
+
SpaceType["MASTER"] = "master";
|
|
22
|
+
SpaceType["ENTRY"] = "entry";
|
|
23
|
+
SpaceType["SIGNAGE_INFO_PANEL"] = "signage_info_panel";
|
|
48
24
|
})(SpaceType || (exports.SpaceType = SpaceType = {}));
|
|
25
|
+
var SpaceRoleType;
|
|
26
|
+
(function (SpaceRoleType) {
|
|
27
|
+
SpaceRoleType["LIGHTING"] = "lighting";
|
|
28
|
+
SpaceRoleType["CLIMATE"] = "climate";
|
|
29
|
+
SpaceRoleType["COVERS"] = "covers";
|
|
30
|
+
SpaceRoleType["SENSOR"] = "sensor";
|
|
31
|
+
SpaceRoleType["MEDIA_BINDING"] = "media_binding";
|
|
32
|
+
SpaceRoleType["ACTIVE_MEDIA"] = "active_media";
|
|
33
|
+
})(SpaceRoleType || (exports.SpaceRoleType = SpaceRoleType = {}));
|
|
49
34
|
var SpaceRoomCategory;
|
|
50
35
|
(function (SpaceRoomCategory) {
|
|
51
36
|
SpaceRoomCategory["LIVING_ROOM"] = "living_room";
|
|
@@ -116,1430 +101,9 @@ function isValidCategoryForType(category, type) {
|
|
|
116
101
|
}
|
|
117
102
|
return false;
|
|
118
103
|
}
|
|
119
|
-
exports.SPACE_ROOM_CATEGORY_TEMPLATES = {
|
|
120
|
-
[SpaceRoomCategory.LIVING_ROOM]: {
|
|
121
|
-
icon: 'mdi:sofa',
|
|
122
|
-
description: 'Main living and entertainment area',
|
|
123
|
-
},
|
|
124
|
-
[SpaceRoomCategory.BEDROOM]: {
|
|
125
|
-
icon: 'mdi:bed',
|
|
126
|
-
description: 'Sleeping and personal space',
|
|
127
|
-
},
|
|
128
|
-
[SpaceRoomCategory.BATHROOM]: {
|
|
129
|
-
icon: 'mdi:shower',
|
|
130
|
-
description: 'Full bathroom with shower or bathtub',
|
|
131
|
-
},
|
|
132
|
-
[SpaceRoomCategory.TOILET]: {
|
|
133
|
-
icon: 'mdi:toilet',
|
|
134
|
-
description: 'Toilet or half bathroom',
|
|
135
|
-
},
|
|
136
|
-
[SpaceRoomCategory.KITCHEN]: {
|
|
137
|
-
icon: 'mdi:stove',
|
|
138
|
-
description: 'Food preparation and cooking area',
|
|
139
|
-
},
|
|
140
|
-
[SpaceRoomCategory.DINING_ROOM]: {
|
|
141
|
-
icon: 'mdi:silverware-fork-knife',
|
|
142
|
-
description: 'Dining and eating area',
|
|
143
|
-
},
|
|
144
|
-
[SpaceRoomCategory.OFFICE]: {
|
|
145
|
-
icon: 'mdi:desk',
|
|
146
|
-
description: 'Home office or work space',
|
|
147
|
-
},
|
|
148
|
-
[SpaceRoomCategory.GARAGE]: {
|
|
149
|
-
icon: 'mdi:garage',
|
|
150
|
-
description: 'Vehicle storage and workshop area',
|
|
151
|
-
},
|
|
152
|
-
[SpaceRoomCategory.HALLWAY]: {
|
|
153
|
-
icon: 'mdi:door-open',
|
|
154
|
-
description: 'Corridor and passage area',
|
|
155
|
-
},
|
|
156
|
-
[SpaceRoomCategory.ENTRYWAY]: {
|
|
157
|
-
icon: 'mdi:door',
|
|
158
|
-
description: 'Main entrance and foyer area',
|
|
159
|
-
},
|
|
160
|
-
[SpaceRoomCategory.LAUNDRY]: {
|
|
161
|
-
icon: 'mdi:washing-machine',
|
|
162
|
-
description: 'Laundry room with washer and dryer',
|
|
163
|
-
},
|
|
164
|
-
[SpaceRoomCategory.UTILITY_ROOM]: {
|
|
165
|
-
icon: 'mdi:water-boiler',
|
|
166
|
-
description: 'Utility room with mechanical systems',
|
|
167
|
-
},
|
|
168
|
-
[SpaceRoomCategory.STORAGE]: {
|
|
169
|
-
icon: 'mdi:package-variant-closed',
|
|
170
|
-
description: 'General storage space',
|
|
171
|
-
},
|
|
172
|
-
[SpaceRoomCategory.CLOSET]: {
|
|
173
|
-
icon: 'mdi:wardrobe',
|
|
174
|
-
description: 'Walk-in closet or wardrobe room',
|
|
175
|
-
},
|
|
176
|
-
[SpaceRoomCategory.PANTRY]: {
|
|
177
|
-
icon: 'mdi:food-variant',
|
|
178
|
-
description: 'Food storage and pantry',
|
|
179
|
-
},
|
|
180
|
-
[SpaceRoomCategory.NURSERY]: {
|
|
181
|
-
icon: 'mdi:baby-carriage',
|
|
182
|
-
description: 'Baby or child room',
|
|
183
|
-
},
|
|
184
|
-
[SpaceRoomCategory.GUEST_ROOM]: {
|
|
185
|
-
icon: 'mdi:account-multiple',
|
|
186
|
-
description: 'Guest bedroom or accommodation',
|
|
187
|
-
},
|
|
188
|
-
[SpaceRoomCategory.GYM]: {
|
|
189
|
-
icon: 'mdi:dumbbell',
|
|
190
|
-
description: 'Home gym or exercise area',
|
|
191
|
-
},
|
|
192
|
-
[SpaceRoomCategory.MEDIA_ROOM]: {
|
|
193
|
-
icon: 'mdi:television',
|
|
194
|
-
description: 'Home theater or media room',
|
|
195
|
-
},
|
|
196
|
-
[SpaceRoomCategory.WORKSHOP]: {
|
|
197
|
-
icon: 'mdi:hammer-wrench',
|
|
198
|
-
description: 'DIY workshop or hobby area',
|
|
199
|
-
},
|
|
200
|
-
[SpaceRoomCategory.OTHER]: {
|
|
201
|
-
icon: 'mdi:home',
|
|
202
|
-
description: 'Other or custom room',
|
|
203
|
-
},
|
|
204
|
-
};
|
|
205
|
-
exports.SPACE_ZONE_CATEGORY_TEMPLATES = {
|
|
206
|
-
[SpaceZoneCategory.FLOOR_GROUND]: {
|
|
207
|
-
icon: 'mdi:home-floor-0',
|
|
208
|
-
description: 'Ground floor level',
|
|
209
|
-
},
|
|
210
|
-
[SpaceZoneCategory.FLOOR_FIRST]: {
|
|
211
|
-
icon: 'mdi:home-floor-1',
|
|
212
|
-
description: 'First floor level',
|
|
213
|
-
},
|
|
214
|
-
[SpaceZoneCategory.FLOOR_SECOND]: {
|
|
215
|
-
icon: 'mdi:home-floor-2',
|
|
216
|
-
description: 'Second floor level',
|
|
217
|
-
},
|
|
218
|
-
[SpaceZoneCategory.FLOOR_BASEMENT]: {
|
|
219
|
-
icon: 'mdi:home-floor-b',
|
|
220
|
-
description: 'Basement level',
|
|
221
|
-
},
|
|
222
|
-
[SpaceZoneCategory.FLOOR_ATTIC]: {
|
|
223
|
-
icon: 'mdi:home-roof',
|
|
224
|
-
description: 'Attic level',
|
|
225
|
-
},
|
|
226
|
-
[SpaceZoneCategory.OUTDOOR_FRONT_YARD]: {
|
|
227
|
-
icon: 'mdi:home-import-outline',
|
|
228
|
-
description: 'Front yard area',
|
|
229
|
-
},
|
|
230
|
-
[SpaceZoneCategory.OUTDOOR_BACKYARD]: {
|
|
231
|
-
icon: 'mdi:home-export-outline',
|
|
232
|
-
description: 'Backyard area',
|
|
233
|
-
},
|
|
234
|
-
[SpaceZoneCategory.OUTDOOR_DRIVEWAY]: {
|
|
235
|
-
icon: 'mdi:road-variant',
|
|
236
|
-
description: 'Driveway and parking area',
|
|
237
|
-
},
|
|
238
|
-
[SpaceZoneCategory.OUTDOOR_GARDEN]: {
|
|
239
|
-
icon: 'mdi:flower',
|
|
240
|
-
description: 'Garden and landscaped area',
|
|
241
|
-
},
|
|
242
|
-
[SpaceZoneCategory.OUTDOOR_TERRACE]: {
|
|
243
|
-
icon: 'mdi:grill',
|
|
244
|
-
description: 'Terrace or patio area',
|
|
245
|
-
},
|
|
246
|
-
[SpaceZoneCategory.OUTDOOR_BALCONY]: {
|
|
247
|
-
icon: 'mdi:balcony',
|
|
248
|
-
description: 'Balcony or veranda',
|
|
249
|
-
},
|
|
250
|
-
[SpaceZoneCategory.OUTDOOR_WALKWAY]: {
|
|
251
|
-
icon: 'mdi:walk',
|
|
252
|
-
description: 'Outdoor walkway or path',
|
|
253
|
-
},
|
|
254
|
-
[SpaceZoneCategory.SECURITY_PERIMETER]: {
|
|
255
|
-
icon: 'mdi:shield-home',
|
|
256
|
-
description: 'Security perimeter zone',
|
|
257
|
-
},
|
|
258
|
-
[SpaceZoneCategory.UTILITY]: {
|
|
259
|
-
icon: 'mdi:tools',
|
|
260
|
-
description: 'Utility and service zone',
|
|
261
|
-
},
|
|
262
|
-
[SpaceZoneCategory.OTHER]: {
|
|
263
|
-
icon: 'mdi:map-marker',
|
|
264
|
-
description: 'Other or custom zone',
|
|
265
|
-
},
|
|
266
|
-
};
|
|
267
|
-
exports.SPACE_CATEGORY_TEMPLATES = {
|
|
268
|
-
...exports.SPACE_ROOM_CATEGORY_TEMPLATES,
|
|
269
|
-
...exports.SPACE_ZONE_CATEGORY_TEMPLATES,
|
|
270
|
-
};
|
|
271
|
-
var LightingIntentType;
|
|
272
|
-
(function (LightingIntentType) {
|
|
273
|
-
LightingIntentType["OFF"] = "off";
|
|
274
|
-
LightingIntentType["ON"] = "on";
|
|
275
|
-
LightingIntentType["SET_MODE"] = "set_mode";
|
|
276
|
-
LightingIntentType["BRIGHTNESS_DELTA"] = "brightness_delta";
|
|
277
|
-
LightingIntentType["ROLE_ON"] = "role_on";
|
|
278
|
-
LightingIntentType["ROLE_OFF"] = "role_off";
|
|
279
|
-
LightingIntentType["ROLE_BRIGHTNESS"] = "role_brightness";
|
|
280
|
-
LightingIntentType["ROLE_COLOR"] = "role_color";
|
|
281
|
-
LightingIntentType["ROLE_COLOR_TEMP"] = "role_color_temp";
|
|
282
|
-
LightingIntentType["ROLE_WHITE"] = "role_white";
|
|
283
|
-
LightingIntentType["ROLE_SET"] = "role_set";
|
|
284
|
-
})(LightingIntentType || (exports.LightingIntentType = LightingIntentType = {}));
|
|
285
|
-
var LightingMode;
|
|
286
|
-
(function (LightingMode) {
|
|
287
|
-
LightingMode["OFF"] = "off";
|
|
288
|
-
LightingMode["WORK"] = "work";
|
|
289
|
-
LightingMode["RELAX"] = "relax";
|
|
290
|
-
LightingMode["NIGHT"] = "night";
|
|
291
|
-
})(LightingMode || (exports.LightingMode = LightingMode = {}));
|
|
292
|
-
var BrightnessDelta;
|
|
293
|
-
(function (BrightnessDelta) {
|
|
294
|
-
BrightnessDelta["SMALL"] = "small";
|
|
295
|
-
BrightnessDelta["MEDIUM"] = "medium";
|
|
296
|
-
BrightnessDelta["LARGE"] = "large";
|
|
297
|
-
})(BrightnessDelta || (exports.BrightnessDelta = BrightnessDelta = {}));
|
|
298
|
-
exports.LIGHTING_MODE_BRIGHTNESS = {
|
|
299
|
-
[LightingMode.OFF]: 0,
|
|
300
|
-
[LightingMode.WORK]: 100,
|
|
301
|
-
[LightingMode.RELAX]: 50,
|
|
302
|
-
[LightingMode.NIGHT]: 20,
|
|
303
|
-
};
|
|
304
|
-
exports.BRIGHTNESS_DELTA_STEPS = {
|
|
305
|
-
[BrightnessDelta.SMALL]: 10,
|
|
306
|
-
[BrightnessDelta.MEDIUM]: 25,
|
|
307
|
-
[BrightnessDelta.LARGE]: 50,
|
|
308
|
-
};
|
|
309
|
-
var ClimateIntentType;
|
|
310
|
-
(function (ClimateIntentType) {
|
|
311
|
-
ClimateIntentType["SETPOINT_DELTA"] = "setpoint_delta";
|
|
312
|
-
ClimateIntentType["SETPOINT_SET"] = "setpoint_set";
|
|
313
|
-
ClimateIntentType["SET_MODE"] = "set_mode";
|
|
314
|
-
ClimateIntentType["CLIMATE_SET"] = "climate_set";
|
|
315
|
-
})(ClimateIntentType || (exports.ClimateIntentType = ClimateIntentType = {}));
|
|
316
|
-
var ClimateMode;
|
|
317
|
-
(function (ClimateMode) {
|
|
318
|
-
ClimateMode["HEAT"] = "heat";
|
|
319
|
-
ClimateMode["COOL"] = "cool";
|
|
320
|
-
ClimateMode["AUTO"] = "auto";
|
|
321
|
-
ClimateMode["OFF"] = "off";
|
|
322
|
-
})(ClimateMode || (exports.ClimateMode = ClimateMode = {}));
|
|
323
|
-
var TemperatureAveragingStrategy;
|
|
324
|
-
(function (TemperatureAveragingStrategy) {
|
|
325
|
-
TemperatureAveragingStrategy["ALL_SOURCES"] = "all_sources";
|
|
326
|
-
TemperatureAveragingStrategy["PRIMARY_ONLY"] = "primary_only";
|
|
327
|
-
})(TemperatureAveragingStrategy || (exports.TemperatureAveragingStrategy = TemperatureAveragingStrategy = {}));
|
|
328
|
-
exports.TEMPERATURE_AVERAGING_STRATEGY = TemperatureAveragingStrategy.PRIMARY_ONLY;
|
|
329
|
-
exports.CLIMATE_PRIMARY_DEVICE_CATEGORIES = [
|
|
330
|
-
devices_constants_1.DeviceCategory.THERMOSTAT,
|
|
331
|
-
devices_constants_1.DeviceCategory.HEATING_UNIT,
|
|
332
|
-
devices_constants_1.DeviceCategory.AIR_CONDITIONER,
|
|
333
|
-
];
|
|
334
|
-
var SetpointDelta;
|
|
335
|
-
(function (SetpointDelta) {
|
|
336
|
-
SetpointDelta["SMALL"] = "small";
|
|
337
|
-
SetpointDelta["MEDIUM"] = "medium";
|
|
338
|
-
SetpointDelta["LARGE"] = "large";
|
|
339
|
-
})(SetpointDelta || (exports.SetpointDelta = SetpointDelta = {}));
|
|
340
|
-
exports.SETPOINT_DELTA_STEPS = {
|
|
341
|
-
[SetpointDelta.SMALL]: 0.5,
|
|
342
|
-
[SetpointDelta.MEDIUM]: 1.0,
|
|
343
|
-
[SetpointDelta.LARGE]: 2.0,
|
|
344
|
-
};
|
|
345
|
-
exports.DEFAULT_MIN_SETPOINT = 5;
|
|
346
|
-
exports.DEFAULT_MAX_SETPOINT = 35;
|
|
347
|
-
exports.ABSOLUTE_MIN_SETPOINT = -10;
|
|
348
|
-
exports.ABSOLUTE_MAX_SETPOINT = 50;
|
|
349
|
-
exports.SETPOINT_PRECISION = 0.5;
|
|
350
|
-
exports.SETPOINT_CONSENSUS_TOLERANCE = 0.5;
|
|
351
|
-
var LightingRole;
|
|
352
|
-
(function (LightingRole) {
|
|
353
|
-
LightingRole["MAIN"] = "main";
|
|
354
|
-
LightingRole["TASK"] = "task";
|
|
355
|
-
LightingRole["AMBIENT"] = "ambient";
|
|
356
|
-
LightingRole["ACCENT"] = "accent";
|
|
357
|
-
LightingRole["NIGHT"] = "night";
|
|
358
|
-
LightingRole["OTHER"] = "other";
|
|
359
|
-
LightingRole["HIDDEN"] = "hidden";
|
|
360
|
-
})(LightingRole || (exports.LightingRole = LightingRole = {}));
|
|
361
|
-
var ClimateRole;
|
|
362
|
-
(function (ClimateRole) {
|
|
363
|
-
ClimateRole["HEATING_ONLY"] = "heating_only";
|
|
364
|
-
ClimateRole["COOLING_ONLY"] = "cooling_only";
|
|
365
|
-
ClimateRole["AUTO"] = "auto";
|
|
366
|
-
ClimateRole["AUXILIARY"] = "auxiliary";
|
|
367
|
-
ClimateRole["SENSOR"] = "sensor";
|
|
368
|
-
ClimateRole["HIDDEN"] = "hidden";
|
|
369
|
-
})(ClimateRole || (exports.ClimateRole = ClimateRole = {}));
|
|
370
|
-
exports.CLIMATE_CONTROL_ROLES = [
|
|
371
|
-
ClimateRole.HEATING_ONLY,
|
|
372
|
-
ClimateRole.COOLING_ONLY,
|
|
373
|
-
ClimateRole.AUTO,
|
|
374
|
-
ClimateRole.AUXILIARY,
|
|
375
|
-
];
|
|
376
|
-
exports.CLIMATE_SENSOR_ROLES = [ClimateRole.SENSOR];
|
|
377
|
-
exports.CLIMATE_UNIVERSAL_ROLES = [ClimateRole.HIDDEN];
|
|
378
|
-
exports.CLIMATE_SENSOR_CHANNEL_CATEGORIES = [
|
|
379
|
-
devices_constants_1.ChannelCategory.TEMPERATURE,
|
|
380
|
-
devices_constants_1.ChannelCategory.HUMIDITY,
|
|
381
|
-
devices_constants_1.ChannelCategory.AIR_QUALITY,
|
|
382
|
-
devices_constants_1.ChannelCategory.AIR_PARTICULATE,
|
|
383
|
-
devices_constants_1.ChannelCategory.CARBON_DIOXIDE,
|
|
384
|
-
devices_constants_1.ChannelCategory.VOLATILE_ORGANIC_COMPOUNDS,
|
|
385
|
-
devices_constants_1.ChannelCategory.PRESSURE,
|
|
386
|
-
];
|
|
387
|
-
var QuickActionType;
|
|
388
|
-
(function (QuickActionType) {
|
|
389
|
-
QuickActionType["LIGHTING_OFF"] = "lighting_off";
|
|
390
|
-
QuickActionType["LIGHTING_WORK"] = "lighting_work";
|
|
391
|
-
QuickActionType["LIGHTING_RELAX"] = "lighting_relax";
|
|
392
|
-
QuickActionType["LIGHTING_NIGHT"] = "lighting_night";
|
|
393
|
-
QuickActionType["BRIGHTNESS_UP"] = "brightness_up";
|
|
394
|
-
QuickActionType["BRIGHTNESS_DOWN"] = "brightness_down";
|
|
395
|
-
QuickActionType["CLIMATE_UP"] = "climate_up";
|
|
396
|
-
QuickActionType["CLIMATE_DOWN"] = "climate_down";
|
|
397
|
-
})(QuickActionType || (exports.QuickActionType = QuickActionType = {}));
|
|
398
|
-
exports.DEFAULT_QUICK_ACTIONS = [
|
|
399
|
-
QuickActionType.LIGHTING_OFF,
|
|
400
|
-
QuickActionType.LIGHTING_WORK,
|
|
401
|
-
QuickActionType.LIGHTING_RELAX,
|
|
402
|
-
QuickActionType.LIGHTING_NIGHT,
|
|
403
|
-
];
|
|
404
|
-
exports.ALL_QUICK_ACTION_TYPES = Object.values(QuickActionType);
|
|
405
|
-
var SuggestionType;
|
|
406
|
-
(function (SuggestionType) {
|
|
407
|
-
SuggestionType["LIGHTING_RELAX"] = "lighting_relax";
|
|
408
|
-
SuggestionType["LIGHTING_NIGHT"] = "lighting_night";
|
|
409
|
-
SuggestionType["LIGHTING_OFF"] = "lighting_off";
|
|
410
|
-
})(SuggestionType || (exports.SuggestionType = SuggestionType = {}));
|
|
411
104
|
var SuggestionFeedback;
|
|
412
105
|
(function (SuggestionFeedback) {
|
|
413
106
|
SuggestionFeedback["APPLIED"] = "applied";
|
|
414
107
|
SuggestionFeedback["DISMISSED"] = "dismissed";
|
|
415
108
|
})(SuggestionFeedback || (exports.SuggestionFeedback = SuggestionFeedback = {}));
|
|
416
|
-
exports.SUGGESTION_COOLDOWN_MS = 30 * 60 * 1000;
|
|
417
|
-
exports.SUGGESTION_HEARTBEAT_INTERVAL_MS = 5 * 60 * 1000;
|
|
418
|
-
exports.SUGGESTION_EXPIRY_MS = 60 * 60 * 1000;
|
|
419
|
-
exports.LIGHTING_MODE_ORCHESTRATION = {
|
|
420
|
-
[LightingMode.OFF]: {
|
|
421
|
-
roles: {
|
|
422
|
-
[LightingRole.MAIN]: { on: false, brightness: null },
|
|
423
|
-
[LightingRole.TASK]: { on: false, brightness: null },
|
|
424
|
-
[LightingRole.AMBIENT]: { on: false, brightness: null },
|
|
425
|
-
[LightingRole.ACCENT]: { on: false, brightness: null },
|
|
426
|
-
[LightingRole.NIGHT]: { on: false, brightness: null },
|
|
427
|
-
[LightingRole.OTHER]: { on: false, brightness: null },
|
|
428
|
-
},
|
|
429
|
-
},
|
|
430
|
-
[LightingMode.WORK]: {
|
|
431
|
-
roles: {
|
|
432
|
-
[LightingRole.MAIN]: { on: true, brightness: 100 },
|
|
433
|
-
[LightingRole.TASK]: { on: true, brightness: 100 },
|
|
434
|
-
[LightingRole.AMBIENT]: { on: false, brightness: null },
|
|
435
|
-
[LightingRole.ACCENT]: { on: false, brightness: null },
|
|
436
|
-
[LightingRole.NIGHT]: { on: false, brightness: null },
|
|
437
|
-
[LightingRole.OTHER]: { on: false, brightness: null },
|
|
438
|
-
},
|
|
439
|
-
},
|
|
440
|
-
[LightingMode.RELAX]: {
|
|
441
|
-
roles: {
|
|
442
|
-
[LightingRole.MAIN]: { on: true, brightness: 50 },
|
|
443
|
-
[LightingRole.TASK]: { on: false, brightness: null },
|
|
444
|
-
[LightingRole.AMBIENT]: { on: true, brightness: 50 },
|
|
445
|
-
[LightingRole.ACCENT]: { on: true, brightness: 30 },
|
|
446
|
-
[LightingRole.NIGHT]: { on: false, brightness: null },
|
|
447
|
-
[LightingRole.OTHER]: { on: true, brightness: 50 },
|
|
448
|
-
},
|
|
449
|
-
},
|
|
450
|
-
[LightingMode.NIGHT]: {
|
|
451
|
-
roles: {
|
|
452
|
-
[LightingRole.MAIN]: { on: false, brightness: null },
|
|
453
|
-
[LightingRole.TASK]: { on: false, brightness: null },
|
|
454
|
-
[LightingRole.AMBIENT]: { on: false, brightness: null },
|
|
455
|
-
[LightingRole.ACCENT]: { on: false, brightness: null },
|
|
456
|
-
[LightingRole.NIGHT]: { on: true, brightness: 20 },
|
|
457
|
-
[LightingRole.OTHER]: { on: false, brightness: null },
|
|
458
|
-
},
|
|
459
|
-
fallbackRoles: [LightingRole.MAIN],
|
|
460
|
-
fallbackBrightness: 20,
|
|
461
|
-
},
|
|
462
|
-
};
|
|
463
|
-
var IntentCategory;
|
|
464
|
-
(function (IntentCategory) {
|
|
465
|
-
IntentCategory["LIGHTING"] = "lighting";
|
|
466
|
-
IntentCategory["CLIMATE"] = "climate";
|
|
467
|
-
IntentCategory["COVERS"] = "covers";
|
|
468
|
-
IntentCategory["MEDIA"] = "media";
|
|
469
|
-
})(IntentCategory || (exports.IntentCategory = IntentCategory = {}));
|
|
470
|
-
exports.LIGHTING_MODE_META = {
|
|
471
|
-
[LightingMode.OFF]: {
|
|
472
|
-
value: LightingMode.OFF,
|
|
473
|
-
label: 'Off',
|
|
474
|
-
description: 'All lights off',
|
|
475
|
-
icon: 'mdi:lightbulb-off',
|
|
476
|
-
},
|
|
477
|
-
[LightingMode.WORK]: {
|
|
478
|
-
value: LightingMode.WORK,
|
|
479
|
-
label: 'Work',
|
|
480
|
-
description: 'Bright lighting for focus and productivity',
|
|
481
|
-
icon: 'mdi:briefcase',
|
|
482
|
-
},
|
|
483
|
-
[LightingMode.RELAX]: {
|
|
484
|
-
value: LightingMode.RELAX,
|
|
485
|
-
label: 'Relax',
|
|
486
|
-
description: 'Soft ambient lighting for relaxation',
|
|
487
|
-
icon: 'mdi:sofa',
|
|
488
|
-
},
|
|
489
|
-
[LightingMode.NIGHT]: {
|
|
490
|
-
value: LightingMode.NIGHT,
|
|
491
|
-
label: 'Night',
|
|
492
|
-
description: 'Minimal lighting for nighttime',
|
|
493
|
-
icon: 'mdi:weather-night',
|
|
494
|
-
},
|
|
495
|
-
};
|
|
496
|
-
exports.BRIGHTNESS_DELTA_META = {
|
|
497
|
-
[BrightnessDelta.SMALL]: {
|
|
498
|
-
value: BrightnessDelta.SMALL,
|
|
499
|
-
label: 'Small',
|
|
500
|
-
description: `Adjust brightness by ${exports.BRIGHTNESS_DELTA_STEPS[BrightnessDelta.SMALL]}%`,
|
|
501
|
-
},
|
|
502
|
-
[BrightnessDelta.MEDIUM]: {
|
|
503
|
-
value: BrightnessDelta.MEDIUM,
|
|
504
|
-
label: 'Medium',
|
|
505
|
-
description: `Adjust brightness by ${exports.BRIGHTNESS_DELTA_STEPS[BrightnessDelta.MEDIUM]}%`,
|
|
506
|
-
},
|
|
507
|
-
[BrightnessDelta.LARGE]: {
|
|
508
|
-
value: BrightnessDelta.LARGE,
|
|
509
|
-
label: 'Large',
|
|
510
|
-
description: `Adjust brightness by ${exports.BRIGHTNESS_DELTA_STEPS[BrightnessDelta.LARGE]}%`,
|
|
511
|
-
},
|
|
512
|
-
};
|
|
513
|
-
exports.SETPOINT_DELTA_META = {
|
|
514
|
-
[SetpointDelta.SMALL]: {
|
|
515
|
-
value: SetpointDelta.SMALL,
|
|
516
|
-
label: 'Small',
|
|
517
|
-
description: `Adjust temperature by ${exports.SETPOINT_DELTA_STEPS[SetpointDelta.SMALL]}°`,
|
|
518
|
-
},
|
|
519
|
-
[SetpointDelta.MEDIUM]: {
|
|
520
|
-
value: SetpointDelta.MEDIUM,
|
|
521
|
-
label: 'Medium',
|
|
522
|
-
description: `Adjust temperature by ${exports.SETPOINT_DELTA_STEPS[SetpointDelta.MEDIUM]}°`,
|
|
523
|
-
},
|
|
524
|
-
[SetpointDelta.LARGE]: {
|
|
525
|
-
value: SetpointDelta.LARGE,
|
|
526
|
-
label: 'Large',
|
|
527
|
-
description: `Adjust temperature by ${exports.SETPOINT_DELTA_STEPS[SetpointDelta.LARGE]}°`,
|
|
528
|
-
},
|
|
529
|
-
};
|
|
530
|
-
exports.LIGHTING_ROLE_META = {
|
|
531
|
-
[LightingRole.MAIN]: {
|
|
532
|
-
value: LightingRole.MAIN,
|
|
533
|
-
label: 'Main',
|
|
534
|
-
description: 'Primary/ceiling lights',
|
|
535
|
-
icon: 'mdi:ceiling-light',
|
|
536
|
-
},
|
|
537
|
-
[LightingRole.TASK]: {
|
|
538
|
-
value: LightingRole.TASK,
|
|
539
|
-
label: 'Task',
|
|
540
|
-
description: 'Task/work lights (e.g., desk lamps)',
|
|
541
|
-
icon: 'mdi:desk-lamp',
|
|
542
|
-
},
|
|
543
|
-
[LightingRole.AMBIENT]: {
|
|
544
|
-
value: LightingRole.AMBIENT,
|
|
545
|
-
label: 'Ambient',
|
|
546
|
-
description: 'Ambient/mood lights (e.g., accent strips)',
|
|
547
|
-
icon: 'mdi:led-strip-variant',
|
|
548
|
-
},
|
|
549
|
-
[LightingRole.ACCENT]: {
|
|
550
|
-
value: LightingRole.ACCENT,
|
|
551
|
-
label: 'Accent',
|
|
552
|
-
description: 'Accent/decorative lights (e.g., wall sconces)',
|
|
553
|
-
icon: 'mdi:wall-sconce',
|
|
554
|
-
},
|
|
555
|
-
[LightingRole.NIGHT]: {
|
|
556
|
-
value: LightingRole.NIGHT,
|
|
557
|
-
label: 'Night',
|
|
558
|
-
description: 'Night/minimal lights',
|
|
559
|
-
icon: 'mdi:lightbulb-night',
|
|
560
|
-
},
|
|
561
|
-
[LightingRole.OTHER]: {
|
|
562
|
-
value: LightingRole.OTHER,
|
|
563
|
-
label: 'Other',
|
|
564
|
-
description: 'Unclassified lights',
|
|
565
|
-
icon: 'mdi:lightbulb',
|
|
566
|
-
},
|
|
567
|
-
[LightingRole.HIDDEN]: {
|
|
568
|
-
value: LightingRole.HIDDEN,
|
|
569
|
-
label: 'Hidden',
|
|
570
|
-
description: 'Hidden lights (excluded from UI)',
|
|
571
|
-
icon: 'mdi:eye-off',
|
|
572
|
-
},
|
|
573
|
-
};
|
|
574
|
-
exports.CLIMATE_ROLE_META = {
|
|
575
|
-
[ClimateRole.HEATING_ONLY]: {
|
|
576
|
-
value: ClimateRole.HEATING_ONLY,
|
|
577
|
-
label: 'Heating Only',
|
|
578
|
-
description: 'Device is used only for heating',
|
|
579
|
-
icon: 'mdi:fire',
|
|
580
|
-
},
|
|
581
|
-
[ClimateRole.COOLING_ONLY]: {
|
|
582
|
-
value: ClimateRole.COOLING_ONLY,
|
|
583
|
-
label: 'Cooling Only',
|
|
584
|
-
description: 'Device is used only for cooling',
|
|
585
|
-
icon: 'mdi:snowflake',
|
|
586
|
-
},
|
|
587
|
-
[ClimateRole.AUTO]: {
|
|
588
|
-
value: ClimateRole.AUTO,
|
|
589
|
-
label: 'Auto',
|
|
590
|
-
description: 'Device is used for both heating and cooling',
|
|
591
|
-
icon: 'mdi:thermostat-auto',
|
|
592
|
-
},
|
|
593
|
-
[ClimateRole.AUXILIARY]: {
|
|
594
|
-
value: ClimateRole.AUXILIARY,
|
|
595
|
-
label: 'Auxiliary',
|
|
596
|
-
description: 'Auxiliary climate device (e.g., floor heating, towel warmer)',
|
|
597
|
-
icon: 'mdi:radiator',
|
|
598
|
-
},
|
|
599
|
-
[ClimateRole.SENSOR]: {
|
|
600
|
-
value: ClimateRole.SENSOR,
|
|
601
|
-
label: 'Sensor',
|
|
602
|
-
description: 'Sensor is included in climate domain readings',
|
|
603
|
-
icon: 'mdi:thermometer',
|
|
604
|
-
},
|
|
605
|
-
[ClimateRole.HIDDEN]: {
|
|
606
|
-
value: ClimateRole.HIDDEN,
|
|
607
|
-
label: 'Hidden',
|
|
608
|
-
description: 'Device/sensor is excluded from climate domain',
|
|
609
|
-
icon: 'mdi:eye-off',
|
|
610
|
-
},
|
|
611
|
-
};
|
|
612
|
-
exports.CLIMATE_MODE_META = {
|
|
613
|
-
[ClimateMode.HEAT]: {
|
|
614
|
-
value: ClimateMode.HEAT,
|
|
615
|
-
label: 'Heat',
|
|
616
|
-
description: 'Heating mode - single setpoint for all heaters',
|
|
617
|
-
icon: 'mdi:fire',
|
|
618
|
-
},
|
|
619
|
-
[ClimateMode.COOL]: {
|
|
620
|
-
value: ClimateMode.COOL,
|
|
621
|
-
label: 'Cool',
|
|
622
|
-
description: 'Cooling mode - single setpoint for all coolers',
|
|
623
|
-
icon: 'mdi:snowflake',
|
|
624
|
-
},
|
|
625
|
-
[ClimateMode.AUTO]: {
|
|
626
|
-
value: ClimateMode.AUTO,
|
|
627
|
-
label: 'Auto',
|
|
628
|
-
description: 'Automatic mode - dual setpoints for heating (lower) and cooling (upper)',
|
|
629
|
-
icon: 'mdi:thermostat-auto',
|
|
630
|
-
},
|
|
631
|
-
[ClimateMode.OFF]: {
|
|
632
|
-
value: ClimateMode.OFF,
|
|
633
|
-
label: 'Off',
|
|
634
|
-
description: 'Turn off all climate devices',
|
|
635
|
-
icon: 'mdi:power-off',
|
|
636
|
-
},
|
|
637
|
-
};
|
|
638
|
-
exports.LIGHTING_INTENT_CATALOG = [
|
|
639
|
-
{
|
|
640
|
-
type: LightingIntentType.OFF,
|
|
641
|
-
label: 'Turn Off',
|
|
642
|
-
description: 'Turn off all lights in the space',
|
|
643
|
-
icon: 'mdi:lightbulb-off',
|
|
644
|
-
params: [],
|
|
645
|
-
},
|
|
646
|
-
{
|
|
647
|
-
type: LightingIntentType.ON,
|
|
648
|
-
label: 'Turn On',
|
|
649
|
-
description: 'Turn on all lights in the space',
|
|
650
|
-
icon: 'mdi:lightbulb-on',
|
|
651
|
-
params: [],
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
type: LightingIntentType.SET_MODE,
|
|
655
|
-
label: 'Set Mode',
|
|
656
|
-
description: 'Set a lighting mode (work/relax/night) with role-based brightness levels',
|
|
657
|
-
icon: 'mdi:lightbulb-group',
|
|
658
|
-
params: [
|
|
659
|
-
{
|
|
660
|
-
name: 'mode',
|
|
661
|
-
type: 'enum',
|
|
662
|
-
required: true,
|
|
663
|
-
description: 'The lighting mode to apply',
|
|
664
|
-
enumValues: Object.values(exports.LIGHTING_MODE_META),
|
|
665
|
-
},
|
|
666
|
-
],
|
|
667
|
-
},
|
|
668
|
-
{
|
|
669
|
-
type: LightingIntentType.BRIGHTNESS_DELTA,
|
|
670
|
-
label: 'Adjust Brightness',
|
|
671
|
-
description: 'Increase or decrease brightness of currently on lights',
|
|
672
|
-
icon: 'mdi:brightness-6',
|
|
673
|
-
params: [
|
|
674
|
-
{
|
|
675
|
-
name: 'delta',
|
|
676
|
-
type: 'enum',
|
|
677
|
-
required: true,
|
|
678
|
-
description: 'The step size for brightness adjustment',
|
|
679
|
-
enumValues: Object.values(exports.BRIGHTNESS_DELTA_META),
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
name: 'increase',
|
|
683
|
-
type: 'boolean',
|
|
684
|
-
required: true,
|
|
685
|
-
description: 'True to increase brightness, false to decrease',
|
|
686
|
-
},
|
|
687
|
-
],
|
|
688
|
-
},
|
|
689
|
-
{
|
|
690
|
-
type: LightingIntentType.ROLE_ON,
|
|
691
|
-
label: 'Turn Role On',
|
|
692
|
-
description: 'Turn on all lights with a specific role',
|
|
693
|
-
icon: 'mdi:lightbulb-on',
|
|
694
|
-
params: [
|
|
695
|
-
{
|
|
696
|
-
name: 'role',
|
|
697
|
-
type: 'enum',
|
|
698
|
-
required: true,
|
|
699
|
-
description: 'The lighting role to control',
|
|
700
|
-
enumValues: Object.values(exports.LIGHTING_ROLE_META).filter((r) => r.value !== LightingRole.HIDDEN),
|
|
701
|
-
},
|
|
702
|
-
],
|
|
703
|
-
},
|
|
704
|
-
{
|
|
705
|
-
type: LightingIntentType.ROLE_OFF,
|
|
706
|
-
label: 'Turn Role Off',
|
|
707
|
-
description: 'Turn off all lights with a specific role',
|
|
708
|
-
icon: 'mdi:lightbulb-off',
|
|
709
|
-
params: [
|
|
710
|
-
{
|
|
711
|
-
name: 'role',
|
|
712
|
-
type: 'enum',
|
|
713
|
-
required: true,
|
|
714
|
-
description: 'The lighting role to control',
|
|
715
|
-
enumValues: Object.values(exports.LIGHTING_ROLE_META).filter((r) => r.value !== LightingRole.HIDDEN),
|
|
716
|
-
},
|
|
717
|
-
],
|
|
718
|
-
},
|
|
719
|
-
{
|
|
720
|
-
type: LightingIntentType.ROLE_BRIGHTNESS,
|
|
721
|
-
label: 'Set Role Brightness',
|
|
722
|
-
description: 'Set brightness for all lights with a specific role',
|
|
723
|
-
icon: 'mdi:brightness-6',
|
|
724
|
-
params: [
|
|
725
|
-
{
|
|
726
|
-
name: 'role',
|
|
727
|
-
type: 'enum',
|
|
728
|
-
required: true,
|
|
729
|
-
description: 'The lighting role to control',
|
|
730
|
-
enumValues: Object.values(exports.LIGHTING_ROLE_META).filter((r) => r.value !== LightingRole.HIDDEN),
|
|
731
|
-
},
|
|
732
|
-
{
|
|
733
|
-
name: 'brightness',
|
|
734
|
-
type: 'number',
|
|
735
|
-
required: true,
|
|
736
|
-
description: 'Brightness level (0-100)',
|
|
737
|
-
minValue: 0,
|
|
738
|
-
maxValue: 100,
|
|
739
|
-
},
|
|
740
|
-
],
|
|
741
|
-
},
|
|
742
|
-
{
|
|
743
|
-
type: LightingIntentType.ROLE_COLOR,
|
|
744
|
-
label: 'Set Role Color',
|
|
745
|
-
description: 'Set color for all lights with a specific role that support color',
|
|
746
|
-
icon: 'mdi:palette',
|
|
747
|
-
params: [
|
|
748
|
-
{
|
|
749
|
-
name: 'role',
|
|
750
|
-
type: 'enum',
|
|
751
|
-
required: true,
|
|
752
|
-
description: 'The lighting role to control',
|
|
753
|
-
enumValues: Object.values(exports.LIGHTING_ROLE_META).filter((r) => r.value !== LightingRole.HIDDEN),
|
|
754
|
-
},
|
|
755
|
-
{
|
|
756
|
-
name: 'color',
|
|
757
|
-
type: 'string',
|
|
758
|
-
required: true,
|
|
759
|
-
description: 'Color as hex string (e.g., #ff6b35)',
|
|
760
|
-
},
|
|
761
|
-
],
|
|
762
|
-
},
|
|
763
|
-
{
|
|
764
|
-
type: LightingIntentType.ROLE_COLOR_TEMP,
|
|
765
|
-
label: 'Set Role Color Temperature',
|
|
766
|
-
description: 'Set color temperature for all lights with a specific role that support it',
|
|
767
|
-
icon: 'mdi:thermometer-lines',
|
|
768
|
-
params: [
|
|
769
|
-
{
|
|
770
|
-
name: 'role',
|
|
771
|
-
type: 'enum',
|
|
772
|
-
required: true,
|
|
773
|
-
description: 'The lighting role to control',
|
|
774
|
-
enumValues: Object.values(exports.LIGHTING_ROLE_META).filter((r) => r.value !== LightingRole.HIDDEN),
|
|
775
|
-
},
|
|
776
|
-
{
|
|
777
|
-
name: 'color_temperature',
|
|
778
|
-
type: 'number',
|
|
779
|
-
required: true,
|
|
780
|
-
description: 'Color temperature in Kelvin (e.g., 2700-6500)',
|
|
781
|
-
minValue: 1000,
|
|
782
|
-
maxValue: 10000,
|
|
783
|
-
},
|
|
784
|
-
],
|
|
785
|
-
},
|
|
786
|
-
{
|
|
787
|
-
type: LightingIntentType.ROLE_WHITE,
|
|
788
|
-
label: 'Set Role White Level',
|
|
789
|
-
description: 'Set white channel level for all lights with a specific role that support RGBW',
|
|
790
|
-
icon: 'mdi:lightbulb',
|
|
791
|
-
params: [
|
|
792
|
-
{
|
|
793
|
-
name: 'role',
|
|
794
|
-
type: 'enum',
|
|
795
|
-
required: true,
|
|
796
|
-
description: 'The lighting role to control',
|
|
797
|
-
enumValues: Object.values(exports.LIGHTING_ROLE_META).filter((r) => r.value !== LightingRole.HIDDEN),
|
|
798
|
-
},
|
|
799
|
-
{
|
|
800
|
-
name: 'white',
|
|
801
|
-
type: 'number',
|
|
802
|
-
required: true,
|
|
803
|
-
description: 'White level (0-100)',
|
|
804
|
-
minValue: 0,
|
|
805
|
-
maxValue: 100,
|
|
806
|
-
},
|
|
807
|
-
],
|
|
808
|
-
},
|
|
809
|
-
{
|
|
810
|
-
type: LightingIntentType.ROLE_SET,
|
|
811
|
-
label: 'Set Role Properties',
|
|
812
|
-
description: 'Set multiple properties at once for all lights with a specific role (on/off, brightness, color, temperature, white)',
|
|
813
|
-
icon: 'mdi:tune-variant',
|
|
814
|
-
params: [
|
|
815
|
-
{
|
|
816
|
-
name: 'role',
|
|
817
|
-
type: 'enum',
|
|
818
|
-
required: true,
|
|
819
|
-
description: 'The lighting role to control',
|
|
820
|
-
enumValues: Object.values(exports.LIGHTING_ROLE_META).filter((r) => r.value !== LightingRole.HIDDEN),
|
|
821
|
-
},
|
|
822
|
-
{
|
|
823
|
-
name: 'on',
|
|
824
|
-
type: 'boolean',
|
|
825
|
-
required: false,
|
|
826
|
-
description: 'Turn lights on (true) or off (false)',
|
|
827
|
-
},
|
|
828
|
-
{
|
|
829
|
-
name: 'brightness',
|
|
830
|
-
type: 'number',
|
|
831
|
-
required: false,
|
|
832
|
-
description: 'Brightness level (0-100)',
|
|
833
|
-
minValue: 0,
|
|
834
|
-
maxValue: 100,
|
|
835
|
-
},
|
|
836
|
-
{
|
|
837
|
-
name: 'color',
|
|
838
|
-
type: 'string',
|
|
839
|
-
required: false,
|
|
840
|
-
description: 'Color as hex string (e.g., #ff6b35)',
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
name: 'color_temperature',
|
|
844
|
-
type: 'number',
|
|
845
|
-
required: false,
|
|
846
|
-
description: 'Color temperature in Kelvin (e.g., 2700-6500)',
|
|
847
|
-
minValue: 1000,
|
|
848
|
-
maxValue: 10000,
|
|
849
|
-
},
|
|
850
|
-
{
|
|
851
|
-
name: 'white',
|
|
852
|
-
type: 'number',
|
|
853
|
-
required: false,
|
|
854
|
-
description: 'White level (0-100)',
|
|
855
|
-
minValue: 0,
|
|
856
|
-
maxValue: 100,
|
|
857
|
-
},
|
|
858
|
-
],
|
|
859
|
-
},
|
|
860
|
-
];
|
|
861
|
-
exports.CLIMATE_INTENT_CATALOG = [
|
|
862
|
-
{
|
|
863
|
-
type: ClimateIntentType.SETPOINT_DELTA,
|
|
864
|
-
label: 'Adjust Temperature',
|
|
865
|
-
description: 'Increase or decrease the target temperature based on current mode',
|
|
866
|
-
icon: 'mdi:thermometer',
|
|
867
|
-
params: [
|
|
868
|
-
{
|
|
869
|
-
name: 'delta',
|
|
870
|
-
type: 'enum',
|
|
871
|
-
required: true,
|
|
872
|
-
description: 'The step size for temperature adjustment',
|
|
873
|
-
enumValues: Object.values(exports.SETPOINT_DELTA_META),
|
|
874
|
-
},
|
|
875
|
-
{
|
|
876
|
-
name: 'increase',
|
|
877
|
-
type: 'boolean',
|
|
878
|
-
required: true,
|
|
879
|
-
description: 'True to increase temperature, false to decrease',
|
|
880
|
-
},
|
|
881
|
-
],
|
|
882
|
-
},
|
|
883
|
-
{
|
|
884
|
-
type: ClimateIntentType.SETPOINT_SET,
|
|
885
|
-
label: 'Set Temperature',
|
|
886
|
-
description: 'Set the target temperature. In HEAT/COOL mode sets single setpoint, in AUTO mode sets both heating and cooling setpoints.',
|
|
887
|
-
icon: 'mdi:thermometer-check',
|
|
888
|
-
params: [
|
|
889
|
-
{
|
|
890
|
-
name: 'value',
|
|
891
|
-
type: 'number',
|
|
892
|
-
required: true,
|
|
893
|
-
description: 'The target temperature in degrees Celsius (single setpoint for HEAT/COOL modes)',
|
|
894
|
-
minValue: exports.ABSOLUTE_MIN_SETPOINT,
|
|
895
|
-
maxValue: exports.ABSOLUTE_MAX_SETPOINT,
|
|
896
|
-
},
|
|
897
|
-
{
|
|
898
|
-
name: 'heatingSetpoint',
|
|
899
|
-
type: 'number',
|
|
900
|
-
required: false,
|
|
901
|
-
description: 'The heating setpoint (lower bound) for AUTO mode',
|
|
902
|
-
minValue: exports.ABSOLUTE_MIN_SETPOINT,
|
|
903
|
-
maxValue: exports.ABSOLUTE_MAX_SETPOINT,
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
name: 'coolingSetpoint',
|
|
907
|
-
type: 'number',
|
|
908
|
-
required: false,
|
|
909
|
-
description: 'The cooling setpoint (upper bound) for AUTO mode',
|
|
910
|
-
minValue: exports.ABSOLUTE_MIN_SETPOINT,
|
|
911
|
-
maxValue: exports.ABSOLUTE_MAX_SETPOINT,
|
|
912
|
-
},
|
|
913
|
-
],
|
|
914
|
-
},
|
|
915
|
-
{
|
|
916
|
-
type: ClimateIntentType.SET_MODE,
|
|
917
|
-
label: 'Set Climate Mode',
|
|
918
|
-
description: 'Change the climate operating mode (heat/cool/auto/off)',
|
|
919
|
-
icon: 'mdi:thermostat',
|
|
920
|
-
params: [
|
|
921
|
-
{
|
|
922
|
-
name: 'mode',
|
|
923
|
-
type: 'enum',
|
|
924
|
-
required: true,
|
|
925
|
-
description: 'The climate mode to set',
|
|
926
|
-
enumValues: Object.values(exports.CLIMATE_MODE_META),
|
|
927
|
-
},
|
|
928
|
-
],
|
|
929
|
-
},
|
|
930
|
-
{
|
|
931
|
-
type: ClimateIntentType.CLIMATE_SET,
|
|
932
|
-
label: 'Set Climate Properties',
|
|
933
|
-
description: 'Set multiple climate properties at once (mode, setpoints). Allows atomic updates of mode and temperature in a single call.',
|
|
934
|
-
icon: 'mdi:tune-variant',
|
|
935
|
-
params: [
|
|
936
|
-
{
|
|
937
|
-
name: 'mode',
|
|
938
|
-
type: 'enum',
|
|
939
|
-
required: false,
|
|
940
|
-
description: 'The climate mode to set (optional)',
|
|
941
|
-
enumValues: Object.values(exports.CLIMATE_MODE_META),
|
|
942
|
-
},
|
|
943
|
-
{
|
|
944
|
-
name: 'value',
|
|
945
|
-
type: 'number',
|
|
946
|
-
required: false,
|
|
947
|
-
description: 'The target temperature in degrees Celsius (single setpoint)',
|
|
948
|
-
minValue: exports.ABSOLUTE_MIN_SETPOINT,
|
|
949
|
-
maxValue: exports.ABSOLUTE_MAX_SETPOINT,
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
name: 'heatingSetpoint',
|
|
953
|
-
type: 'number',
|
|
954
|
-
required: false,
|
|
955
|
-
description: 'The heating setpoint (lower bound) for AUTO mode',
|
|
956
|
-
minValue: exports.ABSOLUTE_MIN_SETPOINT,
|
|
957
|
-
maxValue: exports.ABSOLUTE_MAX_SETPOINT,
|
|
958
|
-
},
|
|
959
|
-
{
|
|
960
|
-
name: 'coolingSetpoint',
|
|
961
|
-
type: 'number',
|
|
962
|
-
required: false,
|
|
963
|
-
description: 'The cooling setpoint (upper bound) for AUTO mode',
|
|
964
|
-
minValue: exports.ABSOLUTE_MIN_SETPOINT,
|
|
965
|
-
maxValue: exports.ABSOLUTE_MAX_SETPOINT,
|
|
966
|
-
},
|
|
967
|
-
],
|
|
968
|
-
},
|
|
969
|
-
];
|
|
970
|
-
var CoversRole;
|
|
971
|
-
(function (CoversRole) {
|
|
972
|
-
CoversRole["PRIMARY"] = "primary";
|
|
973
|
-
CoversRole["BLACKOUT"] = "blackout";
|
|
974
|
-
CoversRole["SHEER"] = "sheer";
|
|
975
|
-
CoversRole["OUTDOOR"] = "outdoor";
|
|
976
|
-
CoversRole["HIDDEN"] = "hidden";
|
|
977
|
-
})(CoversRole || (exports.CoversRole = CoversRole = {}));
|
|
978
|
-
var CoversIntentType;
|
|
979
|
-
(function (CoversIntentType) {
|
|
980
|
-
CoversIntentType["OPEN"] = "open";
|
|
981
|
-
CoversIntentType["CLOSE"] = "close";
|
|
982
|
-
CoversIntentType["STOP"] = "stop";
|
|
983
|
-
CoversIntentType["SET_POSITION"] = "set_position";
|
|
984
|
-
CoversIntentType["POSITION_DELTA"] = "position_delta";
|
|
985
|
-
CoversIntentType["ROLE_POSITION"] = "role_position";
|
|
986
|
-
CoversIntentType["SET_MODE"] = "set_mode";
|
|
987
|
-
})(CoversIntentType || (exports.CoversIntentType = CoversIntentType = {}));
|
|
988
|
-
var CoversMode;
|
|
989
|
-
(function (CoversMode) {
|
|
990
|
-
CoversMode["OPEN"] = "open";
|
|
991
|
-
CoversMode["CLOSED"] = "closed";
|
|
992
|
-
CoversMode["PRIVACY"] = "privacy";
|
|
993
|
-
CoversMode["DAYLIGHT"] = "daylight";
|
|
994
|
-
})(CoversMode || (exports.CoversMode = CoversMode = {}));
|
|
995
|
-
var PositionDelta;
|
|
996
|
-
(function (PositionDelta) {
|
|
997
|
-
PositionDelta["SMALL"] = "small";
|
|
998
|
-
PositionDelta["MEDIUM"] = "medium";
|
|
999
|
-
PositionDelta["LARGE"] = "large";
|
|
1000
|
-
})(PositionDelta || (exports.PositionDelta = PositionDelta = {}));
|
|
1001
|
-
exports.POSITION_DELTA_STEPS = {
|
|
1002
|
-
[PositionDelta.SMALL]: 10,
|
|
1003
|
-
[PositionDelta.MEDIUM]: 25,
|
|
1004
|
-
[PositionDelta.LARGE]: 50,
|
|
1005
|
-
};
|
|
1006
|
-
exports.COVERS_MODE_ORCHESTRATION = {
|
|
1007
|
-
[CoversMode.OPEN]: {
|
|
1008
|
-
[CoversRole.PRIMARY]: { position: 100 },
|
|
1009
|
-
[CoversRole.BLACKOUT]: { position: 100 },
|
|
1010
|
-
[CoversRole.SHEER]: { position: 100 },
|
|
1011
|
-
[CoversRole.OUTDOOR]: { position: 100 },
|
|
1012
|
-
},
|
|
1013
|
-
[CoversMode.CLOSED]: {
|
|
1014
|
-
[CoversRole.PRIMARY]: { position: 0 },
|
|
1015
|
-
[CoversRole.BLACKOUT]: { position: 0 },
|
|
1016
|
-
[CoversRole.SHEER]: { position: 0 },
|
|
1017
|
-
[CoversRole.OUTDOOR]: { position: 0 },
|
|
1018
|
-
},
|
|
1019
|
-
[CoversMode.PRIVACY]: {
|
|
1020
|
-
[CoversRole.PRIMARY]: { position: 100 },
|
|
1021
|
-
[CoversRole.BLACKOUT]: { position: 100 },
|
|
1022
|
-
[CoversRole.SHEER]: { position: 50 },
|
|
1023
|
-
[CoversRole.OUTDOOR]: { position: 100 },
|
|
1024
|
-
},
|
|
1025
|
-
[CoversMode.DAYLIGHT]: {
|
|
1026
|
-
[CoversRole.PRIMARY]: { position: 75 },
|
|
1027
|
-
[CoversRole.BLACKOUT]: { position: 100 },
|
|
1028
|
-
[CoversRole.SHEER]: { position: 75 },
|
|
1029
|
-
[CoversRole.OUTDOOR]: { position: 50 },
|
|
1030
|
-
},
|
|
1031
|
-
};
|
|
1032
|
-
exports.COVERS_ROLE_META = {
|
|
1033
|
-
[CoversRole.PRIMARY]: {
|
|
1034
|
-
value: CoversRole.PRIMARY,
|
|
1035
|
-
label: 'Primary',
|
|
1036
|
-
description: 'Main window covering in the space',
|
|
1037
|
-
icon: 'mdi:blinds',
|
|
1038
|
-
},
|
|
1039
|
-
[CoversRole.BLACKOUT]: {
|
|
1040
|
-
value: CoversRole.BLACKOUT,
|
|
1041
|
-
label: 'Blackout',
|
|
1042
|
-
description: 'Light-blocking covers for sleep or movie',
|
|
1043
|
-
icon: 'mdi:blinds-horizontal-closed',
|
|
1044
|
-
},
|
|
1045
|
-
[CoversRole.SHEER]: {
|
|
1046
|
-
value: CoversRole.SHEER,
|
|
1047
|
-
label: 'Sheer',
|
|
1048
|
-
description: 'Semi-transparent covers for privacy',
|
|
1049
|
-
icon: 'mdi:blinds-vertical',
|
|
1050
|
-
},
|
|
1051
|
-
[CoversRole.OUTDOOR]: {
|
|
1052
|
-
value: CoversRole.OUTDOOR,
|
|
1053
|
-
label: 'Outdoor',
|
|
1054
|
-
description: 'External shutters or awnings',
|
|
1055
|
-
icon: 'mdi:window-shutter',
|
|
1056
|
-
},
|
|
1057
|
-
[CoversRole.HIDDEN]: {
|
|
1058
|
-
value: CoversRole.HIDDEN,
|
|
1059
|
-
label: 'Hidden',
|
|
1060
|
-
description: 'Excluded from space-level control',
|
|
1061
|
-
icon: 'mdi:eye-off',
|
|
1062
|
-
},
|
|
1063
|
-
};
|
|
1064
|
-
exports.COVERS_MODE_META = {
|
|
1065
|
-
[CoversMode.OPEN]: {
|
|
1066
|
-
value: CoversMode.OPEN,
|
|
1067
|
-
label: 'Open',
|
|
1068
|
-
description: 'All covers fully open',
|
|
1069
|
-
icon: 'mdi:blinds-open',
|
|
1070
|
-
},
|
|
1071
|
-
[CoversMode.CLOSED]: {
|
|
1072
|
-
value: CoversMode.CLOSED,
|
|
1073
|
-
label: 'Closed',
|
|
1074
|
-
description: 'All covers fully closed',
|
|
1075
|
-
icon: 'mdi:blinds',
|
|
1076
|
-
},
|
|
1077
|
-
[CoversMode.PRIVACY]: {
|
|
1078
|
-
value: CoversMode.PRIVACY,
|
|
1079
|
-
label: 'Privacy',
|
|
1080
|
-
description: 'Sheer covers down for privacy while allowing light',
|
|
1081
|
-
icon: 'mdi:blinds-vertical-closed',
|
|
1082
|
-
},
|
|
1083
|
-
[CoversMode.DAYLIGHT]: {
|
|
1084
|
-
value: CoversMode.DAYLIGHT,
|
|
1085
|
-
label: 'Daylight',
|
|
1086
|
-
description: 'Optimized for natural light',
|
|
1087
|
-
icon: 'mdi:white-balance-sunny',
|
|
1088
|
-
},
|
|
1089
|
-
};
|
|
1090
|
-
exports.POSITION_DELTA_META = {
|
|
1091
|
-
[PositionDelta.SMALL]: {
|
|
1092
|
-
value: PositionDelta.SMALL,
|
|
1093
|
-
label: 'Small',
|
|
1094
|
-
description: `Adjust position by ${exports.POSITION_DELTA_STEPS[PositionDelta.SMALL]}%`,
|
|
1095
|
-
},
|
|
1096
|
-
[PositionDelta.MEDIUM]: {
|
|
1097
|
-
value: PositionDelta.MEDIUM,
|
|
1098
|
-
label: 'Medium',
|
|
1099
|
-
description: `Adjust position by ${exports.POSITION_DELTA_STEPS[PositionDelta.MEDIUM]}%`,
|
|
1100
|
-
},
|
|
1101
|
-
[PositionDelta.LARGE]: {
|
|
1102
|
-
value: PositionDelta.LARGE,
|
|
1103
|
-
label: 'Large',
|
|
1104
|
-
description: `Adjust position by ${exports.POSITION_DELTA_STEPS[PositionDelta.LARGE]}%`,
|
|
1105
|
-
},
|
|
1106
|
-
};
|
|
1107
|
-
exports.COVERS_INTENT_CATALOG = [
|
|
1108
|
-
{
|
|
1109
|
-
type: CoversIntentType.OPEN,
|
|
1110
|
-
label: 'Open All',
|
|
1111
|
-
description: 'Open all covers in the space',
|
|
1112
|
-
icon: 'mdi:blinds-open',
|
|
1113
|
-
params: [],
|
|
1114
|
-
},
|
|
1115
|
-
{
|
|
1116
|
-
type: CoversIntentType.CLOSE,
|
|
1117
|
-
label: 'Close All',
|
|
1118
|
-
description: 'Close all covers in the space',
|
|
1119
|
-
icon: 'mdi:blinds',
|
|
1120
|
-
params: [],
|
|
1121
|
-
},
|
|
1122
|
-
{
|
|
1123
|
-
type: CoversIntentType.STOP,
|
|
1124
|
-
label: 'Stop',
|
|
1125
|
-
description: 'Stop all covers movement',
|
|
1126
|
-
icon: 'mdi:stop',
|
|
1127
|
-
params: [],
|
|
1128
|
-
},
|
|
1129
|
-
{
|
|
1130
|
-
type: CoversIntentType.SET_POSITION,
|
|
1131
|
-
label: 'Set Position',
|
|
1132
|
-
description: 'Set all covers to a specific position (0-100)',
|
|
1133
|
-
icon: 'mdi:blinds-horizontal',
|
|
1134
|
-
params: [
|
|
1135
|
-
{
|
|
1136
|
-
name: 'position',
|
|
1137
|
-
type: 'number',
|
|
1138
|
-
required: true,
|
|
1139
|
-
description: 'Position percentage (0=closed, 100=open)',
|
|
1140
|
-
minValue: 0,
|
|
1141
|
-
maxValue: 100,
|
|
1142
|
-
},
|
|
1143
|
-
],
|
|
1144
|
-
},
|
|
1145
|
-
{
|
|
1146
|
-
type: CoversIntentType.POSITION_DELTA,
|
|
1147
|
-
label: 'Adjust Position',
|
|
1148
|
-
description: 'Increase or decrease cover positions',
|
|
1149
|
-
icon: 'mdi:arrow-up-down',
|
|
1150
|
-
params: [
|
|
1151
|
-
{
|
|
1152
|
-
name: 'delta',
|
|
1153
|
-
type: 'enum',
|
|
1154
|
-
required: true,
|
|
1155
|
-
description: 'The step size for position adjustment',
|
|
1156
|
-
enumValues: Object.values(exports.POSITION_DELTA_META),
|
|
1157
|
-
},
|
|
1158
|
-
{
|
|
1159
|
-
name: 'increase',
|
|
1160
|
-
type: 'boolean',
|
|
1161
|
-
required: true,
|
|
1162
|
-
description: 'True to open more (increase position), false to close more (decrease position)',
|
|
1163
|
-
},
|
|
1164
|
-
],
|
|
1165
|
-
},
|
|
1166
|
-
{
|
|
1167
|
-
type: CoversIntentType.ROLE_POSITION,
|
|
1168
|
-
label: 'Set Role Position',
|
|
1169
|
-
description: 'Set position for covers with a specific role',
|
|
1170
|
-
icon: 'mdi:blinds-horizontal',
|
|
1171
|
-
params: [
|
|
1172
|
-
{
|
|
1173
|
-
name: 'role',
|
|
1174
|
-
type: 'enum',
|
|
1175
|
-
required: true,
|
|
1176
|
-
description: 'The covers role to control',
|
|
1177
|
-
enumValues: Object.values(exports.COVERS_ROLE_META).filter((r) => r.value !== CoversRole.HIDDEN),
|
|
1178
|
-
},
|
|
1179
|
-
{
|
|
1180
|
-
name: 'position',
|
|
1181
|
-
type: 'number',
|
|
1182
|
-
required: true,
|
|
1183
|
-
description: 'Position percentage (0=closed, 100=open)',
|
|
1184
|
-
minValue: 0,
|
|
1185
|
-
maxValue: 100,
|
|
1186
|
-
},
|
|
1187
|
-
],
|
|
1188
|
-
},
|
|
1189
|
-
{
|
|
1190
|
-
type: CoversIntentType.SET_MODE,
|
|
1191
|
-
label: 'Set Mode',
|
|
1192
|
-
description: 'Set a covers mode (open/closed/privacy/daylight) with role-based positions',
|
|
1193
|
-
icon: 'mdi:window-shutter-settings',
|
|
1194
|
-
params: [
|
|
1195
|
-
{
|
|
1196
|
-
name: 'mode',
|
|
1197
|
-
type: 'enum',
|
|
1198
|
-
required: true,
|
|
1199
|
-
description: 'The covers mode to apply',
|
|
1200
|
-
enumValues: Object.values(exports.COVERS_MODE_META),
|
|
1201
|
-
},
|
|
1202
|
-
],
|
|
1203
|
-
},
|
|
1204
|
-
];
|
|
1205
|
-
exports.MEDIA_DEVICE_CATEGORIES = [
|
|
1206
|
-
devices_constants_1.DeviceCategory.MEDIA,
|
|
1207
|
-
devices_constants_1.DeviceCategory.SPEAKER,
|
|
1208
|
-
devices_constants_1.DeviceCategory.TELEVISION,
|
|
1209
|
-
devices_constants_1.DeviceCategory.AV_RECEIVER,
|
|
1210
|
-
devices_constants_1.DeviceCategory.SET_TOP_BOX,
|
|
1211
|
-
devices_constants_1.DeviceCategory.GAME_CONSOLE,
|
|
1212
|
-
devices_constants_1.DeviceCategory.PROJECTOR,
|
|
1213
|
-
devices_constants_1.DeviceCategory.STREAMING_SERVICE,
|
|
1214
|
-
];
|
|
1215
|
-
exports.MEDIA_CHANNEL_CATEGORIES = [
|
|
1216
|
-
devices_constants_1.ChannelCategory.SWITCHER,
|
|
1217
|
-
devices_constants_1.ChannelCategory.SPEAKER,
|
|
1218
|
-
devices_constants_1.ChannelCategory.TELEVISION,
|
|
1219
|
-
devices_constants_1.ChannelCategory.PROJECTOR,
|
|
1220
|
-
devices_constants_1.ChannelCategory.MEDIA_INPUT,
|
|
1221
|
-
devices_constants_1.ChannelCategory.MEDIA_PLAYBACK,
|
|
1222
|
-
];
|
|
1223
|
-
var MediaEndpointType;
|
|
1224
|
-
(function (MediaEndpointType) {
|
|
1225
|
-
MediaEndpointType["DISPLAY"] = "display";
|
|
1226
|
-
MediaEndpointType["AUDIO_OUTPUT"] = "audio_output";
|
|
1227
|
-
MediaEndpointType["SOURCE"] = "source";
|
|
1228
|
-
MediaEndpointType["REMOTE_TARGET"] = "remote_target";
|
|
1229
|
-
})(MediaEndpointType || (exports.MediaEndpointType = MediaEndpointType = {}));
|
|
1230
|
-
var MediaActivityKey;
|
|
1231
|
-
(function (MediaActivityKey) {
|
|
1232
|
-
MediaActivityKey["WATCH"] = "watch";
|
|
1233
|
-
MediaActivityKey["LISTEN"] = "listen";
|
|
1234
|
-
MediaActivityKey["GAMING"] = "gaming";
|
|
1235
|
-
MediaActivityKey["BACKGROUND"] = "background";
|
|
1236
|
-
MediaActivityKey["OFF"] = "off";
|
|
1237
|
-
})(MediaActivityKey || (exports.MediaActivityKey = MediaActivityKey = {}));
|
|
1238
|
-
exports.CONFIGURABLE_ACTIVITY_KEYS = [
|
|
1239
|
-
MediaActivityKey.WATCH,
|
|
1240
|
-
MediaActivityKey.LISTEN,
|
|
1241
|
-
MediaActivityKey.GAMING,
|
|
1242
|
-
MediaActivityKey.BACKGROUND,
|
|
1243
|
-
];
|
|
1244
|
-
var MediaActivationState;
|
|
1245
|
-
(function (MediaActivationState) {
|
|
1246
|
-
MediaActivationState["ACTIVATING"] = "activating";
|
|
1247
|
-
MediaActivationState["ACTIVE"] = "active";
|
|
1248
|
-
MediaActivationState["FAILED"] = "failed";
|
|
1249
|
-
MediaActivationState["DEACTIVATED"] = "deactivated";
|
|
1250
|
-
})(MediaActivationState || (exports.MediaActivationState = MediaActivationState = {}));
|
|
1251
|
-
var MediaCapability;
|
|
1252
|
-
(function (MediaCapability) {
|
|
1253
|
-
MediaCapability["POWER"] = "power";
|
|
1254
|
-
MediaCapability["VOLUME"] = "volume";
|
|
1255
|
-
MediaCapability["MUTE"] = "mute";
|
|
1256
|
-
MediaCapability["PLAYBACK"] = "playback";
|
|
1257
|
-
MediaCapability["PLAYBACK_STATE"] = "playback_state";
|
|
1258
|
-
MediaCapability["INPUT"] = "input";
|
|
1259
|
-
MediaCapability["REMOTE"] = "remote";
|
|
1260
|
-
MediaCapability["TRACK_METADATA"] = "track_metadata";
|
|
1261
|
-
})(MediaCapability || (exports.MediaCapability = MediaCapability = {}));
|
|
1262
|
-
var MediaCapabilityPermission;
|
|
1263
|
-
(function (MediaCapabilityPermission) {
|
|
1264
|
-
MediaCapabilityPermission["READ"] = "read";
|
|
1265
|
-
MediaCapabilityPermission["WRITE"] = "write";
|
|
1266
|
-
MediaCapabilityPermission["READ_WRITE"] = "read_write";
|
|
1267
|
-
})(MediaCapabilityPermission || (exports.MediaCapabilityPermission = MediaCapabilityPermission = {}));
|
|
1268
|
-
exports.MEDIA_ENDPOINT_TYPE_META = {
|
|
1269
|
-
[MediaEndpointType.DISPLAY]: {
|
|
1270
|
-
value: MediaEndpointType.DISPLAY,
|
|
1271
|
-
label: 'Display',
|
|
1272
|
-
description: 'Visual output device (TV, projector)',
|
|
1273
|
-
icon: 'mdi:television',
|
|
1274
|
-
},
|
|
1275
|
-
[MediaEndpointType.AUDIO_OUTPUT]: {
|
|
1276
|
-
value: MediaEndpointType.AUDIO_OUTPUT,
|
|
1277
|
-
label: 'Audio Output',
|
|
1278
|
-
description: 'Audio output device (receiver, speaker)',
|
|
1279
|
-
icon: 'mdi:speaker',
|
|
1280
|
-
},
|
|
1281
|
-
[MediaEndpointType.SOURCE]: {
|
|
1282
|
-
value: MediaEndpointType.SOURCE,
|
|
1283
|
-
label: 'Source',
|
|
1284
|
-
description: 'Media content source (streamer, console)',
|
|
1285
|
-
icon: 'mdi:play-box',
|
|
1286
|
-
},
|
|
1287
|
-
[MediaEndpointType.REMOTE_TARGET]: {
|
|
1288
|
-
value: MediaEndpointType.REMOTE_TARGET,
|
|
1289
|
-
label: 'Remote Target',
|
|
1290
|
-
description: 'Device that accepts remote commands',
|
|
1291
|
-
icon: 'mdi:remote',
|
|
1292
|
-
},
|
|
1293
|
-
};
|
|
1294
|
-
exports.INTENT_CATEGORY_CATALOG = [
|
|
1295
|
-
{
|
|
1296
|
-
category: IntentCategory.LIGHTING,
|
|
1297
|
-
label: 'Lighting',
|
|
1298
|
-
description: 'Control lights in the space with modes and brightness adjustments',
|
|
1299
|
-
icon: 'mdi:lightbulb-group',
|
|
1300
|
-
intents: exports.LIGHTING_INTENT_CATALOG,
|
|
1301
|
-
},
|
|
1302
|
-
{
|
|
1303
|
-
category: IntentCategory.CLIMATE,
|
|
1304
|
-
label: 'Climate',
|
|
1305
|
-
description: 'Control temperature and climate settings in the space',
|
|
1306
|
-
icon: 'mdi:thermostat',
|
|
1307
|
-
intents: exports.CLIMATE_INTENT_CATALOG,
|
|
1308
|
-
},
|
|
1309
|
-
{
|
|
1310
|
-
category: IntentCategory.COVERS,
|
|
1311
|
-
label: 'Covers',
|
|
1312
|
-
description: 'Control window coverings (blinds, curtains, shutters) with modes and position adjustments',
|
|
1313
|
-
icon: 'mdi:blinds',
|
|
1314
|
-
intents: exports.COVERS_INTENT_CATALOG,
|
|
1315
|
-
},
|
|
1316
|
-
];
|
|
1317
|
-
exports.QUICK_ACTION_CATALOG = [
|
|
1318
|
-
{
|
|
1319
|
-
type: QuickActionType.LIGHTING_OFF,
|
|
1320
|
-
label: 'Lights Off',
|
|
1321
|
-
description: 'Turn off all lights',
|
|
1322
|
-
icon: 'mdi:lightbulb-off',
|
|
1323
|
-
category: IntentCategory.LIGHTING,
|
|
1324
|
-
},
|
|
1325
|
-
{
|
|
1326
|
-
type: QuickActionType.LIGHTING_WORK,
|
|
1327
|
-
label: 'Work Mode',
|
|
1328
|
-
description: 'Bright lighting for focus',
|
|
1329
|
-
icon: 'mdi:briefcase',
|
|
1330
|
-
category: IntentCategory.LIGHTING,
|
|
1331
|
-
},
|
|
1332
|
-
{
|
|
1333
|
-
type: QuickActionType.LIGHTING_RELAX,
|
|
1334
|
-
label: 'Relax Mode',
|
|
1335
|
-
description: 'Soft ambient lighting',
|
|
1336
|
-
icon: 'mdi:sofa',
|
|
1337
|
-
category: IntentCategory.LIGHTING,
|
|
1338
|
-
},
|
|
1339
|
-
{
|
|
1340
|
-
type: QuickActionType.LIGHTING_NIGHT,
|
|
1341
|
-
label: 'Night Mode',
|
|
1342
|
-
description: 'Minimal lighting',
|
|
1343
|
-
icon: 'mdi:weather-night',
|
|
1344
|
-
category: IntentCategory.LIGHTING,
|
|
1345
|
-
},
|
|
1346
|
-
{
|
|
1347
|
-
type: QuickActionType.BRIGHTNESS_UP,
|
|
1348
|
-
label: 'Brighter',
|
|
1349
|
-
description: 'Increase brightness',
|
|
1350
|
-
icon: 'mdi:brightness-5',
|
|
1351
|
-
category: IntentCategory.LIGHTING,
|
|
1352
|
-
},
|
|
1353
|
-
{
|
|
1354
|
-
type: QuickActionType.BRIGHTNESS_DOWN,
|
|
1355
|
-
label: 'Dimmer',
|
|
1356
|
-
description: 'Decrease brightness',
|
|
1357
|
-
icon: 'mdi:brightness-4',
|
|
1358
|
-
category: IntentCategory.LIGHTING,
|
|
1359
|
-
},
|
|
1360
|
-
{
|
|
1361
|
-
type: QuickActionType.CLIMATE_UP,
|
|
1362
|
-
label: 'Warmer',
|
|
1363
|
-
description: 'Increase temperature',
|
|
1364
|
-
icon: 'mdi:thermometer-plus',
|
|
1365
|
-
category: IntentCategory.CLIMATE,
|
|
1366
|
-
},
|
|
1367
|
-
{
|
|
1368
|
-
type: QuickActionType.CLIMATE_DOWN,
|
|
1369
|
-
label: 'Cooler',
|
|
1370
|
-
description: 'Decrease temperature',
|
|
1371
|
-
icon: 'mdi:thermometer-minus',
|
|
1372
|
-
category: IntentCategory.CLIMATE,
|
|
1373
|
-
},
|
|
1374
|
-
];
|
|
1375
|
-
var SensorRole;
|
|
1376
|
-
(function (SensorRole) {
|
|
1377
|
-
SensorRole["ENVIRONMENT"] = "environment";
|
|
1378
|
-
SensorRole["SAFETY"] = "safety";
|
|
1379
|
-
SensorRole["SECURITY"] = "security";
|
|
1380
|
-
SensorRole["AIR_QUALITY"] = "air_quality";
|
|
1381
|
-
SensorRole["ENERGY"] = "energy";
|
|
1382
|
-
SensorRole["OTHER"] = "other";
|
|
1383
|
-
SensorRole["HIDDEN"] = "hidden";
|
|
1384
|
-
})(SensorRole || (exports.SensorRole = SensorRole = {}));
|
|
1385
|
-
exports.SENSOR_CHANNEL_CATEGORIES = [
|
|
1386
|
-
devices_constants_1.ChannelCategory.TEMPERATURE,
|
|
1387
|
-
devices_constants_1.ChannelCategory.HUMIDITY,
|
|
1388
|
-
devices_constants_1.ChannelCategory.PRESSURE,
|
|
1389
|
-
devices_constants_1.ChannelCategory.ILLUMINANCE,
|
|
1390
|
-
devices_constants_1.ChannelCategory.SMOKE,
|
|
1391
|
-
devices_constants_1.ChannelCategory.GAS,
|
|
1392
|
-
devices_constants_1.ChannelCategory.LEAK,
|
|
1393
|
-
devices_constants_1.ChannelCategory.CARBON_MONOXIDE,
|
|
1394
|
-
devices_constants_1.ChannelCategory.CARBON_DIOXIDE,
|
|
1395
|
-
devices_constants_1.ChannelCategory.MOTION,
|
|
1396
|
-
devices_constants_1.ChannelCategory.OCCUPANCY,
|
|
1397
|
-
devices_constants_1.ChannelCategory.CONTACT,
|
|
1398
|
-
devices_constants_1.ChannelCategory.AIR_QUALITY,
|
|
1399
|
-
devices_constants_1.ChannelCategory.AIR_PARTICULATE,
|
|
1400
|
-
devices_constants_1.ChannelCategory.NITROGEN_DIOXIDE,
|
|
1401
|
-
devices_constants_1.ChannelCategory.OZONE,
|
|
1402
|
-
devices_constants_1.ChannelCategory.SULPHUR_DIOXIDE,
|
|
1403
|
-
devices_constants_1.ChannelCategory.VOLATILE_ORGANIC_COMPOUNDS,
|
|
1404
|
-
devices_constants_1.ChannelCategory.ELECTRICAL_ENERGY,
|
|
1405
|
-
devices_constants_1.ChannelCategory.ELECTRICAL_POWER,
|
|
1406
|
-
devices_constants_1.ChannelCategory.BATTERY,
|
|
1407
|
-
];
|
|
1408
|
-
exports.SENSOR_ENVIRONMENT_CHANNEL_CATEGORIES = [
|
|
1409
|
-
devices_constants_1.ChannelCategory.TEMPERATURE,
|
|
1410
|
-
devices_constants_1.ChannelCategory.HUMIDITY,
|
|
1411
|
-
devices_constants_1.ChannelCategory.PRESSURE,
|
|
1412
|
-
devices_constants_1.ChannelCategory.ILLUMINANCE,
|
|
1413
|
-
];
|
|
1414
|
-
exports.SENSOR_SAFETY_CHANNEL_CATEGORIES = [
|
|
1415
|
-
devices_constants_1.ChannelCategory.SMOKE,
|
|
1416
|
-
devices_constants_1.ChannelCategory.GAS,
|
|
1417
|
-
devices_constants_1.ChannelCategory.LEAK,
|
|
1418
|
-
devices_constants_1.ChannelCategory.CARBON_MONOXIDE,
|
|
1419
|
-
];
|
|
1420
|
-
exports.SENSOR_SECURITY_CHANNEL_CATEGORIES = [
|
|
1421
|
-
devices_constants_1.ChannelCategory.MOTION,
|
|
1422
|
-
devices_constants_1.ChannelCategory.OCCUPANCY,
|
|
1423
|
-
devices_constants_1.ChannelCategory.CONTACT,
|
|
1424
|
-
];
|
|
1425
|
-
exports.SENSOR_AIR_QUALITY_CHANNEL_CATEGORIES = [
|
|
1426
|
-
devices_constants_1.ChannelCategory.AIR_QUALITY,
|
|
1427
|
-
devices_constants_1.ChannelCategory.AIR_PARTICULATE,
|
|
1428
|
-
devices_constants_1.ChannelCategory.CARBON_DIOXIDE,
|
|
1429
|
-
devices_constants_1.ChannelCategory.NITROGEN_DIOXIDE,
|
|
1430
|
-
devices_constants_1.ChannelCategory.OZONE,
|
|
1431
|
-
devices_constants_1.ChannelCategory.SULPHUR_DIOXIDE,
|
|
1432
|
-
devices_constants_1.ChannelCategory.VOLATILE_ORGANIC_COMPOUNDS,
|
|
1433
|
-
];
|
|
1434
|
-
exports.SENSOR_ENERGY_CHANNEL_CATEGORIES = [
|
|
1435
|
-
devices_constants_1.ChannelCategory.ELECTRICAL_ENERGY,
|
|
1436
|
-
devices_constants_1.ChannelCategory.ELECTRICAL_POWER,
|
|
1437
|
-
];
|
|
1438
|
-
exports.SENSOR_PRIMARY_PROPERTY_CANDIDATES = {
|
|
1439
|
-
[devices_constants_1.ChannelCategory.TEMPERATURE]: [{ category: devices_constants_1.PropertyCategory.TEMPERATURE, unit: '°C' }],
|
|
1440
|
-
[devices_constants_1.ChannelCategory.HUMIDITY]: [{ category: devices_constants_1.PropertyCategory.HUMIDITY, unit: '%' }],
|
|
1441
|
-
[devices_constants_1.ChannelCategory.PRESSURE]: [{ category: devices_constants_1.PropertyCategory.PRESSURE, unit: 'hPa' }],
|
|
1442
|
-
[devices_constants_1.ChannelCategory.ILLUMINANCE]: [
|
|
1443
|
-
{ category: devices_constants_1.PropertyCategory.ILLUMINANCE, unit: 'lux' },
|
|
1444
|
-
{ category: devices_constants_1.PropertyCategory.LEVEL, unit: null },
|
|
1445
|
-
],
|
|
1446
|
-
[devices_constants_1.ChannelCategory.MOTION]: [{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null }],
|
|
1447
|
-
[devices_constants_1.ChannelCategory.OCCUPANCY]: [{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null }],
|
|
1448
|
-
[devices_constants_1.ChannelCategory.CONTACT]: [{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null }],
|
|
1449
|
-
[devices_constants_1.ChannelCategory.SMOKE]: [{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null }],
|
|
1450
|
-
[devices_constants_1.ChannelCategory.LEAK]: [{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null }],
|
|
1451
|
-
[devices_constants_1.ChannelCategory.GAS]: [
|
|
1452
|
-
{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null },
|
|
1453
|
-
{ category: devices_constants_1.PropertyCategory.STATUS, unit: null },
|
|
1454
|
-
{ category: devices_constants_1.PropertyCategory.CONCENTRATION, unit: 'ppm' },
|
|
1455
|
-
],
|
|
1456
|
-
[devices_constants_1.ChannelCategory.CARBON_DIOXIDE]: [
|
|
1457
|
-
{ category: devices_constants_1.PropertyCategory.CONCENTRATION, unit: 'ppm' },
|
|
1458
|
-
{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null },
|
|
1459
|
-
],
|
|
1460
|
-
[devices_constants_1.ChannelCategory.CARBON_MONOXIDE]: [
|
|
1461
|
-
{ category: devices_constants_1.PropertyCategory.CONCENTRATION, unit: 'ppm' },
|
|
1462
|
-
{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null },
|
|
1463
|
-
],
|
|
1464
|
-
[devices_constants_1.ChannelCategory.NITROGEN_DIOXIDE]: [
|
|
1465
|
-
{ category: devices_constants_1.PropertyCategory.CONCENTRATION, unit: 'µg/m³' },
|
|
1466
|
-
{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null },
|
|
1467
|
-
{ category: devices_constants_1.PropertyCategory.LEVEL, unit: null },
|
|
1468
|
-
],
|
|
1469
|
-
[devices_constants_1.ChannelCategory.OZONE]: [
|
|
1470
|
-
{ category: devices_constants_1.PropertyCategory.CONCENTRATION, unit: 'µg/m³' },
|
|
1471
|
-
{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null },
|
|
1472
|
-
{ category: devices_constants_1.PropertyCategory.LEVEL, unit: null },
|
|
1473
|
-
],
|
|
1474
|
-
[devices_constants_1.ChannelCategory.SULPHUR_DIOXIDE]: [
|
|
1475
|
-
{ category: devices_constants_1.PropertyCategory.CONCENTRATION, unit: 'µg/m³' },
|
|
1476
|
-
{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null },
|
|
1477
|
-
{ category: devices_constants_1.PropertyCategory.LEVEL, unit: null },
|
|
1478
|
-
],
|
|
1479
|
-
[devices_constants_1.ChannelCategory.VOLATILE_ORGANIC_COMPOUNDS]: [
|
|
1480
|
-
{ category: devices_constants_1.PropertyCategory.CONCENTRATION, unit: 'µg/m³' },
|
|
1481
|
-
{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null },
|
|
1482
|
-
{ category: devices_constants_1.PropertyCategory.LEVEL, unit: null },
|
|
1483
|
-
],
|
|
1484
|
-
[devices_constants_1.ChannelCategory.AIR_QUALITY]: [
|
|
1485
|
-
{ category: devices_constants_1.PropertyCategory.AQI, unit: 'AQI' },
|
|
1486
|
-
{ category: devices_constants_1.PropertyCategory.LEVEL, unit: null },
|
|
1487
|
-
],
|
|
1488
|
-
[devices_constants_1.ChannelCategory.AIR_PARTICULATE]: [
|
|
1489
|
-
{ category: devices_constants_1.PropertyCategory.CONCENTRATION, unit: 'µg/m³' },
|
|
1490
|
-
{ category: devices_constants_1.PropertyCategory.DETECTED, unit: null },
|
|
1491
|
-
],
|
|
1492
|
-
[devices_constants_1.ChannelCategory.ELECTRICAL_POWER]: [{ category: devices_constants_1.PropertyCategory.POWER, unit: 'W' }],
|
|
1493
|
-
[devices_constants_1.ChannelCategory.ELECTRICAL_ENERGY]: [{ category: devices_constants_1.PropertyCategory.CONSUMPTION, unit: 'kWh' }],
|
|
1494
|
-
[devices_constants_1.ChannelCategory.BATTERY]: [{ category: devices_constants_1.PropertyCategory.PERCENTAGE, unit: '%' }],
|
|
1495
|
-
};
|
|
1496
|
-
exports.SENSOR_ROLE_META = {
|
|
1497
|
-
[SensorRole.ENVIRONMENT]: {
|
|
1498
|
-
value: SensorRole.ENVIRONMENT,
|
|
1499
|
-
label: 'Environment',
|
|
1500
|
-
description: 'Environmental sensors (temperature, humidity, pressure, light)',
|
|
1501
|
-
icon: 'mdi:thermometer',
|
|
1502
|
-
},
|
|
1503
|
-
[SensorRole.SAFETY]: {
|
|
1504
|
-
value: SensorRole.SAFETY,
|
|
1505
|
-
label: 'Safety',
|
|
1506
|
-
description: 'Safety sensors (smoke, gas, leak, carbon monoxide)',
|
|
1507
|
-
icon: 'mdi:shield-alert',
|
|
1508
|
-
},
|
|
1509
|
-
[SensorRole.SECURITY]: {
|
|
1510
|
-
value: SensorRole.SECURITY,
|
|
1511
|
-
label: 'Security',
|
|
1512
|
-
description: 'Security sensors (motion, occupancy, contact)',
|
|
1513
|
-
icon: 'mdi:motion-sensor',
|
|
1514
|
-
},
|
|
1515
|
-
[SensorRole.AIR_QUALITY]: {
|
|
1516
|
-
value: SensorRole.AIR_QUALITY,
|
|
1517
|
-
label: 'Air Quality',
|
|
1518
|
-
description: 'Air quality sensors (AQI, CO2, VOC, particulates)',
|
|
1519
|
-
icon: 'mdi:air-filter',
|
|
1520
|
-
},
|
|
1521
|
-
[SensorRole.ENERGY]: {
|
|
1522
|
-
value: SensorRole.ENERGY,
|
|
1523
|
-
label: 'Energy',
|
|
1524
|
-
description: 'Energy monitoring sensors (power, consumption)',
|
|
1525
|
-
icon: 'mdi:lightning-bolt',
|
|
1526
|
-
},
|
|
1527
|
-
[SensorRole.OTHER]: {
|
|
1528
|
-
value: SensorRole.OTHER,
|
|
1529
|
-
label: 'Other',
|
|
1530
|
-
description: 'Unclassified sensors',
|
|
1531
|
-
icon: 'mdi:chart-line',
|
|
1532
|
-
},
|
|
1533
|
-
[SensorRole.HIDDEN]: {
|
|
1534
|
-
value: SensorRole.HIDDEN,
|
|
1535
|
-
label: 'Hidden',
|
|
1536
|
-
description: 'Hidden sensors (excluded from UI)',
|
|
1537
|
-
icon: 'mdi:eye-off',
|
|
1538
|
-
},
|
|
1539
|
-
};
|
|
1540
|
-
exports.SAFETY_SENSOR_THRESHOLDS = {
|
|
1541
|
-
CARBON_MONOXIDE_PPM: 50,
|
|
1542
|
-
GAS_DETECTION_PPM: 0,
|
|
1543
|
-
DEFAULT_NUMERIC_THRESHOLD: 0,
|
|
1544
|
-
};
|
|
1545
109
|
//# sourceMappingURL=spaces.constants.js.map
|