@camstack/server 1.2.941 → 1.2.942

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.
Files changed (154) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/api/trpc/generated-cap-mounts.js +19 -1
  3. package/dist/api/trpc/generated-cap-routers.js +676 -596
  4. package/package.json +27 -11
  5. package/system/dist/action-index-B1fgpQBt.mjs +9925 -0
  6. package/system/dist/action-index-B_cLRwXJ.js +9972 -0
  7. package/system/dist/alert-episode-Be--PngO.mjs +64 -0
  8. package/system/dist/alert-episode-Bqktmt-i.js +93 -0
  9. package/system/dist/{base-addon-Md14i7pe.mjs → base-addon-BcS6r1cT.mjs} +20 -7
  10. package/system/dist/{base-addon-DD5dIfcZ.js → base-addon-CRsXtYFG.js} +20 -7
  11. package/system/dist/{base-device-CH8rfD9j.js → base-device-DAdWzDOl.js} +138 -34
  12. package/system/dist/{base-device-BcGO6LTT.mjs → base-device-DJXF5eDN.mjs} +138 -34
  13. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.js +1 -1
  14. package/system/dist/builtins/addon-pages-aggregator/addon-pages-aggregator.addon.mjs +1 -1
  15. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.js +1 -1
  16. package/system/dist/builtins/addon-widgets-aggregator/addon-widgets-aggregator.addon.mjs +1 -1
  17. package/system/dist/builtins/alerts/alert-episode-policy.d.ts +9 -5
  18. package/system/dist/builtins/alerts/alerts.addon.js +30 -80
  19. package/system/dist/builtins/alerts/alerts.addon.mjs +18 -68
  20. package/system/dist/builtins/autotrack/index.js +2 -2
  21. package/system/dist/builtins/autotrack/index.mjs +2 -2
  22. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.js +1 -1
  23. package/system/dist/builtins/backup-orchestrator/backup-orchestrator.addon.mjs +1 -1
  24. package/system/dist/builtins/calendars/calendars.addon.js +1 -1
  25. package/system/dist/builtins/calendars/calendars.addon.mjs +1 -1
  26. package/system/dist/builtins/camera-grid/index.js +9 -9
  27. package/system/dist/builtins/camera-grid/index.mjs +6 -6
  28. package/system/dist/builtins/composer/composer.addon.js +99 -99
  29. package/system/dist/builtins/composer/composer.addon.mjs +11 -11
  30. package/system/dist/builtins/console-logging/index.js +1 -1
  31. package/system/dist/builtins/console-logging/index.mjs +1 -1
  32. package/system/dist/builtins/core-blocks/automation-template-instances.d.ts +14 -1
  33. package/system/dist/builtins/core-blocks/core-blocks.addon.d.ts +6 -0
  34. package/system/dist/builtins/core-blocks/core-blocks.addon.js +296 -193
  35. package/system/dist/builtins/core-blocks/core-blocks.addon.mjs +237 -134
  36. package/system/dist/builtins/core-blocks/link-contributions.d.ts +2 -0
  37. package/system/dist/builtins/core-notifier/core-notifier.addon.js +91 -18
  38. package/system/dist/builtins/core-notifier/core-notifier.addon.mjs +91 -18
  39. package/system/dist/builtins/core-notifier/group-notification-output.d.ts +8 -16
  40. package/system/dist/builtins/device-history/device-history.addon.d.ts +8 -0
  41. package/system/dist/builtins/device-history/device-history.addon.js +580 -60
  42. package/system/dist/builtins/device-history/device-history.addon.mjs +569 -49
  43. package/system/dist/builtins/device-history/retention/device-raw-overrides.d.ts +16 -0
  44. package/system/dist/builtins/device-history/retention/retention-knobs.d.ts +14 -0
  45. package/system/dist/builtins/device-history/retention/retention.d.ts +21 -1
  46. package/system/dist/builtins/device-history/transitions/change-coalescing.d.ts +48 -0
  47. package/system/dist/builtins/device-history/transitions/derived-changes.d.ts +49 -0
  48. package/system/dist/builtins/device-history/transitions/history-change-port.d.ts +20 -0
  49. package/system/dist/builtins/device-history/transitions/transitions-service.d.ts +18 -3
  50. package/system/dist/builtins/device-manager/device-identity-index.d.ts +2 -2
  51. package/system/dist/builtins/device-manager/device-manager.addon.js +177 -479
  52. package/system/dist/builtins/device-manager/device-manager.addon.mjs +169 -471
  53. package/system/dist/builtins/device-manager/device-state-mirror.d.ts +0 -5
  54. package/system/dist/builtins/device-manager/identity-link-reconciler.d.ts +5 -0
  55. package/system/dist/builtins/device-manager/transitions/command-recorder.d.ts +38 -0
  56. package/system/dist/builtins/device-manager/transitions/transitions-wiring.d.ts +8 -9
  57. package/system/dist/builtins/hub-forwarder/index.js +1 -1
  58. package/system/dist/builtins/hub-forwarder/index.mjs +1 -1
  59. package/system/dist/builtins/keychain/index.js +2 -2
  60. package/system/dist/builtins/keychain/index.mjs +2 -2
  61. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.js +2 -2
  62. package/system/dist/builtins/liveness-monitor/liveness-monitor.addon.mjs +2 -2
  63. package/system/dist/builtins/local-auth/local-auth.addon.js +2 -2
  64. package/system/dist/builtins/local-auth/local-auth.addon.mjs +2 -2
  65. package/system/dist/builtins/local-network/address-book.d.ts +3 -1
  66. package/system/dist/builtins/local-network/local-network.addon.d.ts +26 -1
  67. package/system/dist/builtins/local-network/local-network.addon.js +66 -11
  68. package/system/dist/builtins/local-network/local-network.addon.mjs +66 -11
  69. package/system/dist/builtins/loki-logging/index.js +1 -1
  70. package/system/dist/builtins/loki-logging/index.mjs +1 -1
  71. package/system/dist/builtins/native-metrics/native-metrics.addon.js +1 -1
  72. package/system/dist/builtins/native-metrics/native-metrics.addon.mjs +1 -1
  73. package/system/dist/builtins/platform-probe/index.js +1 -1
  74. package/system/dist/builtins/platform-probe/index.mjs +1 -1
  75. package/system/dist/builtins/record-entries/index.js +1 -1
  76. package/system/dist/builtins/record-entries/index.mjs +1 -1
  77. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.js +1 -1
  78. package/system/dist/builtins/remote-access-orchestrator/remote-access-orchestrator.addon.mjs +1 -1
  79. package/system/dist/builtins/snapshot/index.js +4 -4
  80. package/system/dist/builtins/snapshot/index.mjs +4 -4
  81. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.js +1 -1
  82. package/system/dist/builtins/sqlite-storage/filesystem-storage.addon.mjs +1 -1
  83. package/system/dist/builtins/sqlite-storage/index.js +1 -1
  84. package/system/dist/builtins/sqlite-storage/index.mjs +1 -1
  85. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.js +3 -3
  86. package/system/dist/builtins/sqlite-storage/sqlite-settings.addon.mjs +3 -3
  87. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.js +1 -1
  88. package/system/dist/builtins/storage-orchestrator/storage-orchestrator.addon.mjs +1 -1
  89. package/system/dist/builtins/system-config/system-config.addon.js +1 -1
  90. package/system/dist/builtins/system-config/system-config.addon.mjs +1 -1
  91. package/system/dist/builtins/winston-logging/index.js +1 -1
  92. package/system/dist/builtins/winston-logging/index.mjs +1 -1
  93. package/system/dist/{capture-engine-CUZ3W0oZ.mjs → capture-engine-B2MmoNND.mjs} +1 -1
  94. package/system/dist/{capture-engine-mtDXEBAq.js → capture-engine-D_1IJmMs.js} +1 -1
  95. package/system/dist/command-catalog-C29hVOOg.js +210 -0
  96. package/system/dist/command-catalog-xAeqxbZk.mjs +169 -0
  97. package/system/dist/{error.cap-DCwbIGEF.mjs → compile-OBMHlqD-.mjs} +97 -100
  98. package/system/dist/{error.cap-BxLEHP6z.js → compile-SpeAhaZ6.js} +107 -116
  99. package/system/dist/{composition-sources-B56CU8hi.mjs → composition-sources-C327LGFn.mjs} +2 -2
  100. package/system/dist/{composition-sources-D_Bfwji0.js → composition-sources-Do5qM6EB.js} +17 -17
  101. package/system/dist/{core-blocks.cap-xt5_fK5Z.js → core-blocks.cap-CdTGUKtr.js} +194 -10110
  102. package/system/dist/{core-blocks.cap-DDECcMeI.mjs → core-blocks.cap-DLkEfV5b.mjs} +54 -9910
  103. package/system/dist/{device-kind-BJ2pfsjw.mjs → device-kind-C37Ra2wd.mjs} +4 -2
  104. package/system/dist/{device-kind-CsSiv_YF.js → device-kind-FMhJg8uC.js} +4 -2
  105. package/system/dist/{device-manager.cap-DyHOIh5T.js → device-manager.cap-DJs8izI6.js} +13 -4
  106. package/system/dist/{device-manager.cap-DIBK62-r.mjs → device-manager.cap-eYrj1Ezp.mjs} +13 -4
  107. package/system/dist/{device-provider.cap-BKUGJSo0.js → device-provider.cap-CNlYBQ5D.js} +1 -1
  108. package/system/dist/{device-provider.cap-DU6HMUXH.mjs → device-provider.cap-D8mJllVM.mjs} +1 -1
  109. package/system/dist/{device-row-store-O4mNbp5q.js → device-row-store-C0P2H18h.js} +2 -2
  110. package/system/dist/{device-row-store-C-_R-h1Z.mjs → device-row-store-CTocYKqC.mjs} +2 -2
  111. package/system/dist/{device-type-CbQsnFdC.js → device-type-Cnc0NiSX.js} +13 -0
  112. package/system/dist/{device-type-DgEvK3ch.mjs → device-type-TUGqGmaI.mjs} +13 -0
  113. package/system/dist/error.cap-BuKbL3Ac.js +125 -0
  114. package/system/dist/error.cap-CU1FB6uE.mjs +102 -0
  115. package/system/dist/file-host-worker.js +1 -1
  116. package/system/dist/file-host-worker.mjs +1 -1
  117. package/system/dist/{history-catalog-BwTeQ4Mr.mjs → history-catalog-A_dzXNpv.mjs} +98 -3
  118. package/system/dist/{history-catalog-BKRarIL_.js → history-catalog-CiTMP3-E.js} +98 -3
  119. package/system/dist/index.js +28 -6
  120. package/system/dist/index.mjs +28 -6
  121. package/system/dist/kernel/addon-version-policy.d.ts +10 -0
  122. package/system/dist/{legacy-integration-rows-door-B1nzxxr5.js → legacy-integration-rows-door-CdqYAj-o.js} +1 -1
  123. package/system/dist/{legacy-integration-rows-door-nTvo_6jQ.mjs → legacy-integration-rows-door-LSgpClpX.mjs} +1 -1
  124. package/system/dist/{low-power-sleep.cap-B6mz6ojP.js → low-power-sleep.cap-BJWyAuUQ.js} +1 -1
  125. package/system/dist/{low-power-sleep.cap-C3Vi8Vxj.mjs → low-power-sleep.cap-D9Orx3LS.mjs} +1 -1
  126. package/system/dist/migrations/hub/2026-11-22-device-transitions-commands-only.d.ts +10 -0
  127. package/system/dist/{network-access.cap-BEN_uRVb.js → network-access.cap-CTQ2WQoi.js} +38 -12
  128. package/system/dist/{network-access.cap-Dy8FNNVs.mjs → network-access.cap-Dx5K0I5i.mjs} +33 -13
  129. package/system/dist/{notification-rules.cap-Drwz-A4n.js → notification-rules.cap-BJKUjizS.js} +45 -9
  130. package/system/dist/{notification-rules.cap-0vVvsxQ1.mjs → notification-rules.cap-BUIuYPlQ.mjs} +45 -9
  131. package/system/dist/{notification-targets-DR-D-vIt.mjs → notification-targets-4bGYH5J7.mjs} +2 -2
  132. package/system/dist/{notification-targets-Cc_3OBH9.js → notification-targets-DMW7xgR2.js} +2 -2
  133. package/system/dist/{prefix-walk-CCO_VZVo.js → prefix-walk-BFnw8NBu.js} +5 -5
  134. package/system/dist/{prefix-walk-BhT0ZoKl.mjs → prefix-walk-Mtij0NNT.mjs} +2 -2
  135. package/system/dist/{ptz-autotrack.cap-DOz0xL0O.js → ptz-autotrack.cap-B9eyZU8w.js} +1 -1
  136. package/system/dist/{ptz-autotrack.cap-CDF6FeTK.mjs → ptz-autotrack.cap-Dw2k-po9.mjs} +1 -1
  137. package/system/dist/{recording-archive.cap-RHAN45fa.mjs → recording-archive.cap-CTlm86R8.mjs} +1 -1
  138. package/system/dist/{recording-archive.cap-BPJ7kvnd.js → recording-archive.cap-Wo-hEZhz.js} +1 -1
  139. package/system/dist/{rename-composition-block-DWUkrazx.mjs → rename-composition-block-Cdh-dRmY.mjs} +395 -20
  140. package/system/dist/{rename-composition-block-CH2vRIW7.js → rename-composition-block-D9Uc1AF7.js} +406 -31
  141. package/system/dist/{retention-CUOVI1p7.mjs → retention-CQs8QR1B.mjs} +33 -3
  142. package/system/dist/{device-transitions.cap-DCXP3zwY.mjs → retention-source.cap-550kkyp5.mjs} +98 -21
  143. package/system/dist/{device-transitions.cap-zOGvAIHz.js → retention-source.cap-C6Hy0hlM.js} +103 -20
  144. package/system/dist/{retention-BcOSL6b9.js → retention-xcjk_k1w.js} +33 -3
  145. package/system/dist/{snapshot.cap-Cis6JRwn.js → snapshot.cap-CHm29hBs.js} +1 -1
  146. package/system/dist/{snapshot.cap-BkfHpJVO.mjs → snapshot.cap-CO68YvJU.mjs} +1 -1
  147. package/system/dist/{stream-catalog.cap-D8Y-uXcy.js → stream-catalog.cap-CjEQFknc.js} +2 -2
  148. package/system/dist/{stream-catalog.cap-D1Hy19Yc.mjs → stream-catalog.cap-DVniDdRD.mjs} +2 -2
  149. package/system/dist/{user-management.cap-Ctd4c_im.mjs → user-management.cap-4IEUCSdL.mjs} +2 -2
  150. package/system/dist/{user-management.cap-DyVb68rY.js → user-management.cap-DV9Jfsj3.js} +2 -2
  151. package/system/dist/{wal-maintenance-CjpslZUL.mjs → wal-maintenance-Bey5ChBb.mjs} +0 -0
  152. package/system/dist/{wal-maintenance-DKTXQ7UF.js → wal-maintenance-BgYiAy5b.js} +0 -0
  153. package/system/package.json +4 -1
  154. package/system/dist/builtins/device-manager/transitions/transition-correlator.d.ts +0 -81
