@camstack/addon-admin-ui 1.2.669 → 1.2.671

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 (88) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/assets/{Addons-itRKV1Wb.js → Addons-D4Ih6jcV.js} +1 -1
  3. package/dist/assets/{AdminPage-BWyPb3kJ.js → AdminPage-DxRNIDJv.js} +1 -1
  4. package/dist/assets/{AdminSectionedPage-BxStbwDR.js → AdminSectionedPage-C3fAsFOv.js} +1 -1
  5. package/dist/assets/{AiProfiles-DPitcR_x.js → AiProfiles-DakCGZHI.js} +1 -1
  6. package/dist/assets/{BootstrapSettingsForm-Bf-6oVbF.js → BootstrapSettingsForm-Ch4QQfKP.js} +1 -1
  7. package/dist/assets/{Build-Ogsli1SO.js → Build-Bd_Aj09y.js} +9 -9
  8. package/dist/assets/{Calendars-DQLRGOGn.js → Calendars-CHB0EWpM.js} +1 -1
  9. package/dist/assets/{CameraGrids-CHqOMxPy.js → CameraGrids-DobQVAng.js} +1 -1
  10. package/dist/assets/{Cluster-C9rS-Taq.js → Cluster-D8Sl4G8M.js} +1 -1
  11. package/dist/assets/{CompositionBlockEditor-BuQ5nScb.js → CompositionBlockEditor-Dsv59cAW.js} +1 -1
  12. package/dist/assets/{CompositionEditorPage-BH9GQ78J.js → CompositionEditorPage-BzH21wuk.js} +1 -1
  13. package/dist/assets/{Data-D4mZHoVu.js → Data-CpUOYIIT.js} +1 -1
  14. package/dist/assets/{DeviceDetail-_JUAggym.js → DeviceDetail-BOfPDVdd.js} +1 -1
  15. package/dist/assets/{Devices-CMDYwMnb.js → Devices-eyTmvs8H.js} +1 -1
  16. package/dist/assets/{EmbedDevicePage-BVIta8hq.js → EmbedDevicePage-BXO0sTNw.js} +1 -1
  17. package/dist/assets/{EmbedPlayerPage-BwOdgmh_.js → EmbedPlayerPage-D-JC73TV.js} +1 -1
  18. package/dist/assets/{History-BeeML_T_.js → History-BFBneYel.js} +1 -1
  19. package/dist/assets/{Identity-D9256usi.js → Identity-mOPdUpNo.js} +1 -1
  20. package/dist/assets/{InstancesTable-CQv49Y64.js → InstancesTable-Dd6PvCKq.js} +1 -1
  21. package/dist/assets/{IntegrationDetail-CPCsv5kR.js → IntegrationDetail-iUiEDAMq.js} +1 -1
  22. package/dist/assets/{Integrations-B7fvoVNc.js → Integrations-CQULPFfk.js} +1 -1
  23. package/dist/assets/{Integrations-DJsnpiYc.js → Integrations-CviL0f6W.js} +1 -1
  24. package/dist/assets/{Library-Di6hRJAJ.js → Library-Xfuypg4h.js} +1 -1
  25. package/dist/assets/{Locations-BSwu1BUe.js → Locations-B2n4nh6A.js} +1 -1
  26. package/dist/assets/{Logs-C0sSR1D9.js → Logs-D7AqYJM4.js} +1 -1
  27. package/dist/assets/{MaskShapeCanvas-BqbVP9jy.js → MaskShapeCanvas-BcLIqvEn.js} +1 -1
  28. package/dist/assets/{MotionZonesSettings-DeP_-aoj.js → MotionZonesSettings-BLUzdWcS.js} +1 -1
  29. package/dist/assets/{MyAccess-DipNoKVd.js → MyAccess-DBQXd-8a.js} +1 -1
  30. package/dist/assets/{Network-CEuZ-dLN.js → Network-DlG3x6oD.js} +1 -1
  31. package/dist/assets/{NodeAddonsSettingsPanel-rJLCp-zp.js → NodeAddonsSettingsPanel-C5rlDWi_.js} +1 -1
  32. package/dist/assets/{Notifications-C1D0OH7V.js → Notifications-ClF1xAd3.js} +1 -1
  33. package/dist/assets/{Pipeline-1p2gx6yq.js → Pipeline-NobMXhtH.js} +1 -1
  34. package/dist/assets/{PrivacyMaskSettings-CZgjmB7K.js → PrivacyMaskSettings-B8rcVxu4.js} +1 -1
  35. package/dist/assets/{Recordings-u1_WGkkq.js → Recordings-C0eOM5YU.js} +1 -1
  36. package/dist/assets/{SceneMonitorEditor-BmU4cvFJ.js → SceneMonitorEditor-Dqdq-PTU.js} +1 -1
  37. package/dist/assets/{SessionsList-XhEMI4Ro.js → SessionsList-C29Wt-Dw.js} +1 -1
  38. package/dist/assets/{Showroom-CFSZs_sa.js → Showroom-DXrqyFh5.js} +1 -1
  39. package/dist/assets/{StorageLocationsTable-CMlVP0m5.js → StorageLocationsTable-C9scJjmc.js} +1 -1
  40. package/dist/assets/{System-Bga0R4Ay.js → System-A3mWcLR2.js} +1 -1
  41. package/dist/assets/{Terminal-BcuEbBJm.js → Terminal--kDkwVXJ.js} +1 -1
  42. package/dist/assets/{TrainingProviders-CwwG3ebJ.js → TrainingProviders-D39HHkCM.js} +1 -1
  43. package/dist/assets/{Viewer-DqWuDj3S.js → Viewer-GpL7wWpc.js} +1 -1
  44. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-B392U0Xo.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-Cy17ZICs.js} +1 -1
  45. package/dist/assets/{action-draft-D3UKrkg1.js → action-draft-aVCwx_o9.js} +1 -1
  46. package/dist/assets/{ai-page.helpers-Cs7gtuUF.js → ai-page.helpers-J-99Juok.js} +1 -1
  47. package/dist/assets/{assignment-candidates-DjZaKv0l.js → assignment-candidates-028fW1YS.js} +1 -1
  48. package/dist/assets/{authed-media-ehTH73pl.js → authed-media-CZ-K7Y46.js} +1 -1
  49. package/dist/assets/{board-model-Cv7JHlPG.js → board-model-K2GAmXUm.js} +1 -1
  50. package/dist/assets/client-BTBeGYJY.js +1119 -0
  51. package/dist/assets/{command-vocab-BYX4pA4b.js → command-vocab-CR2QpUVG.js} +1 -1
  52. package/dist/assets/{device-detail-DJsyAnzy.js → device-detail-PLJZd3g9.js} +1 -1
  53. package/dist/assets/{device-integration-icon-DnIUqriM.js → device-integration-icon-BTIU26uZ.js} +1 -1
  54. package/dist/assets/device-picker-model-sREdWUwY.js +1 -0
  55. package/dist/assets/dist-CXu90pab.js +1119 -0
  56. package/dist/assets/{dist-Rh3LAX-C.js → dist-Cuts96gY.js} +1 -1
  57. package/dist/assets/{format-D_mC3UFE.js → format-_OfSTYpy.js} +1 -1
  58. package/dist/assets/{hostInit-C53bfKWc.js → hostInit-DUTMXZZE.js} +1 -1
  59. package/dist/assets/i18n-CbWptxOF.js +1 -0
  60. package/dist/assets/{icons-UZl_ZY4u.js → icons-B2Bx9CFq.js} +1 -1
  61. package/dist/assets/{index-DSAw_82k.js → index-B_SLyt0N.js} +3 -3
  62. package/dist/assets/{linked-devices-model-DCGT8GNK.js → linked-devices-model-ukEnkxcK.js} +1 -1
  63. package/dist/assets/{mf-entry-bootstrap-0-1b6fc34d.js → mf-entry-bootstrap-0-58342916.js} +2 -2
  64. package/dist/assets/mount-sREdWUwY.js +1 -0
  65. package/dist/assets/{notification-rule-status-DSkmsdJn.js → notification-rule-status-BDBhh19K.js} +1 -1
  66. package/dist/assets/{player-overlays-PZJgLYRd.js → player-overlays-CBhAJhZ8.js} +1 -1
  67. package/dist/assets/remoteEntry-CBpEk5F3.js +1 -0
  68. package/dist/assets/src-XBYbMNk2.js +275 -0
  69. package/dist/assets/{sso-popup-BzLYKIa5.js → sso-popup-BoddrqKe.js} +1 -1
  70. package/dist/assets/{step-inspector-model-Bsxxvynm.js → step-inspector-model-B0Avfnxr.js} +1 -1
  71. package/dist/assets/{use-scenes-feed-XaJ_qTR6.js → use-scenes-feed-BqauKaRS.js} +1 -1
  72. package/dist/assets/{use-stationary-objects-Dq29nEKE.js → use-stationary-objects-CtWEm9w1.js} +1 -1
  73. package/dist/assets/{useAdminDeviceRemoval-jePXWUET.js → useAdminDeviceRemoval-DxP4jF_m.js} +1 -1
  74. package/dist/assets/useEventInvalidation-sREdWUwY.js +1 -0
  75. package/dist/assets/{useNodeUrlSelection-CD4xYuPc.js → useNodeUrlSelection-CnGb0Aqs.js} +1 -1
  76. package/dist/assets/{useTemplateSave-CV3Ms6EI.js → useTemplateSave-Cpo61dqY.js} +1 -1
  77. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-Dj-kSuG8.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-C9sqGi9B.js} +2 -2
  78. package/dist/index.html +8 -8
  79. package/dist/server/addon.js +555 -22
  80. package/package.json +2 -2
  81. package/dist/assets/client-DoiIBqwj.js +0 -1119
  82. package/dist/assets/device-picker-model-B0hn2Mcr.js +0 -1
  83. package/dist/assets/dist-Ch3pRNws.js +0 -1119
  84. package/dist/assets/i18n-DSVGwH5e.js +0 -1
  85. package/dist/assets/mount-B0hn2Mcr.js +0 -1
  86. package/dist/assets/remoteEntry-BgEyyTZ_.js +0 -1
  87. package/dist/assets/src-CcQ-7aw4.js +0 -275
  88. package/dist/assets/useEventInvalidation-B0hn2Mcr.js +0 -1
@@ -1,6 +1,6 @@
1
1
  import path from "node:path";
2
2
  import { fileURLToPath } from "node:url";
3
- //#region ../types/dist/event-category-Dv-Gcv1f.mjs
3
+ //#region ../types/dist/event-category-Dhcd0TRH.mjs
4
4
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
5
5
  EventCategory["SystemBoot"] = "system.boot";
6
6
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -274,6 +274,18 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
274
274
  EventCategory["StorageLocationCritical"] = "storage.location.critical";
275
275
  /** Recovery from low/critical on a storage location. */
276
276
  EventCategory["StorageLocationOk"] = "storage.location.ok";
277
+ /**
278
+ * A `drain` location's regular progress ping (#538) — location id + name,
279
+ * bytes remaining, the observed cede rate and the estimated empty date, or
280
+ * `null` fields when the occupancy read that sweep failed (D393: never
281
+ * folded to 0). Cadence is the named constant
282
+ * `DRAIN_PROGRESS_EVENT_INTERVAL_MS` (15 min) plus once on drain start — no
283
+ * operator knob. Telemetry (D8): a lost tick is a stale progress bar the
284
+ * next sweep corrects.
285
+ */
286
+ EventCategory["StorageDrainProgress"] = "storage.drain.progress";
287
+ /** Fires once when a draining location reaches zero evictable bytes. */
288
+ EventCategory["StorageDrainComplete"] = "storage.drain.complete";
277
289
  EventCategory["RecordingSegmentWritten"] = "recording.segment.written";
278
290
  EventCategory["RecordingPolicyFallback"] = "recording.policy.fallback";
279
291
  EventCategory["RecordingRetentionCompleted"] = "recording.retention.completed";
@@ -812,7 +824,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
812
824
  return EventCategory;
813
825
  }({});
814
826
  //#endregion
815
- //#region ../types/dist/composed-stable-id-COP6zOXx.mjs
827
+ //#region ../types/dist/composed-stable-id-RvQIEpqg.mjs
816
828
  /**
817
829
  import { errMsg } from '@camstack/types'
818
830
  * Extract a human-readable message from an unknown error value.
@@ -894,6 +906,9 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
894
906
  /** Weather provider (HA `weather.*`). Tier-3, low MVP priority.
895
907
  * `weather` cap. */
896
908
  DeviceType["Weather"] = "weather";
909
+ /** A physical weather station (Ecowitt outdoor array). `weather-station`
910
+ * cap. Distinct from {@link Weather}, which is a forecast provider. */
911
+ DeviceType["WeatherStation"] = "weather-station";
897
912
  /** Robot vacuum (HA `vacuum.*`). Tier-3. `vacuum-control` cap. */
898
913
  DeviceType["Vacuum"] = "vacuum";