@@ -1,27 +1,28 @@
1
1
  import { a as CamStreamResolutionSchema, c as DerivedSourceRefSchema, d as ProfileRtspEntrySchema, f as ProfileSlotSchema, g as SubscribeAudioChunksResultSchema, h as SubscribeAudioChunksInputSchema, i as CamStreamKindSchema, l as FrameHandleSchema, n as BrokerStatsSchema, o as CameraStreamSchema, p as ProfileSlotStatusSchema, r as CamProfileSchema, s as DecodedAudioChunkSchema, u as PreviewDerivedEncodeResultSchema } from "./streaming-shared-B8cXatuU.mjs";
2
- import { A as AudioClassifyOutcomeSchema, C as CameraSensorsStatusSchema, D as cameraGridLayoutCapability, E as deviceStatusCapability, F as PeerBytesTicketSchema, M as BoundingBoxSchema, N as FrameInputSchema, O as AudioChunkInputSchema, P as ClipModelMetaSchema, S as CameraSensorsConfigSchema, _ as PipelineStepInputSchema, a as RunnerLocalLoadSchema, b as CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, c as NodeBenchmarkCandidatesSchema, d as NodeBenchmarkResultViewSchema, f as NodeBenchmarkStatusSchema, g as PipelineRunResultBridge, h as CameraMetricsSchema, i as motionCapability, j as AudioLevelSchema, k as AudioClassificationLabelSchema, l as NodeBenchmarkPlanSchema, m as zonesCapability, o as pipelineRunnerCapability, p as NodeDecodeProfileSchema, s as ListNodeBenchmarkResultsInputSchema, t as streamCatalogCapability, u as NodeBenchmarkPreflightSchema, v as RetrainExportLayoutSchema, w as featureProbeCapability, x as motionDetectionCapability, y as pipelineAnalyticsCapability } from "./stream-catalog.cap-D1Hy19Yc.mjs";
3
- import { b as EventCategory } from "./base-addon-Md14i7pe.mjs";
2
+ import { A as AudioClassifyOutcomeSchema, C as CameraSensorsStatusSchema, D as cameraGridLayoutCapability, E as deviceStatusCapability, F as PeerBytesTicketSchema, M as BoundingBoxSchema, N as FrameInputSchema, O as AudioChunkInputSchema, P as ClipModelMetaSchema, S as CameraSensorsConfigSchema, _ as PipelineStepInputSchema, a as RunnerLocalLoadSchema, b as CLUSTER_MODEL_CHOICE_UNREADABLE_REASONS, c as NodeBenchmarkCandidatesSchema, d as NodeBenchmarkResultViewSchema, f as NodeBenchmarkStatusSchema, g as PipelineRunResultBridge, h as CameraMetricsSchema, i as motionCapability, j as AudioLevelSchema, k as AudioClassificationLabelSchema, l as NodeBenchmarkPlanSchema, m as zonesCapability, o as pipelineRunnerCapability, p as NodeDecodeProfileSchema, s as ListNodeBenchmarkResultsInputSchema, t as streamCatalogCapability, u as NodeBenchmarkPreflightSchema, v as RetrainExportLayoutSchema, w as featureProbeCapability, x as motionDetectionCapability, y as pipelineAnalyticsCapability } from "./stream-catalog.cap-DVniDdRD.mjs";
3
+ import { b as EventCategory } from "./base-addon-BcS6r1cT.mjs";
4
4
  import { Z as errMsg } from "./scoped-settings-DVWUIP7Z.mjs";