899
914
  /** Robotic lawn mower (HA `lawn_mower.*`). Tier-3.
@@ -5928,7 +5943,7 @@ var ZodIssueCode = {
5928
5943
  var ZodFirstPartyTypeKind;
5929
5944
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5930
5945
  //#endregion
5931
- //#region ../types/dist/sleep-B5XPl2YP.mjs
5946
+ //#region ../types/dist/sleep-DbhT0DWV.mjs
5932
5947
  /**
5933
5948
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5934
5949
  * window to float samples (D455).
@@ -12504,6 +12519,76 @@ var CAP_VOCABULARY_BY_NAME = {
12504
12519
  en: "Control",
12505
12520
  it: "Controllo"
12506
12521
  },
12522
+ actions: [
12523
+ {
12524
+ id: "select.next",
12525
+ method: "next",
12526
+ label: {
12527
+ en: "Next option",
12528
+ it: "Opzione successiva"
12529
+ },
12530
+ phrase: {
12531
+ en: "Select the next option on {device}",
12532
+ it: "Seleziona l’opzione successiva su {device}"
12533
+ },
12534
+ icon: "skip-forward",
12535
+ openArgs: [{
12536
+ key: "cycle",
12537
+ label: {
12538
+ en: "Wrap to the first option",
12539
+ it: "Ricomincia dalla prima opzione"
12540
+ },
12541
+ offer: { kind: "boolean" }
12542
+ }]
12543
+ },
12544
+ {
12545
+ id: "select.previous",
12546
+ method: "previous",
12547
+ label: {
12548
+ en: "Previous option",
12549
+ it: "Opzione precedente"
12550
+ },
12551
+ phrase: {
12552
+ en: "Select the previous option on {device}",
12553
+ it: "Seleziona l’opzione precedente su {device}"
12554
+ },
12555
+ icon: "skip-back",
12556
+ openArgs: [{
12557
+ key: "cycle",
12558
+ label: {
12559
+ en: "Wrap to the last option",
12560
+ it: "Ricomincia dall’ultima opzione"
12561
+ },
12562
+ offer: { kind: "boolean" }
12563
+ }]
12564
+ },
12565
+ {
12566
+ id: "select.first",
12567
+ method: "first",
12568
+ label: {
12569
+ en: "First option",
12570
+ it: "Prima opzione"
12571
+ },
12572
+ phrase: {
12573
+ en: "Select the first option on {device}",
12574
+ it: "Seleziona la prima opzione su {device}"
12575
+ },
12576
+ icon: "chevron-first"
12577
+ },
12578
+ {
12579
+ id: "select.last",
12580
+ method: "last",
12581
+ label: {
12582
+ en: "Last option",
12583
+ it: "Ultima opzione"
12584
+ },
12585
+ phrase: {
12586
+ en: "Select the last option on {device}",
12587
+ it: "Seleziona l’ultima opzione su {device}"
12588
+ },
12589
+ icon: "chevron-last"
12590
+ }
12591
+ ],
12507
12592
  notOperatorFacing: { setValue: "the value shape depends on the control kind (numeric / select / text / datetime) read from status; a typed picker for it is a follow-up of the automations rework" },
12508
12593
  state: [{
12509
12594
  kind: "value",
@@ -17650,6 +17735,183 @@ var CAP_VOCABULARY_BY_NAME = {
17650
17735
  }
17651
17736
  ]
17652
17737
  },
17738
+ "weather-station": {
17739
+ scope: "device",
17740
+ noun: {
17741
+ en: "Weather station",
17742
+ it: "Stazione meteo"
17743
+ },
17744
+ state: [
17745
+ {
17746
+ kind: "numeric",
17747
+ field: "temperature",
17748
+ quantity: {
17749
+ en: "the outdoor temperature",
17750
+ it: "la temperatura esterna"
17751
+ },
17752
+ label: {
17753
+ en: "Temperature",
17754
+ it: "Temperatura"
17755
+ },
17756
+ unit: "°C",
17757
+ icon: "thermometer"
17758
+ },
17759
+ {
17760
+ kind: "numeric",
17761
+ field: "humidity",
17762
+ quantity: {
17763
+ en: "the outdoor humidity",
17764
+ it: "l’umidità esterna"
17765
+ },
17766
+ label: {
17767
+ en: "Humidity",
17768
+ it: "Umidità"
17769
+ },
17770
+ unit: "%",
17771
+ icon: "droplets"
17772
+ },
17773
+ {
17774
+ kind: "numeric",
17775
+ field: "pressure",
17776
+ quantity: {
17777
+ en: "the air pressure",
17778
+ it: "la pressione atmosferica"
17779
+ },
17780
+ label: {
17781
+ en: "Pressure",
17782
+ it: "Pressione"
17783
+ },
17784
+ unit: "hPa",
17785
+ icon: "gauge"
17786
+ },
17787
+ {
17788
+ kind: "numeric",
17789
+ field: "windSpeed",
17790
+ quantity: {
17791
+ en: "the wind speed",
17792
+ it: "la velocità del vento"
17793
+ },
17794
+ label: {
17795
+ en: "Wind",
17796
+ it: "Vento"
17797
+ },
17798
+ unit: "m/s",
17799
+ icon: "wind"
17800
+ },
17801
+ {
17802
+ kind: "numeric",
17803
+ field: "windGust",
17804
+ quantity: {
17805
+ en: "the wind gust",
17806
+ it: "la raffica di vento"
17807
+ },
17808
+ label: {
17809
+ en: "Gust",
17810
+ it: "Raffica"
17811
+ },
17812
+ unit: "m/s",
17813
+ icon: "wind"
17814
+ },
17815
+ {
17816
+ kind: "numeric",
17817
+ field: "windBearing",
17818
+ quantity: {
17819
+ en: "the wind bearing",
17820
+ it: "la direzione del vento"
17821
+ },
17822
+ label: {
17823
+ en: "Wind bearing",
17824
+ it: "Direzione del vento"
17825
+ },
17826
+ unit: "°",
17827
+ icon: "wind"
17828
+ },
17829
+ {
17830
+ kind: "numeric",
17831
+ field: "rainRate",
17832
+ quantity: {
17833
+ en: "the rain rate",
17834
+ it: "l’intensità della pioggia"
17835
+ },
17836
+ label: {
17837
+ en: "Rain rate",
17838
+ it: "Intensità pioggia"
17839
+ },
17840
+ unit: "mm/h",
17841
+ icon: "droplets"
17842
+ },
17843
+ {
17844
+ kind: "numeric",
17845
+ field: "rainDaily",
17846
+ quantity: {
17847
+ en: "the rain today",
17848
+ it: "la pioggia di oggi"
17849
+ },
17850
+ label: {
17851
+ en: "Rain today",
17852
+ it: "Pioggia oggi"
17853
+ },
17854
+ unit: "mm",
17855
+ icon: "droplets"
17856
+ },
17857
+ {
17858
+ kind: "numeric",
17859
+ field: "rainEvent",
17860
+ quantity: {
17861
+ en: "the rain this event",
17862
+ it: "la pioggia di questo evento"
17863
+ },
17864
+ label: {
17865
+ en: "Rain event",
17866
+ it: "Evento di pioggia"
17867
+ },
17868
+ unit: "mm",
17869
+ icon: "droplets"
17870
+ },
17871
+ {
17872
+ kind: "numeric",
17873
+ field: "uv",
17874
+ quantity: {
17875
+ en: "the UV index",
17876
+ it: "l’indice UV"
17877
+ },
17878
+ label: {
17879
+ en: "UV",
17880
+ it: "UV"
17881
+ },
17882
+ unit: "",
17883
+ icon: "cloud-sun"
17884
+ },
17885
+ {
17886
+ kind: "numeric",
17887
+ field: "solarRadiation",
17888
+ quantity: {
17889
+ en: "the solar radiation",
17890
+ it: "la radiazione solare"
17891
+ },
17892
+ label: {
17893
+ en: "Solar",
17894
+ it: "Sole"
17895
+ },
17896
+ unit: "W/m²",
17897
+ icon: "cloud-sun"
17898
+ },
17899
+ {
17900
+ kind: "numeric",
17901
+ field: "dewPoint",
17902
+ quantity: {
17903
+ en: "the dew point",
17904
+ it: "il punto di rugiada"
17905
+ },
17906
+ label: {
17907
+ en: "Dew point",
17908
+ it: "Punto di rugiada"
17909
+ },
17910
+ unit: "°C",
17911
+ icon: "thermometer"
17912
+ }
17913
+ ]
17914
+ },
17653
17915
  "battery": {
17654
17916
  scope: "device",
17655
17917
  noun: {
@@ -18713,6 +18975,7 @@ var CAP_NAMES = Object.freeze([
18713
18975
  "viewer-ui",
18714
18976
  "water-heater",
18715
18977
  "weather",
18978
+ "weather-station",
18716
18979
  "webrtc-session",
18717
18980
  "zone-analytics",
18718
18981
  "zone-rules",
@@ -18992,6 +19255,18 @@ Object.freeze({
18992
19255
  "dry"
18993
19256
  ]
18994
19257
  },
19258
+ {
19259
+ "path": "action",
19260
+ "valueType": "enum",
19261
+ "enumValues": [
19262
+ "heating",
19263
+ "cooling",
19264
+ "drying",
19265
+ "fan",
19266
+ "idle",
19267
+ "off"
19268
+ ]
19269
+ },
18995
19270
  {
18996
19271
  "path": "fanMode",
18997
19272
  "valueType": "string"
@@ -20679,6 +20954,56 @@ Object.freeze({
20679
20954
  "valueType": "number"
20680
20955
  }
20681
20956
  ],
20957
+ "weather-station": [
20958
+ {
20959
+ "path": "temperature",
20960
+ "valueType": "number"
20961
+ },
20962
+ {
20963
+ "path": "humidity",
20964
+ "valueType": "number"
20965
+ },
20966
+ {
20967
+ "path": "pressure",
20968
+ "valueType": "number"
20969
+ },
20970
+ {
20971
+ "path": "windSpeed",
20972
+ "valueType": "number"
20973
+ },
20974
+ {
20975
+ "path": "windGust",
20976
+ "valueType": "number"
20977
+ },
20978
+ {
20979
+ "path": "windBearing",
20980
+ "valueType": "number"
20981
+ },
20982
+ {
20983
+ "path": "rainRate",
20984
+ "valueType": "number"
20985
+ },
20986
+ {
20987
+ "path": "rainDaily",
20988
+ "valueType": "number"
20989
+ },
20990
+ {
20991
+ "path": "rainEvent",
20992
+ "valueType": "number"
20993
+ },
20994
+ {
20995
+ "path": "uv",
20996
+ "valueType": "number"
20997
+ },
20998
+ {
20999
+ "path": "solarRadiation",
21000
+ "valueType": "number"
21001
+ },
21002
+ {
21003
+ "path": "dewPoint",
21004
+ "valueType": "number"
21005
+ }
21006
+ ],
20682
21007
  "zone-analytics": [
20683
21008
  {
20684
21009
  "path": "ts",
@@ -20771,7 +21096,7 @@ Object.freeze({
20771
21096
  }
20772
21097
  });
20773
21098
  //#endregion
20774
- //#region ../types/dist/implemented-methods-0xxMOekw.mjs
21099
+ //#region ../types/dist/implemented-methods-C5FMXLGP.mjs
20775
21100
  /**
20776
21101
  * The ffmpeg build every CamStack node downloads, per platform and arch.
20777
21102
  *
@@ -52879,6 +53204,16 @@ var HvacModeSchema = _enum([
52879
53204
  var ClimateControlStatusSchema = object({
52880
53205
  /** Active HVAC mode. */