5
5
  import { a as expandCapMethods, c as method, i as event, l as optionalMethod } from "./capability-definition-C1TLUVJR.mjs";
6
- import { a as notificationRulesCapability, c as alarmPanelCapability, f as notificationOutputCapability, n as NcConditionsSchema, r as NcScheduleSchema, t as NcConditionDescriptorSchema } from "./notification-rules.cap-0vVvsxQ1.mjs";
7
- import { a as deviceManagerCapability, b as ResyncResultSchema, i as LinkedDevicesSlotValueSchema, r as LINKED_DEVICES_SLOT, x as deviceAdoptionCapability } from "./device-manager.cap-DIBK62-r.mjs";
6
+ import { a as notificationRulesCapability, c as alarmPanelCapability, f as notificationOutputCapability, n as NcConditionsSchema, r as NcScheduleSchema, t as NcConditionDescriptorSchema } from "./notification-rules.cap-BUIuYPlQ.mjs";
7
+ import { a as deviceManagerCapability, b as ResyncResultSchema, i as LinkedDevicesSlotValueSchema, r as LINKED_DEVICES_SLOT, x as deviceAdoptionCapability } from "./device-manager.cap-eYrj1Ezp.mjs";
8
8
  import { d as CameraSwitchIdSchema, u as CameraSwitchGroupSchema } from "./device-identifiers-iSuQCKmK.mjs";
9
- import { i as deviceRemovalHookCapability, o as deviceHistoryCapability, r as deviceRunsCapability, t as deviceTransitionsCapability } from "./device-transitions.cap-DCXP3zwY.mjs";
9
+ import { a as deviceRemovalHookCapability, i as deviceRunsCapability, n as deviceTransitionsCapability, s as deviceHistoryCapability, t as retentionSourceCapability } from "./retention-source.cap-550kkyp5.mjs";
10
10
  import { t as NOT_A_DEVICE } from "./system-reasons-CYj4qwyS.mjs";
11
11
  import { f as settingsStoreCapability } from "./settings-store.cap-CaDSOqgK.mjs";
12
12
  import { a as readingMeta, n as baseUnitOf, t as ReadingQuantitySchema } from "./quantity-D3g5SxsZ.mjs";
13
13
  import { r as LabelDefinitionSchema, t as DetectionCatalogClassMapSchema } from "./labels-DsBcU7md.mjs";
14
- import { a as RecordingStorageModeSchema, i as recordingCapability, n as recordingArchiveCapability } from "./recording-archive.cap-RHAN45fa.mjs";
14
+ import { a as RecordingStorageModeSchema, i as recordingCapability, n as recordingArchiveCapability } from "./recording-archive.cap-CTlm86R8.mjs";
15
15
  import { y as StorageMigrationLeaseInputSchema } from "./relocate-CoZZTui1.mjs";
16
16
  import { n as storageCapability, t as storageMigrationCapability } from "./storage-migration.cap-Ciw84XPm.mjs";
17
17
  import { i as TagsFieldSchema, n as TagNameSchema, t as TagColorIdSchema, u as IconKeySchema } from "./tag-uZBAq6ox.mjs";
18
18
  import { r as MODEL_FORMATS, t as platformProbeCapability } from "./platform-probe.cap-DzZ7xUfS.mjs";
19
- import { a as authProviderCapability, c as TokenScopeSchema, i as deviceCredentialsCapability, r as ssoBridgeCapability, t as userManagementCapability } from "./user-management.cap-Ctd4c_im.mjs";
20
- import { n as DeviceRole, r as DeviceType } from "./device-type-DgEvK3ch.mjs";
19
+ import { a as authProviderCapability, c as TokenScopeSchema, i as deviceCredentialsCapability, r as ssoBridgeCapability, t as userManagementCapability } from "./user-management.cap-4IEUCSdL.mjs";
20
+ import { n as DeviceRole, r as DeviceType } from "./device-type-TUGqGmaI.mjs";
21
21
  import { d as AppLoginPathSchema } from "./device-certificate-Cddm4Idn.mjs";
22
- import { $t as unwrapSchema, A as MediaPlayerStatusSchema, At as TemplateEntriesValueSchema, B as isRemoteCustomKey, F as irSourceProblem, G as IrNativeFormatSchema, H as isRemoteWidgetRole, I as remoteSourceSteps, Jt as isQuantityValue, K as IrTimingsSchema, Kt as QuantityUnitError, M as REMOTE_STEP_DELAY_MAX_MS, Mt as TemplateTimeWindowValueSchema, N as RemoteSourceSchema, Nt as AutomationWhenSchema, Pt as EVENT_LEAF_ID_RE, Qt as enumerateSchemaFields, R as RemoteRoleSchema, St as AutomationRecipeSchema, V as isRemoteRole, W as IrNativeCodeSchema, Xt as paramMetaOf, Yt as paramMeta, Zt as enumerateItemArrayFields, _n as vocabCall, _t as SchedulerSchema, at as AutomationRunOutcomeSchema, bt as ActionStepSchema, c as coreBlocksCapability, et as CompositionBlockStateSchema, ft as LOCAL_DATE_PATTERN, gt as SchedulerPreviewSchema, hn as findVocabAction, ht as SchedulerInputSchema, it as alertsCapability, j as mediaPlayerCapability, jt as TemplateEventValueSchema, kt as TemplateActionValueSchema, ot as AutomationRunTraceSchema, pt as SchedulerConflictSchema, q as TransmitSettingsSchema, qt as convertQuantityInput, sn as EventVocabularyEntrySchema, tt as CompositionRunStatusSchema, vt as SchedulerStatusSchema, w as powerSourceCapability, xt as AutomationBranchStepSchema, z as customKeyOfRole } from "./core-blocks.cap-DDECcMeI.mjs";
22
+ import { a as findVocabAction, s as vocabCall } from "./action-index-B1fgpQBt.mjs";
23
23
  import { i as addonSettingsCapability, o as unitDimension, s as unitsForDimension } from "./addon-settings.cap-CZ4MC7ha.mjs";
24
- import { R as COMPOSED_DEVICE_STABLE_ID_PREFIX, T as CompositionSchema, r as errorCapability, x as COMPOSER_ADDON_ID } from "./error.cap-DCwbIGEF.mjs";
24
+ import { A as MediaPlayerStatusSchema, At as TemplateTimeWindowValueSchema, B as isRemoteCustomKey, Dt as TemplateActionValueSchema, F as irSourceProblem, G as IrNativeFormatSchema, Gt as convertQuantityInput, H as isRemoteWidgetRole, I as remoteSourceSteps, Jt as paramMetaOf, K as IrTimingsSchema, Kt as isQuantityValue, M as REMOTE_STEP_DELAY_MAX_MS, Mt as EVENT_LEAF_ID_RE, N as RemoteSourceSchema, Ot as TemplateEntriesValueSchema, R as RemoteRoleSchema, V as isRemoteRole, W as IrNativeCodeSchema, Wt as QuantityUnitError, Xt as enumerateSchemaFields, Yt as enumerateItemArrayFields, Zt as unwrapSchema, an as EventVocabularyEntrySchema, bt as AutomationRecipeSchema, c as coreBlocksCapability, dt as SchedulerConflictSchema, et as CompositionBlockStateSchema, gt as SchedulerStatusSchema, ht as SchedulerSchema, it as AutomationRunTraceSchema, j as mediaPlayerCapability, jt as AutomationWhenSchema, kt as TemplateEventValueSchema, mt as SchedulerPreviewSchema, pt as SchedulerInputSchema, q as TransmitSettingsSchema, qt as paramMeta, rt as AutomationRunOutcomeSchema, tt as CompositionRunStatusSchema, ut as LOCAL_DATE_PATTERN, vt as ActionStepSchema, w as powerSourceCapability, yt as AutomationBranchStepSchema, z as customKeyOfRole } from "./core-blocks.cap-DLkEfV5b.mjs";
25
+ import { F as COMPOSED_DEVICE_STABLE_ID_PREFIX, S as CompositionSchema, it as alertsCapability, v as COMPOSER_ADDON_ID } from "./compile-OBMHlqD-.mjs";
25
26
  import { a as normalizeUnit } from "./source-info-DGB7SdB_.mjs";