52881
53206
  mode: HvacModeSchema,
53207
+ /** What the device is doing now (`heating` while the valve is open, `idle`
53208
+ * at setpoint). Absent or null = the device does not say; never a guess (D393). */
53209
+ action: _enum([
53210
+ "heating",
53211
+ "cooling",
53212
+ "drying",
53213
+ "fan",
53214
+ "idle",
53215
+ "off"
53216
+ ]).nullable().optional(),
52882
53217
  /** Available HVAC modes the device accepts. Subset of HvacMode. */
52883
53218
  availableModes: array(HvacModeSchema),
52884
53219
  /** Active fan mode (`auto` / `low` / `medium` / `high` / `on` / `off`
@@ -52932,6 +53267,35 @@ var ClimateControlStatusSchema = object({
52932
53267
  /** Ms epoch when the slice was last updated (push or command). */
52933
53268
  lastFetchedAt: number$1()
52934
53269
  });
53270
+ /**
53271
+ * Linked room sensor (Customize): the OPERATOR may replace the thermostat's own
53272
+ * `currentTemp` / `currentHumidity` with a sensor in the room. Never linked on
53273
+ * its own (D356). Once linked it ALWAYS replaces the native value, a null
53274
+ * native included — the operator chose the better reading.
53275
+ */
53276
+ var CLIMATE_CUSTOMIZE_DEVICE_TYPES = [DeviceType.Climate];
53277
+ function roomSensorTarget(id, path) {
53278
+ return {
53279
+ id,
53280
+ cardinality: "scalar",
53281
+ vocabulary: {
53282
+ cap: "climate-control",
53283
+ stateField: path
53284
+ },
53285
+ deviceTypes: CLIMATE_CUSTOMIZE_DEVICE_TYPES,
53286
+ apply: "replace",
53287
+ path,
53288
+ sources: [{
53289
+ kind: "numeric",
53290
+ transforms: [{ kind: "identity" }]
53291
+ }],
53292
+ sourceReport: { status: "assignment-status" }
53293
+ };
53294
+ }
53295
+ [roomSensorTarget("room-temperature", "currentTemp"), roomSensorTarget("room-humidity", "currentHumidity")].map((target) => ({
53296
+ path: target.path,
53297
+ by: target.id
53298
+ }));
52935
53299
  DeviceType.Climate, method(object({
52936
53300
  deviceId: number$1().int().nonnegative(),
52937
53301
  mode: HvacModeSchema
@@ -53927,6 +54291,19 @@ var ControlSetValueInputSchema = discriminatedUnion("kind", [
53927
54291
  value: string().min(1)
53928
54292
  })
53929
54293
  ]);
54294
+ /**
54295
+ * `next` / `previous` input (#544, operator scripts driving a selector).
54296
+ * `cycle` is a TOP-LEVEL default so a direct `ctx.api.control.next` call
54297
+ * (which skips the tRPC router's Zod parse) still gets `true` via
54298
+ * `CAP_INPUT_DEFAULTS` — matching HA's own `select_next` / `select_previous`
54299
+ * default.
54300
+ */
54301
+ var ControlStepInputSchema = object({
54302
+ deviceId: number$1().int().nonnegative(),
54303
+ cycle: boolean().default(true)
54304
+ });
54305
+ /** `first` / `last` input — no `cycle`, there is no boundary to stop at. */
54306
+ var ControlBoundaryInputSchema = object({ deviceId: number$1().int().nonnegative() });
53930
54307
  DeviceType.Control, method(object({
53931
54308
  deviceId: number$1().int().nonnegative(),
53932
54309
  control: ControlSetValueInputSchema
@@ -53934,6 +54311,52 @@ DeviceType.Control, method(object({
53934
54311
  kind: "mutation",
53935
54312
  auth: "protected",
53936
54313
  notOperatorFacing: "the value shape depends on the control kind (numeric / select / text / datetime) read from status; a typed picker for it is a follow-up of the automations rework"
54314
+ }), optionalMethod(ControlStepInputSchema, _void(), {
54315
+ kind: "mutation",
54316
+ auth: "protected",
54317
+ actions: [{
54318
+ id: "select.next",
54319
+ label: t("Next option", "Opzione successiva"),
54320
+ phrase: t("Select the next option on {device}", "Seleziona l’opzione successiva su {device}"),
54321
+ icon: "skip-forward",
54322
+ openArgs: [{
54323
+ key: "cycle",
54324
+ label: t("Wrap to the first option", "Ricomincia dalla prima opzione"),
54325
+ offer: { kind: "boolean" }
54326
+ }]
54327
+ }]
54328
+ }), optionalMethod(ControlStepInputSchema, _void(), {
54329
+ kind: "mutation",
54330
+ auth: "protected",
54331
+ actions: [{
54332
+ id: "select.previous",
54333
+ label: t("Previous option", "Opzione precedente"),
54334
+ phrase: t("Select the previous option on {device}", "Seleziona l’opzione precedente su {device}"),
54335
+ icon: "skip-back",
54336
+ openArgs: [{
54337
+ key: "cycle",
54338
+ label: t("Wrap to the last option", "Ricomincia dall’ultima opzione"),
54339
+ offer: { kind: "boolean" }
54340
+ }]
54341
+ }]
54342
+ }), optionalMethod(ControlBoundaryInputSchema, _void(), {
54343
+ kind: "mutation",
54344
+ auth: "protected",
54345
+ actions: [{
54346
+ id: "select.first",
54347
+ label: t("First option", "Prima opzione"),
54348
+ phrase: t("Select the first option on {device}", "Seleziona la prima opzione su {device}"),
54349
+ icon: "chevron-first"
54350
+ }]
54351
+ }), optionalMethod(ControlBoundaryInputSchema, _void(), {
54352
+ kind: "mutation",
54353
+ auth: "protected",
54354
+ actions: [{
54355
+ id: "select.last",
54356
+ label: t("Last option", "Ultima opzione"),
54357
+ phrase: t("Select the last option on {device}", "Seleziona l’ultima opzione su {device}"),
54358
+ icon: "chevron-last"
54359
+ }]
53937
54360
  });
53938
54361
  var IrCodecError = class extends Error {
53939
54362
  code;
@@ -54738,7 +55161,7 @@ DeviceType.MediaPlayer, optionalMethod(deviceOnly, _void(), {
54738
55161
  }]
54739
55162
  }]
54740
55163
  });
54741
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter, DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Lock, DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Gateway, DeviceType.Camera, DeviceType.Sensor, DeviceType.MediaPlayer, DeviceType.Vacuum, DeviceType.Generic, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.PetFountain, DeviceType.Fan, DeviceType.Humidifier, DeviceType.Climate, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.PetFeeder, DeviceType.MediaPlayer;
55164
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter, DeviceType.Climate, DeviceType.Climate, DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Fan, DeviceType.Lock, DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Gateway, DeviceType.Camera, DeviceType.Sensor, DeviceType.MediaPlayer, DeviceType.Vacuum, DeviceType.Generic, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.PetFountain, DeviceType.Fan, DeviceType.Humidifier, DeviceType.Climate, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.PetFeeder, DeviceType.MediaPlayer;
54742
55165
  var NUMBER = {
54743
55166
  kind: "fixed",
54744
55167
  result: ["number"]
@@ -54803,7 +55226,7 @@ var CHANGED = {
54803
55226
  fieldPath: "lastChangedAt",
54804
55227
  expr: "now"
54805
55228
  };
54806
- function numeric(input) {
55229
+ function numeric$1(input) {
54807
55230
  const { alsoFrom, ...base } = input;
54808
55231
  return {
54809
55232
  ...base,
@@ -54838,7 +55261,7 @@ function binary(input) {
54838
55261
  };
54839
55262
  }
54840
55263
  var GROUP_TEMPLATES = [
54841
- numeric({
55264
+ numeric$1({
54842
55265
  id: "temperature",
54843
55266
  summary: "Mean, median, min, max or sum of temperatures. Offline and unknown members are left out, never read as 0 °C.",
54844
55267
  role: DeviceRole.TemperatureSensor,
@@ -54856,7 +55279,7 @@ var GROUP_TEMPLATES = [
54856
55279
  }
54857
55280
  }
54858
55281
  }),
54859
- numeric({
55282
+ numeric$1({
54860
55283
  id: "humidity",
54861
55284
  summary: "Humidity in percent. Offline and unknown members are left out, never read as 0 %.",
54862
55285
  role: DeviceRole.HumiditySensor,
@@ -54874,7 +55297,7 @@ var GROUP_TEMPLATES = [
54874
55297
  }
54875
55298
  }
54876
55299
  }),
54877
- numeric({
55300
+ numeric$1({
54878
55301
  id: "pressure",
54879
55302
  summary: "Pressure in hectopascals. Offline and unknown members are left out, never read as 0 hPa.",
54880
55303
  role: DeviceRole.PressureSensor,
@@ -54885,7 +55308,7 @@ var GROUP_TEMPLATES = [
54885
55308
  empty: "null",
54886
55309
  companions: [NOW$3]
54887
55310
  }),
54888
- numeric({
55311
+ numeric$1({
54889
55312
  id: "illuminance",
54890
55313
  summary: "Illuminance in lux. Offline and unknown members are left out, never read as 0 lx.",
54891
55314
  role: DeviceRole.AmbientLightSensor,
@@ -54896,7 +55319,7 @@ var GROUP_TEMPLATES = [
54896
55319
  empty: "null",
54897
55320
  companions: [NOW$3]
54898
55321
  }),
54899
- numeric({
55322
+ numeric$1({
54900
55323
  id: "power",
54901
55324
  summary: "Power in watts, summed by default. Nobody reporting omits the key rather than writing 0 W.",
54902
55325
  role: DeviceRole.PowerSensor,
@@ -54907,7 +55330,7 @@ var GROUP_TEMPLATES = [
54907
55330
  empty: "omit",
54908
55331
  companions: [NOW$3]
54909
55332
  }),
54910
- numeric({
55333
+ numeric$1({
54911
55334
  id: "energy",
54912
55335
  summary: "Energy in kilowatt-hours, summed by default. Nobody reporting omits the key rather than writing 0 kWh.",
54913
55336
  role: DeviceRole.EnergySensor,
@@ -54918,7 +55341,7 @@ var GROUP_TEMPLATES = [
54918
55341
  empty: "omit",
54919
55342
  companions: [NOW$3]
54920
55343
  }),
54921
- numeric({
55344
+ numeric$1({
54922
55345
  id: "battery",
54923
55346
  summary: "Battery charge in percent. Offline and unknown members are left out, never read as 0 %.",
54924
55347
  role: DeviceRole.BatterySensor,
@@ -54942,7 +55365,7 @@ var GROUP_TEMPLATES = [
54942
55365
  }
54943
55366
  ]
54944
55367
  }),
54945
- numeric({
55368
+ numeric$1({
54946
55369
  id: "numeric",
54947
55370
  summary: "A numeric reading in the members’ shared quantity. Mixed quantities are refused. Nobody reporting publishes null, not 0.",
54948
55371
  role: DeviceRole.NumericSensor,
@@ -61629,7 +62052,7 @@ var HeroSceneSchema = object({
61629
62052
  /** 0..1: volume, cover position, cycle progress. */
61630
62053
  level: number$1().min(0).max(1).nullable()
61631
62054
  });
61632
- DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
62055
+ DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
61633
62056
  DeviceRole.Siren, DeviceRole.Floodlight, DeviceRole.Spotlight, DeviceRole.PirSensor, DeviceRole.Chime, DeviceRole.Autotrack, DeviceRole.Nightvision, DeviceRole.PrivacyMask, DeviceRole.Doorbell, DeviceRole.CoverBlind, DeviceRole.CoverShutter, DeviceRole.CoverAwning, DeviceRole.CoverCurtain, DeviceRole.CoverGarage, DeviceRole.CoverGate, DeviceRole.CoverDoor, DeviceRole.CoverWindow, DeviceRole.BinaryHelper, DeviceRole.Outlet, DeviceRole.SwitchHeater, DeviceRole.SwitchFan, DeviceRole.SwitchLight, DeviceRole.ClimateAc, DeviceRole.ClimateThermostat, DeviceRole.ClimateFloor, DeviceRole.ClimateRadiator, DeviceRole.ClimateHeater, DeviceRole.ClimateHeatPumpCircuit, DeviceRole.MotionSensor, DeviceRole.ContactSensor, DeviceRole.LeakSensor, DeviceRole.SmokeSensor, DeviceRole.COSensor, DeviceRole.GasSensor, DeviceRole.TamperSensor, DeviceRole.VibrationSensor, DeviceRole.ConnectivitySensor, DeviceRole.SoundSensor, DeviceRole.BinarySensor, DeviceRole.TemperatureSensor, DeviceRole.HumiditySensor, DeviceRole.AmbientLightSensor, DeviceRole.PressureSensor, DeviceRole.WindSensor, DeviceRole.RainSensor, DeviceRole.UvSensor, DeviceRole.SolarRadiationSensor, DeviceRole.SoilMoistureSensor, DeviceRole.PowerSensor, DeviceRole.EnergySensor, DeviceRole.VoltageSensor, DeviceRole.CurrentSensor, DeviceRole.AirQualitySensor, DeviceRole.BatterySensor, DeviceRole.NumericSensor, DeviceRole.EnumSensor, DeviceRole.DateTimeSensor, DeviceRole.GenericSensor, DeviceRole.NumericControl, DeviceRole.SelectControl, DeviceRole.TextControl, DeviceRole.DateTimeControl, DeviceRole.MobilePushNotifier, DeviceRole.MessagingNotifier, DeviceRole.EmailNotifier, DeviceRole.GenericNotifier, DeviceRole.IrTransmitter;
61634
62057
  var HeroRowIdSchema = _enum([
61635
62058
  "progress",
@@ -72451,6 +72874,8 @@ var NcSystemEventKindSchema = _enum([
72451
72874
  "storage-location-low",
72452
72875
  "storage-location-critical",
72453
72876
  "storage-location-ok",
72877
+ "storage-drain-progress",
72878
+ "storage-drain-complete",
72454
72879
  "addon-crash-loop",
72455
72880
  "addon-update-available",
72456
72881
  "server-update-available",
@@ -84865,6 +85290,23 @@ var WeatherStatusSchema = object({
84865
85290
  lastFetchedAt: number$1()
84866
85291
  });
84867
85292
  DeviceType.Weather;
85293
+ var WeatherStationStatusSchema = object({
85294
+ temperature: number$1().nullable().meta(readingMeta("temperature", { precision: 1 })),
85295
+ humidity: number$1().min(0).max(100).nullable().meta(readingMeta("humidity")),
85296
+ pressure: number$1().nullable().meta(readingMeta("pressure")),
85297
+ windSpeed: number$1().nullable().meta(readingMeta("speed")),
85298
+ windGust: number$1().nullable().meta(readingMeta("speed")),
85299
+ windBearing: number$1().nullable().meta(readingMeta("angle")),
85300
+ rainRate: number$1().nullable().meta(readingMeta("precipitation-rate", { precision: 1 })),
85301
+ rainDaily: number$1().nullable().meta(readingMeta("precipitation", { precision: 1 })),
85302
+ rainEvent: number$1().nullable().meta(readingMeta("precipitation", { precision: 1 })),
85303
+ uv: number$1().nullable().meta(readingMeta("index", { precision: 1 })),
85304
+ solarRadiation: number$1().nullable().meta(readingMeta("irradiance")),
85305
+ dewPoint: number$1().nullable().meta(readingMeta("temperature", { precision: 1 }))
85306
+ }).extend({
85307
+ /** Ms epoch of the poll that produced this slice. 0 before the first one. */
85308
+ lastFetchedAt: number$1() });
85309
+ DeviceType.WeatherStation;
84868
85310
  /**
84869
85311
  * Optional client-side hints sent at session creation to help the provider
84870
85312
  * pick the best native source. All fields optional — a viewer that knows
@@ -85902,7 +86344,7 @@ var AccessoryKind = {
85902
86344
  };
85903
86345
  AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
85904
86346
  DeviceType.HeatPump;
85905
- DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
86347
+ DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Camera, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
85906
86348
  new Set(Object.values(DeviceType));
85907
86349
  /** Parses the raw slice with the cap's own schema; `undefined` when it does not parse. */
85908
86350
  function contribution(cap, schema, build) {
@@ -87271,6 +87713,17 @@ var SENSORS_FAMILY_CONTRIBUTIONS = {
87271
87713
  doorbell: doorbellContribution,
87272
87714
  meter: meterContribution,
87273
87715
  weather: weatherContribution,
87716
+ "weather-station": contribution("weather-station", WeatherStationStatusSchema, (slice) => {
87717
+ if (slice === void 0 || slice.temperature === null) return { reading: reading("weather", "unknown") };
87718
+ const celsius = `${number(slice.temperature)}°C`;
87719
+ const facts = [fact("reading", "thermometer", t(celsius, celsius), "primary")];
87720
+ if (slice.humidity !== null) facts.push(fact("reading", "droplets", t(`${Math.round(slice.humidity)}%`, `${Math.round(slice.humidity)}%`)));
87721
+ if (slice.windSpeed !== null) facts.push(fact("reading", "wind", t(`${number(slice.windSpeed)} m/s`, `${number(slice.windSpeed)} m/s`)));
87722
+ return {
87723
+ reading: reading("weather", "on", false, t(celsius, celsius)),
87724
+ facts
87725
+ };
87726
+ }),
87274
87727
  update: updateContribution,
87275
87728
  image: imageContribution,
87276
87729
  button: buttonContribution,
@@ -87947,7 +88400,7 @@ var HEAT_PUMP_FAMILY_CONTRIBUTIONS = { "heat-pump-status": contribution("heat-pu
87947
88400
  ...Object.values(CLIMATE_FAMILY_CONTRIBUTIONS),
87948
88401
  ...Object.values(HEAT_PUMP_FAMILY_CONTRIBUTIONS)
87949
88402
  ];
87950
- DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
88403
+ DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
87951
88404
  /**
87952
88405
  * Who looks like what (D1023). One look per {@link DeviceType}, refined by a
87953
88406
  * {@link DeviceRole} where the role changes how the device reads (a leak
@@ -88591,7 +89044,7 @@ lookOf({
88591
89044
  standby: MUTED
88592
89045
  });
88593
89046
  DeviceType.Climate;
88594
- DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
89047
+ DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
88595
89048
  DeviceRole.Siren, DeviceRole.Floodlight, DeviceRole.Spotlight, DeviceRole.PirSensor, DeviceRole.Chime, DeviceRole.Autotrack, DeviceRole.Nightvision, DeviceRole.PrivacyMask, DeviceRole.Doorbell, DeviceRole.CoverBlind, DeviceRole.CoverShutter, DeviceRole.CoverAwning, DeviceRole.CoverCurtain, DeviceRole.CoverGarage, DeviceRole.CoverGate, DeviceRole.CoverDoor, DeviceRole.CoverWindow, DeviceRole.BinaryHelper, DeviceRole.Outlet, DeviceRole.SwitchHeater, DeviceRole.SwitchFan, DeviceRole.SwitchLight, DeviceRole.ClimateAc, DeviceRole.ClimateThermostat, DeviceRole.ClimateFloor, DeviceRole.ClimateRadiator, DeviceRole.ClimateHeater, DeviceRole.ClimateHeatPumpCircuit, DeviceRole.MotionSensor, DeviceRole.ContactSensor, DeviceRole.LeakSensor, DeviceRole.SmokeSensor, DeviceRole.COSensor, DeviceRole.GasSensor, DeviceRole.TamperSensor, DeviceRole.VibrationSensor, DeviceRole.ConnectivitySensor, DeviceRole.SoundSensor, DeviceRole.BinarySensor, DeviceRole.TemperatureSensor, DeviceRole.HumiditySensor, DeviceRole.AmbientLightSensor, DeviceRole.PressureSensor, DeviceRole.WindSensor, DeviceRole.RainSensor, DeviceRole.UvSensor, DeviceRole.SolarRadiationSensor, DeviceRole.SoilMoistureSensor, DeviceRole.PowerSensor, DeviceRole.EnergySensor, DeviceRole.VoltageSensor, DeviceRole.CurrentSensor, DeviceRole.AirQualitySensor, DeviceRole.BatterySensor, DeviceRole.NumericSensor, DeviceRole.EnumSensor, DeviceRole.DateTimeSensor, DeviceRole.GenericSensor, DeviceRole.NumericControl, DeviceRole.SelectControl, DeviceRole.TextControl, DeviceRole.DateTimeControl, DeviceRole.MobilePushNotifier, DeviceRole.MessagingNotifier, DeviceRole.EmailNotifier, DeviceRole.GenericNotifier, DeviceRole.IrTransmitter;
88596
89049
  Object.freeze({
88597
89050
  "accessories.getStatus": {
@@ -89896,6 +90349,13 @@ Object.freeze({
89896
90349
  access: "view",
89897
90350
  role: "viewer"
89898
90351
  },
90352
+ "control.first": {
90353
+ capName: "control",
90354
+ capScope: "device",
90355
+ addonId: null,
90356
+ access: "create",
90357
+ role: "viewer"
90358
+ },
89899
90359
  "control.getStatus": {
89900
90360
  capName: "control",
89901
90361
  capScope: "device",
@@ -89903,6 +90363,27 @@ Object.freeze({
89903
90363
  access: "view",
89904
90364
  role: "viewer"
89905
90365
  },
90366
+ "control.last": {
90367
+ capName: "control",
90368
+ capScope: "device",
90369
+ addonId: null,
90370
+ access: "create",
90371
+ role: "viewer"
90372
+ },
90373
+ "control.next": {
90374
+ capName: "control",
90375
+ capScope: "device",
90376
+ addonId: null,
90377
+ access: "create",
90378
+ role: "viewer"
90379
+ },
90380
+ "control.previous": {
90381
+ capName: "control",
90382
+ capScope: "device",
90383
+ addonId: null,
90384
+ access: "create",
90385
+ role: "viewer"
90386
+ },
89906
90387
  "control.setValue": {
89907
90388
  capName: "control",
89908
90389
  capScope: "device",
@@ -98849,6 +99330,13 @@ Object.freeze({
98849
99330
  access: "view",
98850
99331
  role: "viewer"
98851
99332
  },
99333
+ "weatherStation.getStatus": {
99334
+ capName: "weather-station",
99335
+ capScope: "device",
99336
+ addonId: null,
99337
+ access: "view",
99338
+ role: "viewer"
99339
+ },
98852
99340
  "webrtcSession.addIceCandidate": {
98853
99341
  capName: "webrtc-session",
98854
99342
  capScope: "device",
@@ -99062,7 +99550,7 @@ function offered(received) {
99062
99550
  };
99063
99551
  }
99064
99552
  offered(HA_AS), withheld(HOMEKIT_REASON), withheld(ALEXA_REASON), withheld(GOOGLE_REASON), withheld(MATTER_REASON);
99065
- DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
99553
+ DeviceType.Camera, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Climate, DeviceType.HeatPump, DeviceType.EnergySystem, DeviceType.Button, DeviceType.EventEmitter, DeviceType.Update, DeviceType.Generic, DeviceType.Notifier, DeviceType.Script, DeviceType.Automation, DeviceType.Lock, DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.WeatherStation, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
99066
99554
  DeviceRole.Siren, DeviceRole.Floodlight, DeviceRole.Spotlight, DeviceRole.PirSensor, DeviceRole.Chime, DeviceRole.Autotrack, DeviceRole.Nightvision, DeviceRole.PrivacyMask, DeviceRole.Doorbell, DeviceRole.CoverBlind, DeviceRole.CoverShutter, DeviceRole.CoverAwning, DeviceRole.CoverCurtain, DeviceRole.CoverGarage, DeviceRole.CoverGate, DeviceRole.CoverDoor, DeviceRole.CoverWindow, DeviceRole.BinaryHelper, DeviceRole.Outlet, DeviceRole.SwitchHeater, DeviceRole.SwitchFan, DeviceRole.SwitchLight, DeviceRole.ClimateAc, DeviceRole.ClimateThermostat, DeviceRole.ClimateFloor, DeviceRole.ClimateRadiator, DeviceRole.ClimateHeater, DeviceRole.ClimateHeatPumpCircuit, DeviceRole.MotionSensor, DeviceRole.ContactSensor, DeviceRole.LeakSensor, DeviceRole.SmokeSensor, DeviceRole.COSensor, DeviceRole.GasSensor, DeviceRole.TamperSensor, DeviceRole.VibrationSensor, DeviceRole.ConnectivitySensor, DeviceRole.SoundSensor, DeviceRole.BinarySensor, DeviceRole.TemperatureSensor, DeviceRole.HumiditySensor, DeviceRole.AmbientLightSensor, DeviceRole.PressureSensor, DeviceRole.WindSensor, DeviceRole.RainSensor, DeviceRole.UvSensor, DeviceRole.SolarRadiationSensor, DeviceRole.SoilMoistureSensor, DeviceRole.PowerSensor, DeviceRole.EnergySensor, DeviceRole.VoltageSensor, DeviceRole.CurrentSensor, DeviceRole.AirQualitySensor, DeviceRole.BatterySensor, DeviceRole.NumericSensor, DeviceRole.EnumSensor, DeviceRole.DateTimeSensor, DeviceRole.GenericSensor, DeviceRole.NumericControl, DeviceRole.SelectControl, DeviceRole.TextControl, DeviceRole.DateTimeControl, DeviceRole.MobilePushNotifier, DeviceRole.MessagingNotifier, DeviceRole.EmailNotifier, DeviceRole.GenericNotifier, DeviceRole.IrTransmitter;
99067
99555
  new Set(Object.values(DeviceType));
99068
99556
  new Set(Object.values(DeviceRole));
@@ -99401,11 +99889,31 @@ Object.freeze({
99401
99889
  form: "single",
99402
99890
  optional: false
99403
99891
  }],
99892
+ "control.first": [{
99893
+ name: "deviceId",
99894
+ form: "single",
99895
+ optional: false
99896
+ }],
99404
99897
  "control.getStatus": [{
99405
99898
  name: "deviceId",
99406
99899
  form: "single",
99407
99900
  optional: false
99408
99901
  }],
99902
+ "control.last": [{
99903
+ name: "deviceId",
99904
+ form: "single",
99905
+ optional: false
99906
+ }],
99907
+ "control.next": [{
99908
+ name: "deviceId",
99909
+ form: "single",
99910
+ optional: false
99911
+ }],
99912
+ "control.previous": [{
99913
+ name: "deviceId",
99914
+ form: "single",
99915
+ optional: false
99916
+ }],
99409
99917
  "control.setValue": [{
99410
99918
  name: "deviceId",
99411
99919
  form: "single",
@@ -102071,6 +102579,11 @@ Object.freeze({
102071
102579
  form: "single",
102072
102580
  optional: false
102073
102581
  }],
102582
+ "weatherStation.getStatus": [{
102583
+ name: "deviceId",
102584
+ form: "single",
102585
+ optional: false
102586
+ }],
102074
102587
  "webrtcSession.addIceCandidate": [{
102075
102588
  name: "deviceId",
102076
102589
  form: "single",
@@ -102307,6 +102820,8 @@ new Map(Object.entries({
102307
102820
  "storage-location-low": "system",
102308
102821
  "storage-location-critical": "system",
102309
102822
  "storage-location-ok": "system",
102823
+ "storage-drain-progress": "system",
102824
+ "storage-drain-complete": "system",
102310
102825
  "alarm-triggered": "alarm",
102311
102826
  "alarm-armed": "alarm",
102312
102827
  "alarm-disarmed": "alarm",
@@ -102442,6 +102957,12 @@ var NC_SYSTEM_EVENT_KIND_GROUP_SPECS = [
102442
102957
  "storage-location-ok"
102443
102958
  ]
102444
102959
  },
102960
+ {
102961
+ id: "storage-drain",
102962
+ family: "system",
102963
+ label: "Storage drain progress",
102964
+ kinds: ["storage-drain-progress", "storage-drain-complete"]
102965
+ },
102445
102966
  {
102446
102967
  id: "alerts",
102447
102968
  family: "system",
@@ -102636,6 +103157,7 @@ var ALERT_EPISODE = [
102636
103157
  "alert-error",
102637
103158
  "alert-critical-resolved"
102638
103159
  ];
103160
+ var STORAGE_DRAIN = ["storage-drain-progress", "storage-drain-complete"];
102639
103161
  var DEVICE_ATTENTION = ["device-attention-required", "device-attention-resolved"];
102640
103162
  var UPDATES = [
102641
103163
  "addon-update-available",
@@ -102859,8 +103381,16 @@ var STATE_SUMMARY_VARS = [
102859
103381
  ([...RULE_TEXT], [...BATTERY, ...CONSUMABLE]),
102860
103382
  ([...RULE_TEXT], [...CONSUMABLE]),
102861
103383
  [...RULE_TEXT],
102862
- ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
102863
- ([...RULE_TEXT], [...UPDATES, ...ALERT_EPISODE]),
103384
+ ([...RULE_TEXT], [
103385
+ ...UPDATES,
103386
+ ...STORAGE_DRAIN,
103387
+ ...ALERT_EPISODE
103388
+ ]),
103389
+ ([...RULE_TEXT], [
103390
+ ...UPDATES,
103391
+ ...STORAGE_DRAIN,
103392
+ ...ALERT_EPISODE
103393
+ ]),
102864
103394
  [...RULE_TEXT],
102865
103395
  [...RULE_TEXT],
102866
103396
  [...RULE_TEXT],
@@ -102874,6 +103404,9 @@ var STATE_SUMMARY_VARS = [
102874
103404
  [...RULE_TEXT],
102875
103405
  [...RULE_TEXT],
102876
103406
  [...RULE_TEXT],
103407
+ ([...RULE_TEXT], [...STORAGE_DRAIN]),
103408
+ ([...RULE_TEXT], [...STORAGE_DRAIN]),
103409
+ [...RULE_TEXT],
102877
103410
  [...RULE_TEXT],
102878
103411
  [...RULE_TEXT],
102879
103412
  [...RULE_TEXT],
@@ -103592,7 +104125,7 @@ var AdminUIAddon = class extends BaseAddon {
103592
104125
  capability: adminUiCapability,
103593
104126
  provider: {
103594
104127
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
103595
- getVersion: async () => ({ version: "1.2.669" })
104128
+ getVersion: async () => ({ version: "1.2.671" })
103596
104129
  }
103597
104130
  }];
103598
104131
  }