26
27
  import { t } from "./l10n-Bu6aUvSY.mjs";
27
28
  import { t as addonPagesCapability } from "./addon-pages.cap-BLNN6ypr.mjs";
@@ -29,21 +30,22 @@ import { n as WidgetRemoteSchema, r as addonWidgetsSourceCapability, t as addonW
29
30
  import { a as databaseSnapshotCapability } from "./database-snapshot.cap-a3lSf4hl.mjs";
30
31
  import { n as backupCapability, t as storageOccupancyCapability } from "./storage-occupancy.cap-B-wbMPmx.mjs";
31
32
  import { n as calendarsCapability, r as calendarSourceCapability } from "./calendars.cap-DQc6Q6qS.mjs";
32
- import { r as HISTORY_PRIMARY } from "./history-catalog-BwTeQ4Mr.mjs";
33
+ import { r as HISTORY_PRIMARY } from "./history-catalog-A_dzXNpv.mjs";
33
34
  import { i as dataStoreProviderCapability, n as migrationsCapability, t as storageAdminCapability } from "./storage-admin.cap-Ci4QbL6P.mjs";
34
- import { o as deviceProviderCapability } from "./device-provider.cap-DU6HMUXH.mjs";
35
+ import { o as deviceProviderCapability } from "./device-provider.cap-D8mJllVM.mjs";
36
+ import { i as errorCapability } from "./error.cap-CU1FB6uE.mjs";
35
37
  import { n as filesystemBrowseCapability, t as storageProviderCapability } from "./storage-provider.cap-CnN9ULbc.mjs";
36
38
  import { n as integrationsCapability, t as integrationInstancesCapability } from "./integration-instances.cap-BWttO42A.mjs";
37
39
  import { a as keychainCapability, i as keychainAdminCapability } from "./keychain-admin.cap-DOvL8TMG.mjs";
38
- import { n as networkAccessCapability, r as localNetworkCapability } from "./network-access.cap-Dy8FNNVs.mjs";
40
+ import { n as networkAccessCapability, r as localNetworkCapability } from "./network-access.cap-Dx5K0I5i.mjs";
39
41
  import { t as logDestinationCapability } from "./log-destination.cap-QYMJPJwK.mjs";
40
- import { n as lowPowerSleepCapability } from "./low-power-sleep.cap-C3Vi8Vxj.mjs";
42
+ import { n as lowPowerSleepCapability } from "./low-power-sleep.cap-D9Orx3LS.mjs";
41
43
  import { t as metricsProviderCapability } from "./metrics-provider.cap-01SwpLu5.mjs";
42
44
  import { o as recordsCapability } from "./records.cap-DRwT1JbL.mjs";
43
45
  import { a as MaskRectShapeSchema, i as MaskPolygonVerticesSchema, n as MaskGridShapeSchema, o as MaskShapeKindSchema, r as MaskPolygonShapeSchema, t as MaskGridDimsSchema } from "./mask-shape-Ci8Co9w0.mjs";
44
- import { t as ptzAutotrackCapability } from "./ptz-autotrack.cap-CDF6FeTK.mjs";
46
+ import { t as ptzAutotrackCapability } from "./ptz-autotrack.cap-Dw2k-po9.mjs";
45
47
  import { t as recordEntriesCapability } from "./record-entries.cap-BINjYZ1Q.mjs";
46
- import { t as snapshotCapability } from "./snapshot.cap-BkfHpJVO.mjs";
48
+ import { t as snapshotCapability } from "./snapshot.cap-CO68YvJU.mjs";
47
49
  import { t as ServerNameInfoSchema } from "./server-name-BIhLuHvX.mjs";
48
50
  import { n as vectorStoreCapability } from "./vector-store.cap-Df60cnrJ.mjs";
49
51
  import { z } from "zod";
@@ -1901,7 +1903,8 @@ var accessoriesCapability = {
1901
1903
  DeviceType.Fan,
1902
1904
  DeviceType.MediaPlayer,
1903
1905
  DeviceType.AlarmPanel,
1904
- DeviceType.Generic
1906
+ DeviceType.Generic,
1907
+ DeviceType.Vehicle
1905
1908
  ],
1906
1909
  methods: {
1907
1910
  /**
@@ -7199,9 +7202,14 @@ var ConsumableStatusSchema = /* @__PURE__ */ z.enum([
7199
7202
  "full",
7200
7203
  "replace"
7201
7204
  ]);
7202
- /** Whether `remaining.value` is a duration in seconds or a dimensionless count. */
7203
- var ConsumableRemainingKindSchema = /* @__PURE__ */ z.enum(["duration", "count"]);
7204
- /** Remaining life. `value` null = unknown (D393). Duration is seconds. */
7205
+ /** Whether `remaining.value` is a duration in seconds, a dimensionless count, or a
7206
+ * distance in metres (the length base, D944). */
7207
+ var ConsumableRemainingKindSchema = /* @__PURE__ */ z.enum([
7208
+ "duration",
7209
+ "count",
7210
+ "distance"
7211
+ ]);
7212
+ /** Remaining life. `value` null = unknown (D393). Duration is seconds, distance is metres. */
7205
7213
  var ConsumableRemainingSchema = /* @__PURE__ */ z.object({
7206
7214
  value: /* @__PURE__ */ z.number().min(0).nullable().meta(/* @__PURE__ */ readingMeta("device")),
7207
7215
  kind: ConsumableRemainingKindSchema
@@ -13032,6 +13040,7 @@ var HERO_SCENE_BY_TYPE = {
13032
13040
  [DeviceType.WaterHeater]: "heater",
13033
13041
  [DeviceType.HeatPump]: "heat-pump",
13034
13042
  [DeviceType.EnergySystem]: "generic",
13043
+ [DeviceType.Vehicle]: "generic",
13035
13044
  [DeviceType.Workload]: "generic",
13036
13045
  [DeviceType.Fan]: "fan",
13037
13046
  [DeviceType.MediaPlayer]: "tv",
@@ -13082,6 +13091,9 @@ var HERO_SCENE_BY_ROLE = {
13082
13091
  [DeviceRole.ClimateRadiator]: "inherit",
13083
13092
  [DeviceRole.ClimateHeater]: "inherit",
13084
13093
  [DeviceRole.ClimateHeatPumpCircuit]: "inherit",
13094
+ [DeviceRole.ClimateVehicle]: "inherit",
13095
+ [DeviceRole.LockVehicle]: "inherit",
13096
+ [DeviceRole.MediaPlayerTv]: "inherit",
13085
13097
  [DeviceRole.MotionSensor]: "presence",
13086
13098
  [DeviceRole.ContactSensor]: "contact",
13087
13099
  [DeviceRole.LeakSensor]: "inherit",
@@ -15579,6 +15591,109 @@ list: /* @__PURE__ */ method(/* @__PURE__ */ z.void(), /* @__PURE__ */ z.array(L
15579
15591
  vocabulary: { notOperatorFacing: NOT_A_DEVICE.INTERNAL }
15580
15592
  };
15581
15593
  //#endregion
15594
+ //#region ../types/dist/esm/capabilities/location.cap.mjs
15595
+ /**
15596
+ * Where a device is — the raw WGS84 fix a source reports, for any device that
15597
+ * can know it (a vehicle now, a phone tracker or a GPS collar later). The cap
15598
+ * is generic on purpose, like `consumables`: it binds on every DeviceType.
15599
+ *
15600
+ * It is NOT `presence`. `presence.state` is a zone VERDICT (`home`, `not_home`,
15601
+ * a zone name) the source derived, typed to `DeviceType.Presence`; a car has
15602
+ * coordinates and no zone. `location` is the fix, `presence` the verdict.
15603
+ *
15604
+ * Unknown is `null`, never `0` (D393): both coordinates null means no fix is
15605
+ * known, and a provider builds its status through `locationFix` so one
15606
+ * coordinate is never written without the other.
15607
+ */
15608
+ var LocationStatusSchema = /* @__PURE__ */ z.object({
15609
+ /** WGS84 decimal degrees. Null = no fix known; never 0. */
15610
+ latitude: /* @__PURE__ */ z.number().min(-90).max(90).nullable().meta(/* @__PURE__ */ readingMeta("angle", { label: "Latitude" })),
15611
+ /** WGS84 decimal degrees. Null = no fix known; never 0. */
15612
+ longitude: /* @__PURE__ */ z.number().min(-180).max(180).nullable().meta(/* @__PURE__ */ readingMeta("angle", { label: "Longitude" })),
15613
+ /** Radius of uncertainty, metres. Null = the source does not say. */
15614
+ accuracy: /* @__PURE__ */ z.number().nonnegative().nullable().meta(/* @__PURE__ */ readingMeta("length", { label: "Accuracy" })),
15615
+ /** Course over ground, degrees clockwise from north, 0..360. Null = unknown. */
15616
+ heading: /* @__PURE__ */ z.number().min(0).max(360).nullable().meta(/* @__PURE__ */ readingMeta("angle", { label: "Heading" })),
15617
+ /** Ground speed, m/s. Null = unknown. */
15618
+ speed: /* @__PURE__ */ z.number().nonnegative().nullable().meta(/* @__PURE__ */ readingMeta("speed", { label: "Speed" })),
15619
+ /** Ms epoch the FIX was taken, as the source reports it. Null = unknown. */
15620
+ fixAt: /* @__PURE__ */ z.number().nullable(),
15621
+ /** Ms epoch the status last changed. */
15622
+ lastChangedAt: /* @__PURE__ */ z.number()
15623
+ });
15624
+ /** Seed status: no fix known. */
15625
+ function emptyLocationStatus(now = 0) {
15626
+ return {
15627
+ latitude: null,
15628
+ longitude: null,
15629
+ accuracy: null,
15630
+ heading: null,
15631
+ speed: null,
15632
+ fixAt: null,
15633
+ lastChangedAt: now
15634
+ };
15635
+ }
15636
+ var locationCapability = {
15637
+ name: "location",
15638
+ scope: "device",
15639
+ deviceNative: true,
15640
+ mode: "singleton",
15641
+ deviceTypes: /* @__PURE__ */ Object.values(DeviceType),
15642
+ methods: {},
15643
+ status: {
15644
+ schema: LocationStatusSchema,
15645
+ kind: "push",
15646
+ empty: /* @__PURE__ */ emptyLocationStatus()
15647
+ },
15648
+ runtimeState: /* @__PURE__ */ LocationStatusSchema.extend({ lastFetchedAt: /* @__PURE__ */ z.number() }),
15649
+ /**
15650
+ * Runtime-state durability: **restored** — the last fix is the only record of
15651
+ * where a parked vehicle is until its source next answers (D642). A restored
15652
+ * fix is the previous observation, not a claim about now; `fixAt` says when.
15653
+ */
15654
+ durability: "restored",
15655
+ /**
15656
+ * History (D850): latitude, longitude and speed are change-only series; a reader
15657
+ * rebuilding a track step-holds each. 0.0002 degrees is about 22 m of latitude,
15658
+ * so a parked car's GPS jitter records nothing. `accuracy`, `heading` and
15659
+ * `fixAt` are not recorded, and there is no `primary` (a latitude trend on a
15660
+ * card means nothing). Recording follows the device-history default, with the
15661
+ * per-device opt-out.
15662
+ */
15663
+ history: { fields: {
15664
+ latitude: {
15665
+ group: "position",
15666
+ kind: "gauge",
15667
+ unit: "°",
15668
+ deadband: 2e-4,
15669
+ displayName: "Latitude"
15670
+ },
15671
+ longitude: {
15672
+ group: "position",
15673
+ kind: "gauge",
15674
+ unit: "°",
15675
+ deadband: 2e-4,
15676
+ displayName: "Longitude"
15677
+ },
15678
+ speed: {
15679
+ kind: "gauge",
15680
+ unit: "m/s",
15681
+ deadband: .5,
15682
+ displayName: "Speed"
15683
+ }
15684
+ } },
15685
+ /** Clocks, not content: a re-read that moved nothing costs no commit. */
15686
+ volatileStateFields: [
15687
+ "fixAt",
15688
+ "lastChangedAt",
15689
+ "lastFetchedAt"
15690
+ ],
15691
+ vocabulary: {
15692
+ noun: /* @__PURE__ */ t("Location", "Posizione"),
15693
+ order: 2180
15694
+ }
15695
+ };
15696
+ //#endregion
15582
15697
  //#region ../types/dist/esm/capabilities/lock-control.cap.mjs
15583
15698
  /**
15584
15699
  * Smart-lock cap. Models HA `lock.*` entities — anything with a
@@ -31375,6 +31490,263 @@ var valveCapability = {
31375
31490
  }
31376
31491
  };
31377
31492
  //#endregion
31493
+ //#region ../types/dist/esm/capabilities/vehicle.cap.mjs
31494
+ /**
31495
+ * A road vehicle reached through its maker's connected-car account: the
31496
+ * readings the car reports about itself, read-only. Where it is lives in
31497
+ * `location`, what it burns or wears in `consumables`, whether it is locked in
31498
+ * its `lock-control` child and its cabin climate in a `climate-control` child.
31499
+ *
31500
+ * Every reading is nullable: a car that does not report a value is UNKNOWN,
31501
+ * never 0 or false (D393). Lengths are metres and voltages volts (D944).
31502
+ *
31503
+ * Not in the cap, on purpose: `locked` (the lock child), fuel (consumables),
31504
+ * position (`location`), tyre PRESSURES (a vendor that reports them adds a
31505
+ * field), and any "anything open" aggregate: a stored derivation is a second
31506
+ * copy of the fields it derives from.
31507
+ */
31508
+ /** `true` = open. Null = the car does not say. */
31509
+ var OpeningSchema = /* @__PURE__ */ z.boolean().nullable();
31510
+ /** The four wheel positions, each an opening. */
31511
+ var VehicleWheelOpeningsSchema = /* @__PURE__ */ z.object({
31512
+ frontLeft: OpeningSchema,
31513
+ frontRight: OpeningSchema,
31514
+ rearLeft: OpeningSchema,
31515
+ rearRight: OpeningSchema
31516
+ });
31517
+ /** Same four keys; `true` = the car raises a pressure warning for that wheel. */
31518
+ var VehicleTyreWarningsSchema = /* @__PURE__ */ z.object({
31519
+ frontLeft: /* @__PURE__ */ z.boolean().nullable(),
31520
+ frontRight: /* @__PURE__ */ z.boolean().nullable(),
31521
+ rearLeft: /* @__PURE__ */ z.boolean().nullable(),
31522
+ rearRight: /* @__PURE__ */ z.boolean().nullable()
31523
+ });
31524
+ var VehicleStatusSchema = /* @__PURE__ */ z.object({
31525
+ /** Total distance driven, metres. */
31526
+ odometer: /* @__PURE__ */ z.number().nonnegative().nullable().meta(/* @__PURE__ */ readingMeta("length", { label: "Distance driven" })),
31527
+ /** Distance the car says it can still drive on what it carries, metres. */
31528
+ range: /* @__PURE__ */ z.number().nonnegative().nullable().meta(/* @__PURE__ */ readingMeta("length", { label: "Range" })),
31529
+ engineOn: /* @__PURE__ */ z.boolean().nullable(),
31530
+ doors: VehicleWheelOpeningsSchema,
31531
+ windows: VehicleWheelOpeningsSchema,
31532
+ trunkOpen: OpeningSchema,
31533
+ hoodOpen: OpeningSchema,
31534
+ sunroofOpen: OpeningSchema,
31535
+ tyreWarnings: VehicleTyreWarningsSchema,
31536
+ /** The 12 V auxiliary battery. Never the `battery` cap (that is the traction pack). */
31537
+ auxBatteryLevel: /* @__PURE__ */ z.number().min(0).max(100).nullable().meta(/* @__PURE__ */ readingMeta("percentage", { label: "12 V battery" })),
31538
+ auxBatteryVoltage: /* @__PURE__ */ z.number().nonnegative().nullable().meta(/* @__PURE__ */ readingMeta("voltage", { label: "12 V voltage" })),
31539
+ /** Ms epoch the CAR last reported to its maker's cloud. Null = the cloud does not say. */
31540
+ reportedAt: /* @__PURE__ */ z.number().nullable(),
31541
+ /** Ms epoch the status last changed. */
31542
+ lastChangedAt: /* @__PURE__ */ z.number()
31543
+ });
31544
+ var UNKNOWN_OPENINGS = {
31545
+ frontLeft: null,
31546
+ frontRight: null,
31547
+ rearLeft: null,
31548
+ rearRight: null
31549
+ };
31550
+ /** Seed status: the car has told us nothing yet. */
31551
+ function emptyVehicleStatus(now = 0) {
31552
+ return {
31553
+ odometer: null,
31554
+ range: null,
31555
+ engineOn: null,
31556
+ doors: { ...UNKNOWN_OPENINGS },
31557
+ windows: { ...UNKNOWN_OPENINGS },
31558
+ trunkOpen: null,
31559
+ hoodOpen: null,
31560
+ sunroofOpen: null,
31561
+ tyreWarnings: { ...UNKNOWN_OPENINGS },
31562
+ auxBatteryLevel: null,
31563
+ auxBatteryVoltage: null,
31564
+ reportedAt: null,
31565
+ lastChangedAt: now
31566
+ };
31567
+ }
31568
+ var VehicleRefreshRefusalSchema = /* @__PURE__ */ z.enum([
31569
+ "not-supported",
31570
+ "budget-exhausted",
31571
+ "in-progress",
31572
+ "too-soon",
31573
+ "vehicle-unreachable",
31574
+ "account-error"
31575
+ ]);
31576
+ var VehicleRefreshResultSchema = /* @__PURE__ */ z.discriminatedUnion("ok", [/* @__PURE__ */ z.object({
31577
+ ok: /* @__PURE__ */ z.literal(true),
31578
+ reportedAt: /* @__PURE__ */ z.number().nullable()
31579
+ }), /* @__PURE__ */ z.object({
31580
+ ok: /* @__PURE__ */ z.literal(false),
31581
+ reason: VehicleRefreshRefusalSchema,
31582
+ /** Ms epoch a retry may succeed, when the provider knows (budget reset, gap end). */
31583
+ retryAt: /* @__PURE__ */ z.number().nullable()
31584
+ })]);
31585
+ var vehicleCapability = {
31586
+ name: "vehicle",
31587
+ scope: "device",
31588
+ deviceNative: true,
31589
+ mode: "singleton",
31590
+ deviceTypes: [DeviceType.Vehicle],
31591
+ methods: {
31592
+ /**
31593
+ * Ask the car for fresh data. Admin-only: each call spends a scarce shared
31594
+ * quota. A provider that cannot wake the car does not implement it.
31595
+ */
31596
+ requestRefresh: /* @__PURE__ */ optionalMethod(/* @__PURE__ */ z.object({ deviceId: /* @__PURE__ */ z.number().int().nonnegative() }), VehicleRefreshResultSchema, {
31597
+ kind: "mutation",
31598
+ auth: "admin",
31599
+ actions: [{
31600
+ id: "vehicle.requestRefresh",
31601
+ label: /* @__PURE__ */ t("Refresh from the car", "Aggiorna dall'auto"),
31602
+ phrase: /* @__PURE__ */ t("Ask {device} for fresh data", "Chiedi dati aggiornati a {device}"),
31603
+ icon: "refresh-cw"
31604
+ }]
31605
+ }) },
31606
+ status: {
31607
+ schema: VehicleStatusSchema,
31608
+ kind: "push",
31609
+ empty: /* @__PURE__ */ emptyVehicleStatus()
31610
+ },
31611
+ runtimeState: /* @__PURE__ */ VehicleStatusSchema.extend({ lastFetchedAt: /* @__PURE__ */ z.number() }),
31612
+ /**
31613
+ * Runtime-state durability: **restored** — nothing else holds the last cloud
31614
+ * read, and the cloud is rate-limited, so a restart must not blank the car
31615
+ * (D642). A restored value is the previous report; `reportedAt` says when.
31616
+ */
31617
+ durability: "restored",
31618
+ /**
31619
+ * History (D850): the odometer is a monotonic hardware meter, so it is a
31620
+ * `counter` (distance per day and month comes free). Windows and the sunroof
31621
+ * are not recorded: five more series of low value; `reportedAt` is a clock.
31622
+ */
31623
+ history: {
31624
+ primary: "range",
31625
+ priority: 30,
31626
+ fields: {
31627
+ odometer: {
31628
+ kind: "counter",
31629
+ unit: "m",
31630
+ displayName: "Distance driven"
31631
+ },
31632
+ range: {
31633
+ kind: "gauge",
31634
+ unit: "m",
31635
+ deadband: 1e3,
31636
+ displayName: "Range"
31637
+ },
31638
+ engineOn: {
31639
+ kind: "boolean",
31640
+ displayName: "Engine"
31641
+ },
31642
+ auxBatteryLevel: {
31643
+ kind: "gauge",
31644
+ unit: "%",
31645
+ deadband: 1,
31646
+ displayName: "12 V battery"
31647
+ },
31648
+ auxBatteryVoltage: {
31649
+ kind: "gauge",
31650
+ unit: "V",
31651
+ deadband: .1,
31652
+ displayName: "12 V voltage"
31653
+ },
31654
+ "doors.frontLeft": {
31655
+ kind: "boolean",
31656
+ displayName: "Front left door"
31657
+ },
31658
+ "doors.frontRight": {
31659
+ kind: "boolean",
31660
+ displayName: "Front right door"
31661
+ },
31662
+ "doors.rearLeft": {
31663
+ kind: "boolean",
31664
+ displayName: "Rear left door"
31665
+ },
31666
+ "doors.rearRight": {
31667
+ kind: "boolean",
31668
+ displayName: "Rear right door"
31669
+ },
31670
+ "tyreWarnings.frontLeft": {
31671
+ kind: "boolean",
31672
+ displayName: "Front left tyre warning"
31673
+ },
31674
+ "tyreWarnings.frontRight": {
31675
+ kind: "boolean",
31676
+ displayName: "Front right tyre warning"
31677
+ },
31678
+ "tyreWarnings.rearLeft": {
31679
+ kind: "boolean",
31680
+ displayName: "Rear left tyre warning"
31681
+ },
31682
+ "tyreWarnings.rearRight": {
31683
+ kind: "boolean",
31684
+ displayName: "Rear right tyre warning"
31685
+ },
31686
+ trunkOpen: {
31687
+ kind: "boolean",
31688
+ displayName: "Trunk"
31689
+ },
31690
+ hoodOpen: {
31691
+ kind: "boolean",
31692
+ displayName: "Hood"
31693
+ }
31694
+ }
31695
+ },
31696
+ /** Clocks, not content: a re-read that changed no reading costs no commit. */
31697
+ volatileStateFields: [
31698
+ "reportedAt",
31699
+ "lastChangedAt",
31700
+ "lastFetchedAt"
31701
+ ],
31702
+ vocabulary: {
31703
+ noun: /* @__PURE__ */ t("Vehicle", "Veicolo"),
31704
+ order: 2190,
31705
+ state: [
31706
+ {
31707
+ kind: "boolean",
31708
+ field: "engineOn",
31709
+ label: /* @__PURE__ */ t("Engine on", "Motore acceso"),
31710
+ whenTrue: /* @__PURE__ */ t("When {device}'s engine starts", "Quando il motore di {device} si avvia"),
31711
+ whenFalse: /* @__PURE__ */ t("When {device}'s engine stops", "Quando il motore di {device} si spegne"),
31712
+ icon: "car"
31713
+ },
31714
+ {
31715
+ kind: "boolean",
31716
+ field: "trunkOpen",
31717
+ label: /* @__PURE__ */ t("Trunk open", "Bagagliaio aperto"),
31718
+ whenTrue: /* @__PURE__ */ t("When {device}'s trunk opens", "Quando il bagagliaio di {device} si apre"),
31719
+ whenFalse: /* @__PURE__ */ t("When {device}'s trunk closes", "Quando il bagagliaio di {device} si chiude"),
31720
+ icon: "car"
31721
+ },
31722
+ {
31723
+ kind: "boolean",
31724
+ field: "hoodOpen",
31725
+ label: /* @__PURE__ */ t("Hood open", "Cofano aperto"),
31726
+ whenTrue: /* @__PURE__ */ t("When {device}'s hood opens", "Quando il cofano di {device} si apre"),
31727
+ whenFalse: /* @__PURE__ */ t("When {device}'s hood closes", "Quando il cofano di {device} si chiude"),
31728
+ icon: "car"
31729
+ },
31730
+ {
31731
+ kind: "numeric",
31732
+ field: "range",
31733
+ quantity: /* @__PURE__ */ t("the range", "l'autonomia"),
31734
+ label: /* @__PURE__ */ t("Range", "Autonomia"),
31735
+ unit: "m",
31736
+ icon: "gauge"
31737
+ },
31738
+ {
31739
+ kind: "numeric",
31740
+ field: "auxBatteryLevel",
31741
+ quantity: /* @__PURE__ */ t("the 12 V battery level", "il livello della batteria a 12 V"),
31742
+ label: /* @__PURE__ */ t("12 V battery", "Batteria a 12 V"),
31743
+ unit: "%",
31744
+ icon: "battery"
31745
+ }
31746
+ ]
31747
+ }
31748
+ };
31749
+ //#endregion
31378
31750
  //#region ../types/dist/esm/capabilities/vibration.cap.mjs
31379
31751
  /**
31380
31752
  * Vibration / shake / impact sensor. Drives Home Assistant
@@ -33603,6 +33975,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
33603
33975
  llmRuntimeCapability,
33604
33976
  loadContributionCapability,
33605
33977
  localNetworkCapability,
33978
+ locationCapability,
33606
33979
  lockControlCapability,
33607
33980
  logChannelsCapability,
33608
33981
  logDestinationCapability,
@@ -33662,6 +34035,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
33662
34035
  remoteCapability,
33663
34036
  remoteLayoutComponentsCapability,
33664
34037
  resyncCapability,
34038
+ retentionSourceCapability,
33665
34039
  runningStateCapability,
33666
34040
  sceneMonitorCapability,
33667
34041
  schedulersCapability,
@@ -33701,6 +34075,7 @@ var ALL_CAPABILITY_DEFINITIONS = [
33701
34075
  vacuumControlCapability,
33702
34076
  valveCapability,
33703
34077
  vectorStoreCapability,
34078
+ vehicleCapability,
33704
34079
  vibrationCapability,
33705
34080
  videoclipsCapability,
33706
34081
  viewerUiCapability,