@camstack/addon-admin-ui 1.2.644 → 1.2.645

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 (112) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/assets/Addons-CWDe2ysB.js +5 -0
  3. package/dist/assets/{AdminPage-DBIlGQcg.js → AdminPage-CgQxV6oS.js} +1 -1
  4. package/dist/assets/{AdminSectionedPage-BZZVpePX.js → AdminSectionedPage-CSjSmB74.js} +1 -1
  5. package/dist/assets/{AiProfiles-0WnsACbl.js → AiProfiles-DnluoNPk.js} +2 -2
  6. package/dist/assets/{BootstrapSettingsForm-B4JdtXuz.js → BootstrapSettingsForm-BoEmD1zV.js} +1 -1
  7. package/dist/assets/Build-DMVoPRyS.js +40 -0
  8. package/dist/assets/{Calendars-C7qfbr7A.js → Calendars-DJwzxqLu.js} +1 -1
  9. package/dist/assets/{CameraGrids-mWpZKvQ5.js → CameraGrids-BgccN5Pj.js} +1 -1
  10. package/dist/assets/{Cluster-DZcoj2rP.js → Cluster-BsENeR0i.js} +1 -1
  11. package/dist/assets/CompositionBlockEditor-DudbSZVo.js +2 -0
  12. package/dist/assets/{CompositionEditorPage-D2-woXyS.js → CompositionEditorPage-TUBCxwY3.js} +1 -1
  13. package/dist/assets/Data-DOpOAfYo.js +2 -0
  14. package/dist/assets/DeviceDetail-CIRWTBj8.js +2 -0
  15. package/dist/assets/{Devices-CWvTKpnT.js → Devices-RQLZEgPY.js} +1 -1
  16. package/dist/assets/{EmbedDevicePage-CvbzEbvN.js → EmbedDevicePage-ZLq8d2iA.js} +1 -1
  17. package/dist/assets/{EmbedPlayerPage-MuC48n-_.js → EmbedPlayerPage-CAIQaXj7.js} +1 -1
  18. package/dist/assets/{History-EJImyfJF.js → History-y3xgB62I.js} +1 -1
  19. package/dist/assets/Identity-Dfwm4Ys2.js +1 -0
  20. package/dist/assets/{InstancesTable-CvfpkEKd.js → InstancesTable-DB74t0Si.js} +1 -1
  21. package/dist/assets/{IntegrationDetail-D8rUMymg.js → IntegrationDetail-Bg4fgH_7.js} +1 -1
  22. package/dist/assets/{IntegrationWizard-CUcCjYQD.js → IntegrationWizard-B_hF-vL9.js} +1 -1
  23. package/dist/assets/Integrations-BzHSRaCH.js +1 -0
  24. package/dist/assets/{Integrations-2NtF5fL7.js → Integrations-uNKI4ENy.js} +2 -2
  25. package/dist/assets/Library-IqKySZef.js +1 -0
  26. package/dist/assets/Locations-BzytI3mX.js +3 -0
  27. package/dist/assets/{Logs-CoJh-c0a.js → Logs-BQWbxkE0.js} +1 -1
  28. package/dist/assets/{MaskShapeCanvas-j1uA0PkL.js → MaskShapeCanvas-B3zP9xT5.js} +1 -1
  29. package/dist/assets/{MotionZonesSettings-0iA5mYRg.js → MotionZonesSettings-DKBKT9aJ.js} +1 -1
  30. package/dist/assets/{MyAccess-DHgBU4Se.js → MyAccess-t_EwSJ61.js} +1 -1
  31. package/dist/assets/Network-w5dWUXr3.js +1 -0
  32. package/dist/assets/{NodeAddonsSettingsPanel-CieUBerm.js → NodeAddonsSettingsPanel-Bd8yv-Cb.js} +1 -1
  33. package/dist/assets/Notifications-BZPoCLb7.js +1 -0
  34. package/dist/assets/Pipeline-AOTD3jWE.js +1 -0
  35. package/dist/assets/{PrivacyMaskSettings-BLOdiPL9.js → PrivacyMaskSettings-CK9hqTRF.js} +1 -1
  36. package/dist/assets/{Recordings-D_GHaGDS.js → Recordings-Ck1Xvyur.js} +1 -1
  37. package/dist/assets/{RemoteGrid-DdvsdB_y.js → RemoteGrid-i8wKPofF.js} +1 -1
  38. package/dist/assets/{ScanSubnetEditor-BCfqLZIA.js → ScanSubnetEditor-DgQG14u4.js} +1 -1
  39. package/dist/assets/{SceneMonitorEditor-Cy11U5pJ.js → SceneMonitorEditor-C7BzyuY3.js} +1 -1
  40. package/dist/assets/{SessionsList-CFVXs0eU.js → SessionsList-Cg0IcV2U.js} +2 -2
  41. package/dist/assets/{Showroom-CDNZCmQ9.js → Showroom-v5DKHm7R.js} +1 -1
  42. package/dist/assets/{StorageLocationsTable-C2jWCBaP.js → StorageLocationsTable-Bs0wRBcX.js} +1 -1
  43. package/dist/assets/{System-CKbbRmxa.js → System-jjlBGk9U.js} +1 -1
  44. package/dist/assets/{Templates-BQW0A24V.js → Templates-DKBo80nE.js} +1 -1
  45. package/dist/assets/{Terminal-CflJDBLw.js → Terminal-CFo4OCRV.js} +2 -2
  46. package/dist/assets/{TrainingProviders--io-U4Mx.js → TrainingProviders-LmHCsEEc.js} +1 -1
  47. package/dist/assets/{Viewer-z_gjByXA.js → Viewer-KhrX-QoU.js} +1 -1
  48. package/dist/assets/{__vite-browser-external-BCAtXlNQ.js → __vite-browser-external-B6QEsNSJ.js} +1 -1
  49. package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CMJDSqwo.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BPtmPLBq.js} +1 -1
  50. package/dist/assets/{action-draft-Dg61GkLS.js → action-draft-Ct8_GVdJ.js} +1 -1
  51. package/dist/assets/{ai-page.helpers-QIeUykiQ.js → ai-page.helpers-3SnxNBNh.js} +1 -1
  52. package/dist/assets/{assignment-candidates-CwKJ2Z54.js → assignment-candidates-CMQomrma.js} +1 -1
  53. package/dist/assets/{authed-media-BkzUgfxS.js → authed-media-CS1SYJIb.js} +1 -1
  54. package/dist/assets/{board-model-K39WWIgs.js → board-model-COvoDWAk.js} +1 -1
  55. package/dist/assets/client-BkrADwlo.js +951 -0
  56. package/dist/assets/create-composition-B8m0P0Ka.js +1 -0
  57. package/dist/assets/{device-detail-CJ8-lleI.js → device-detail-G-NTu_Fh.js} +1 -1
  58. package/dist/assets/{device-integration-icon-TWc3Gi9v.js → device-integration-icon-dOu9Eloe.js} +1 -1
  59. package/dist/assets/device-picker-model-Crk-zo39.js +1 -0
  60. package/dist/assets/{dist-B8qwp9-f.js → dist-BSIDIvPv.js} +1 -1
  61. package/dist/assets/dist-DD36UXJv.js +951 -0
  62. package/dist/assets/{format-hVW7RBVv.js → format-CnAMMCKO.js} +1 -1
  63. package/dist/assets/{hostInit-CWx4j9gp.js → hostInit-5hZWUgB1.js} +1 -1
  64. package/dist/assets/i18n-BArP6ThS.js +1 -0
  65. package/dist/assets/icons-2IlNe3Rh.js +1 -0
  66. package/dist/assets/index-B5lClYc_.js +4 -0
  67. package/dist/assets/{linked-devices-model-h00bTRRT.js → linked-devices-model-C9-KwysR.js} +1 -1
  68. package/dist/assets/{mf-entry-bootstrap-0-58e92d28.js → mf-entry-bootstrap-0-da7ca43d.js} +2 -2
  69. package/dist/assets/mount-Crk-zo39.js +1 -0
  70. package/dist/assets/{notification-rule-status-B-P-wl_0.js → notification-rule-status-CXntp3K9.js} +1 -1
  71. package/dist/assets/player-overlays-BGlMiuNC.js +1 -0
  72. package/dist/assets/remoteEntry-Oo10s4gX.js +1 -0
  73. package/dist/assets/src-BNDWAXGm.js +230 -0
  74. package/dist/assets/{step-inspector-model-De5uJK-p.js → step-inspector-model-DXIzeAZ0.js} +1 -1
  75. package/dist/assets/{use-scenes-feed-CpY0pBjC.js → use-scenes-feed-BoR1Y-VE.js} +1 -1
  76. package/dist/assets/{use-stationary-objects-BACQuMo9.js → use-stationary-objects-DkXKafj7.js} +1 -1
  77. package/dist/assets/{useAdminDeviceRemoval-8_UQkuQg.js → useAdminDeviceRemoval-DkVpT6r5.js} +1 -1
  78. package/dist/assets/useEventInvalidation-Crk-zo39.js +1 -0
  79. package/dist/assets/{useNodeUrlSelection-gHQAfZml.js → useNodeUrlSelection--lZvqvct.js} +1 -1
  80. package/dist/assets/useTemplateSave-NBDCe0sx.js +1 -0
  81. package/dist/assets/variable-Cy0obf0C.js +1 -0
  82. package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-hv9stH43.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-T6WBMt1q.js} +2 -2
  83. package/dist/index.html +8 -8
  84. package/dist/server/addon.js +378 -131
  85. package/package.json +2 -2
  86. package/dist/assets/Addons-ShOLWXd0.js +0 -5
  87. package/dist/assets/Build-9NCzkPDG.js +0 -39
  88. package/dist/assets/CompositionBlockEditor-C76eQ7Js.js +0 -2
  89. package/dist/assets/Data-DKNCfvhH.js +0 -2
  90. package/dist/assets/DeviceDetail-DHep5JCp.js +0 -2
  91. package/dist/assets/Identity-Bp-Zr3O5.js +0 -1
  92. package/dist/assets/Integrations-DsjUFK8h.js +0 -1
  93. package/dist/assets/Library-Dxr2Pajp.js +0 -1
  94. package/dist/assets/Locations-rnb6AjY3.js +0 -3
  95. package/dist/assets/Network-DzqpooQx.js +0 -1
  96. package/dist/assets/Notifications-DIrApxQt.js +0 -1
  97. package/dist/assets/Pipeline-CXIrhlea.js +0 -1
  98. package/dist/assets/client-B60QT14E.js +0 -951
  99. package/dist/assets/create-composition-B7qf5-qP.js +0 -2
  100. package/dist/assets/device-picker-model-CsHVNi49.js +0 -1
  101. package/dist/assets/dist-DXms20e9.js +0 -951
  102. package/dist/assets/i18n-CvWKDmFM.js +0 -1
  103. package/dist/assets/icons-Di72eW9A.js +0 -1
  104. package/dist/assets/index-CxPpnulu.js +0 -4
  105. package/dist/assets/mount-CsHVNi49.js +0 -1
  106. package/dist/assets/player-overlays-D-63t-DL.js +0 -1
  107. package/dist/assets/remoteEntry-Bz4Zdkwj.js +0 -1
  108. package/dist/assets/src-g2TJby3U.js +0 -230
  109. package/dist/assets/ungroup-BlQtUKBm.js +0 -1
  110. package/dist/assets/useEventInvalidation-CsHVNi49.js +0 -1
  111. package/dist/assets/useTemplateSave-DxkUWI5Q.js +0 -1
  112. package/dist/assets/variable-IcIR23WN.js +0 -1
@@ -803,7 +803,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
803
803
  return EventCategory;
804
804
  }({});
805
805
  //#endregion
806
- //#region ../types/dist/composed-stable-id-DFNyOFzz.mjs
806
+ //#region ../types/dist/composed-stable-id-CPp3votu.mjs
807
807
  /**
808
808
  import { errMsg } from '@camstack/types'
809
809
  * Extract a human-readable message from an unknown error value.
@@ -822,12 +822,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
822
822
  DeviceType["Siren"] = "siren";
823
823
  DeviceType["Switch"] = "switch";
824
824
  DeviceType["Sensor"] = "sensor";
825
- DeviceType["Thermostat"] = "thermostat";
826
- /** Air-conditioner / heat-pump climate device (HVAC) — shares the
827
- * `climate-control` cap surface with `Thermostat` but renders a
828
- * dedicated AC-appropriate control UI (mode chips, fan speed,
829
- * independent vertical/horizontal swing). Sources: native Gree, and
830
- * reusable by other AC integrations. */
825
+ /** Every climate device: an air conditioner, a room thermostat, a radiator
826
+ * valve, a floor-heating zone, a heat-pump circuit. They share one set of
827
+ * controls (`climate-control`), so they are one type; WHICH kind of climate
828
+ * device it is is its {@link DeviceRole} (`climate-*`), which the UI and the
829
+ * exports branch on. The retired `thermostat` type is read as this one
830
+ * (`canonicalStoredDeviceType`). */
831
831
  DeviceType["Climate"] = "climate";
832
832
  DeviceType["Button"] = "button";
833
833
  /** Generic stateless event emitter — carries a device's EXACT declared
@@ -918,10 +918,6 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
918
918
  /** Washing machine. A plug-built one is running while its power stays
919
919
  * above a threshold. No program cap — that surface is the dishwasher's. */
920
920
  DeviceType["Washer"] = "washer";
921
- /** A dumb plug-in stove or heater: a switch (and, with a meter, a power
922
- * reading) that only runs while the plug is on. Built from a smart plug;
923
- * the `timed-run` cap switches it off again after a chosen time. */
924
- DeviceType["Heater"] = "heater";
925
921
  /** Tumble dryer. Same plug-built running surface as {@link Washer}. */
926
922
  DeviceType["Dryer"] = "dryer";
927
923
  /** The physical bridge box of a vendor ecosystem (Velux KLF-200, and later
@@ -1141,6 +1137,27 @@ var DeviceRole = /* @__PURE__ */ function(DeviceRole) {
1141
1137
  /** A smart plug: a `switch` whose source says it is an outlet (HA
1142
1138
  * `device_class: outlet`). The Alexa export shows it as a SMARTPLUG. */
1143
1139
  DeviceRole["Outlet"] = "outlet";
1140
+ /** A dumb plug-in stove or heater behind a switch: it runs only while the
1141
+ * switch is on. Offered `timed-run`, which switches it off again after a
1142
+ * chosen time. */
1143
+ DeviceRole["SwitchHeater"] = "switch-heater";
1144
+ /** A plain fan behind a switch (a smart plug powering it): drawn as a fan,
1145
+ * with the switch's on/off only. Speed or oscillation appear only when the
1146
+ * device also has a fan cap (D1033). */
1147
+ DeviceRole["SwitchFan"] = "switch-fan";
1148
+ /** Air conditioner / split unit: cooling, fan speed, louvres. */
1149
+ DeviceRole["ClimateAc"] = "climate-ac";
1150
+ /** Room thermostat: a setpoint and a room temperature. The default. */
1151
+ DeviceRole["ClimateThermostat"] = "climate-thermostat";
1152
+ /** Floor-heating zone actuator. */
1153
+ DeviceRole["ClimateFloor"] = "climate-floor";
1154
+ /** Radiator valve (thermostatic radiator head). */
1155
+ DeviceRole["ClimateRadiator"] = "climate-radiator";
1156
+ /** A heater with its own thermostat (stove, convector). */
1157
+ DeviceRole["ClimateHeater"] = "climate-heater";
1158
+ /** One heating/cooling circuit of a heat pump: a water loop with comfort /
1159
+ * eco setpoints and a heat/cool mode, no room sensor. */
1160
+ DeviceRole["ClimateHeatPumpCircuit"] = "climate-heat-pump-circuit";
1144
1161
  /** Generic motion / occupancy / moving event source. Distinct from
1145
1162
  * the camera accessory PirSensor role: that one is a camera child;
1146
1163
  * this is a standalone HA / 3rd-party motion sensor. */
@@ -5895,7 +5912,7 @@ var ZodIssueCode = {
5895
5912
  var ZodFirstPartyTypeKind;
5896
5913
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
5897
5914
  //#endregion
5898
- //#region ../types/dist/sleep-D_NpiLFP.mjs
5915
+ //#region ../types/dist/sleep-Bn346wCJ.mjs
5899
5916
  /**
5900
5917
  * The audio chunk plane's byte format, and the ONE expansion from a coded
5901
5918
  * window to float samples (D455).
@@ -10862,6 +10879,50 @@ var ACTUATOR_CAP_VOCABULARY = {
10862
10879
  value: false
10863
10880
  },
10864
10881
  args: { oscillating: false }
10882
+ },
10883
+ {
10884
+ id: "fan.horizontalOscillateOn",
10885
+ method: "setOscillationAxis",
10886
+ label: t("Horizontal oscillation on", "Oscillazione orizzontale attiva"),
10887
+ phrase: t("Start the horizontal oscillation of {device}", "Attiva l’oscillazione orizzontale di {device}"),
10888
+ icon: "move-horizontal",
10889
+ args: {
10890
+ axis: "horizontal",
10891
+ oscillating: true
10892
+ }
10893
+ },
10894
+ {
10895
+ id: "fan.horizontalOscillateOff",
10896
+ method: "setOscillationAxis",
10897
+ label: t("Horizontal oscillation off", "Oscillazione orizzontale spenta"),
10898
+ phrase: t("Stop the horizontal oscillation of {device}", "Ferma l’oscillazione orizzontale di {device}"),
10899
+ icon: "move-horizontal",
10900
+ args: {
10901
+ axis: "horizontal",
10902
+ oscillating: false
10903
+ }
10904
+ },
10905
+ {
10906
+ id: "fan.verticalOscillateOn",
10907
+ method: "setOscillationAxis",
10908
+ label: t("Vertical oscillation on", "Oscillazione verticale attiva"),
10909
+ phrase: t("Start the vertical oscillation of {device}", "Attiva l’oscillazione verticale di {device}"),
10910
+ icon: "move-vertical",
10911
+ args: {
10912
+ axis: "vertical",
10913
+ oscillating: true
10914
+ }
10915
+ },
10916
+ {
10917
+ id: "fan.verticalOscillateOff",
10918
+ method: "setOscillationAxis",
10919
+ label: t("Vertical oscillation off", "Oscillazione verticale spenta"),
10920
+ phrase: t("Stop the vertical oscillation of {device}", "Ferma l’oscillazione verticale di {device}"),
10921
+ icon: "move-vertical",
10922
+ args: {
10923
+ axis: "vertical",
10924
+ oscillating: false
10925
+ }
10865
10926
  }
10866
10927
  ],
10867
10928
  state: [{
@@ -16498,7 +16559,7 @@ Object.freeze({
16498
16559
  }
16499
16560
  });
16500
16561
  //#endregion
16501
- //#region ../types/dist/implemented-methods-M5aguGon.mjs
16562
+ //#region ../types/dist/implemented-methods-5YMDeE3f.mjs
16502
16563
  /**
16503
16564
  * The ffmpeg build every CamStack node downloads, per platform and arch.
16504
16565
  *
@@ -44310,7 +44371,7 @@ object({
44310
44371
  * is irrelevant; the array is treated as a set by consumers. */
44311
44372
  hiddenChildIds: array(number$1()).readonly()
44312
44373
  });
44313
- DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Sensor, DeviceType.Thermostat, DeviceType.Cover, DeviceType.Lock, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Generic, method(object({
44374
+ DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Sensor, DeviceType.Climate, DeviceType.Cover, DeviceType.Lock, DeviceType.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Generic, method(object({
44314
44375
  deviceId: number$1().int().nonnegative(),
44315
44376
  childDeviceId: number$1().int().nonnegative(),
44316
44377
  hidden: boolean()
@@ -46402,7 +46463,7 @@ var BatteryStatusSchema = object({
46402
46463
  */
46403
46464
  binary: boolean().optional().meta({ label: "Binary indicator" })
46404
46465
  });
46405
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.EventEmitter;
46466
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter;
46406
46467
  method(object({
46407
46468
  deviceId: number$1(),
46408
46469
  /** Bound on the wait. Sensible range 3000–10000ms. */
@@ -47825,7 +47886,7 @@ var ClimateControlStatusSchema = object({
47825
47886
  /** Ms epoch when the slice was last updated (push or command). */
47826
47887
  lastFetchedAt: number$1()
47827
47888
  });
47828
- DeviceType.Thermostat, DeviceType.Climate, method(object({
47889
+ DeviceType.Climate, method(object({
47829
47890
  deviceId: number$1().int().nonnegative(),
47830
47891
  mode: HvacModeSchema
47831
47892
  }), _void(), {
@@ -48116,6 +48177,7 @@ var CompositionProblemSchema = object({
48116
48177
  "nested-field",
48117
48178
  "missing-field",
48118
48179
  "kind-mismatch",
48180
+ "source-kind-mismatch",
48119
48181
  "may-be-null",
48120
48182
  "source-missing",
48121
48183
  "source-unreadable",
@@ -48137,7 +48199,8 @@ var CompositionProblemSchema = object({
48137
48199
  "command-method-unknown",
48138
48200
  "command-source-unknown",
48139
48201
  "command-input-unknown",
48140
- "command-input-missing"
48202
+ "command-input-missing",
48203
+ "power-source-is-actuator"
48141
48204
  ]),
48142
48205
  path: string(),
48143
48206
  message: string()
@@ -48948,7 +49011,7 @@ DeviceType.MediaPlayer, optionalMethod(deviceOnly, _void(), {
48948
49011
  kind: "mutation",
48949
49012
  auth: "protected"
48950
49013
  });
48951
- DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Thermostat, DeviceType.EventEmitter, DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, 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.Heater, DeviceType.Dryer, DeviceType.Gateway, DeviceType.HeatPump, DeviceType.Camera, DeviceType.Fan, DeviceType.Lock, DeviceType.Camera, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.MediaPlayer, DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.PetFeeder, DeviceType.Heater, 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.Thermostat, DeviceType.PetFeeder, DeviceType.Heater, DeviceType.MediaPlayer;
49014
+ DeviceType.Camera, DeviceType.Sensor, DeviceType.Button, DeviceType.Switch, DeviceType.PetFeeder, DeviceType.Container, DeviceType.Climate, DeviceType.EventEmitter, DeviceType.Camera, DeviceType.Hub, 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.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;
48952
49015
  var NUMBER = {
48953
49016
  kind: "fixed",
48954
49017
  result: ["number"]
@@ -49031,7 +49094,7 @@ function numeric(input) {
49031
49094
  }, ...alsoFrom === void 0 ? [] : [alsoFrom.accept]]
49032
49095
  };
49033
49096
  }
49034
- var CLIMATE_DEVICES = [DeviceType.Thermostat, DeviceType.Climate];
49097
+ var CLIMATE_DEVICES = [DeviceType.Climate];
49035
49098
  function binary(input) {
49036
49099
  return {
49037
49100
  ...input,
@@ -49353,8 +49416,8 @@ var GROUP_TEMPLATES = [
49353
49416
  actuator({
49354
49417
  id: "climate",
49355
49418
  summary: "Running when at least one thermostat or air conditioner is not off, or only when all of them are. Target temperature and fan are offered only when every device has them. A device that reports nothing is left out, never read as off.",
49356
- deviceType: DeviceType.Thermostat,
49357
- memberDeviceTypes: [DeviceType.Thermostat, DeviceType.Climate],
49419
+ deviceType: DeviceType.Climate,
49420
+ memberDeviceTypes: [DeviceType.Climate],
49358
49421
  outputCap: "group-active",
49359
49422
  outputField: "active",
49360
49423
  member: {
@@ -49397,6 +49460,50 @@ function actuator(input) {
49397
49460
  new Map(GROUP_TEMPLATES.map((template) => [template.id, template]));
49398
49461
  DeviceFeature.LightColorRgb, DeviceFeature.LightColorHsv, DeviceFeature.LightColorMired;
49399
49462
  DeviceType.Camera;
49463
+ var PowerSourceRefusalReasonSchema = _enum([
49464
+ "no-power-source",
49465
+ "switch-missing",
49466
+ "switch-offline",
49467
+ "switch-unknown",
49468
+ "restart-in-progress",
49469
+ "switch-call-failed",
49470
+ "switch-is-actuator"
49471
+ ]);
49472
+ var PowerSourceActionResultSchema = discriminatedUnion("accepted", [object({ accepted: literal(true) }), object({
49473
+ accepted: literal(false),
49474
+ reason: PowerSourceRefusalReasonSchema,
49475
+ /** One line for the operator, naming the switch. */
49476
+ message: string()
49477
+ })]);
49478
+ var PowerSourceInfoSchema = object({
49479
+ /** False when the device has no power source linked; the rest is then empty. */
49480
+ linked: boolean(),
49481
+ switchDeviceId: number$1().nullable(),
49482
+ switchName: string().nullable(),
49483
+ /** The switch's on/off state, or null when it is unknown. Never false for unknown (D393). */
49484
+ switchOn: boolean().nullable(),
49485
+ switchOnline: boolean().nullable(),
49486
+ restartInProgress: boolean(),
49487
+ offSeconds: number$1().int()
49488
+ });
49489
+ object({
49490
+ /** Null while the switch has not reported: unknown is never `false` (D393). */
49491
+ switchOn: boolean().nullable(),
49492
+ offSeconds: number$1().int(),
49493
+ lastFetchedAt: number$1()
49494
+ });
49495
+ 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;
49496
+ var deviceInput$2 = object({ deviceId: number$1().int().nonnegative() });
49497
+ systemMethod(deviceInput$2, PowerSourceInfoSchema, { auth: "protected" }), systemMethod(deviceInput$2, PowerSourceActionResultSchema, {
49498
+ kind: "mutation",
49499
+ auth: "protected"
49500
+ }), systemMethod(deviceInput$2, PowerSourceActionResultSchema, {
49501
+ kind: "mutation",
49502
+ auth: "protected"
49503
+ }), systemMethod(deviceInput$2, PowerSourceActionResultSchema, {
49504
+ kind: "mutation",
49505
+ auth: "protected"
49506
+ });
49400
49507
  `${COMPOSED_DEVICE_STABLE_ID_PREFIX}`;
49401
49508
  /**
49402
49509
  * What a composition may BUILD on a device type (G2, D676): the caps a new
@@ -51742,8 +51849,14 @@ method(object({
51742
51849
  "string",
51743
51850
  "number",
51744
51851
  "boolean",
51745
- "enum"
51852
+ "enum",
51853
+ "union"
51746
51854
  ]),
51855
+ unionMembers: array(_enum([
51856
+ "string",
51857
+ "number",
51858
+ "boolean"
51859
+ ])).optional(),
51747
51860
  enumValues: array(string()).optional(),
51748
51861
  item: boolean().optional(),
51749
51862
  quantity: ReadingQuantitySchema.optional()
@@ -54121,8 +54234,85 @@ method(_void(), array(FailureContributionSchema).readonly());
54121
54234
  * - `FanPreset` — preset selector
54122
54235
  * - `FanDirection` — direction toggle (ceiling fans)
54123
54236
  * - `FanOscillating` — oscillation toggle
54237
+ *
54238
+ * Per-axis oscillation (`oscillationAxes`, `setOscillationAxis`, D1034): an air
54239
+ * circulator sweeps horizontally and vertically, each axis with its own
54240
+ * switch, fixed angle, sweep bounds and limits. A provider may report them
54241
+ * natively; otherwise the OPERATOR links sibling devices to each field in
54242
+ * Customize (a `replace` over the fields listed in `overridable` — nothing is
54243
+ * linked or inferred by itself), and a write to a linked field is forwarded to
54244
+ * its source. `oscillating` stays the single summary flag: when axes exist it
54245
+ * means "any axis oscillates" (`anyAxisOscillating`).
54124
54246
  */
54125
54247
  var FanDirectionSchema = _enum(["forward", "reverse"]);
54248
+ var FAN_OSCILLATION_AXES = ["horizontal", "vertical"];
54249
+ var FanOscillationAxisNameSchema = _enum(FAN_OSCILLATION_AXES);
54250
+ var FanOscillationAxisFieldSchema = _enum([
54251
+ "oscillating",
54252
+ "angle",
54253
+ "sweepFrom",
54254
+ "sweepTo"
54255
+ ]);
54256
+ /** The limits of one axis, read from the source that serves its angle. */
54257
+ var FAN_OSCILLATION_AXIS_LIMITS = [
54258
+ "min",
54259
+ "max",
54260
+ "step"
54261
+ ];
54262
+ /**
54263
+ * One oscillation axis. Every reading the device has not reported is `null`,
54264
+ * never `0` (D393): `0°` is a real position. Each leaf defaults to `null`, so
54265
+ * a slice that names only the leaves it knows (a Customize link of one field)
54266
+ * is still a whole axis.
54267
+ */
54268
+ var FanOscillationAxisSchema = object({
54269
+ /** Whether the axis sweeps. */
54270
+ oscillating: boolean().nullable().default(null),
54271
+ /** The fixed position (degrees) the axis holds when it does not sweep. */
54272
+ angle: number$1().nullable().default(null),
54273
+ /** The sweep bounds (degrees): left → right, bottom → top. */
54274
+ sweepFrom: number$1().nullable().default(null),
54275
+ sweepTo: number$1().nullable().default(null),
54276
+ /** The angles the axis accepts. Null when the device states none. */
54277
+ min: number$1().nullable().default(null),
54278
+ max: number$1().nullable().default(null),
54279
+ step: number$1().nullable().default(null)
54280
+ });
54281
+ /** Both axes; an axis the device does not have is `null`. */
54282
+ var FanOscillationAxesSchema = object({
54283
+ horizontal: FanOscillationAxisSchema.nullable().default(null),
54284
+ vertical: FanOscillationAxisSchema.nullable().default(null)
54285
+ });
54286
+ var FanOscillationAxisRefusalSchema = _enum([
54287
+ "nothing-to-set",
54288
+ "axis-not-linked",
54289
+ "out-of-range",
54290
+ "source-gone",
54291
+ "source-unknown",
54292
+ "source-call-failed"
54293
+ ]);
54294
+ var FanOscillationAxisResultSchema = discriminatedUnion("status", [object({ status: literal("applied") }), object({
54295
+ status: literal("refused"),
54296
+ reason: FanOscillationAxisRefusalSchema,
54297
+ /** The field at fault, when one is. */
54298
+ field: FanOscillationAxisFieldSchema.optional(),
54299
+ /** One line for the operator, naming the axis, the field and the source. */
54300
+ detail: string(),
54301
+ /** Fields that DID land before the refusal (writes run in order, stop at the first failure). */
54302
+ applied: array(FanOscillationAxisFieldSchema)
54303
+ })]);
54304
+ var SetOscillationAxisInputSchema = object({
54305
+ deviceId: number$1().int().nonnegative(),
54306
+ axis: FanOscillationAxisNameSchema,
54307
+ oscillating: boolean().optional(),
54308
+ angle: number$1().optional(),
54309
+ sweepFrom: number$1().optional(),
54310
+ sweepTo: number$1().optional()
54311
+ });
54312
+ /** The state path of one axis field: `oscillationAxes.<axis>.<field>`. */
54313
+ function fanAxisPath(axis, field) {
54314
+ return `oscillationAxes.${axis}.${field}`;
54315
+ }
54126
54316
  var FanControlStatusSchema = object({
54127
54317
  /** Active speed as 0..100 inclusive. Null when the device has no
54128
54318
  * speed surface (single-speed fan). */
@@ -54141,9 +54331,91 @@ var FanControlStatusSchema = object({
54141
54331
  /** Oscillation toggle. Null when the device has no oscillation
54142
54332
  * surface. */
54143
54333
  oscillating: boolean().nullable(),
54334
+ /**
54335
+ * Per-axis oscillation (air circulators). Absent when the device has no
54336
+ * per-axis surface and nothing is linked in Customize.
54337
+ */
54338
+ oscillationAxes: FanOscillationAxesSchema.optional(),
54144
54339
  /** Ms epoch when the slice was last updated. */
54145
54340
  lastChangedAt: number$1()
54146
54341
  });
54342
+ var FAN_CUSTOMIZE_DEVICE_TYPES = [DeviceType.Fan];
54343
+ /** The Customize section the axis targets are listed under. */
54344
+ var AXES_SECTION = "oscillation-axes";
54345
+ function axisOscillatingTarget(axis) {
54346
+ return {
54347
+ id: `${axis}-oscillating`,
54348
+ cardinality: "scalar",
54349
+ vocabulary: {
54350
+ cap: "fan-control",
54351
+ stateField: "oscillating"
54352
+ },
54353
+ deviceTypes: FAN_CUSTOMIZE_DEVICE_TYPES,
54354
+ apply: "replace",
54355
+ section: AXES_SECTION,
54356
+ path: fanAxisPath(axis, "oscillating"),
54357
+ sources: [{
54358
+ kind: "switch",
54359
+ transforms: [{ kind: "identity" }]
54360
+ }],
54361
+ sourceReport: { status: "assignment-status" }
54362
+ };
54363
+ }
54364
+ /**
54365
+ * A numeric axis field. The `angle` link also carries the axis limits, read
54366
+ * from the SAME linked control's own range (`min`/`max`/`step`), so the limits
54367
+ * are the source's, never guessed.
54368
+ */
54369
+ function axisNumericTarget(axis, field) {
54370
+ const base = {
54371
+ id: `${axis}-${field}`,
54372
+ cardinality: "scalar",
54373
+ vocabulary: { cap: "fan-control" },
54374
+ deviceTypes: FAN_CUSTOMIZE_DEVICE_TYPES,
54375
+ apply: "replace",
54376
+ section: AXES_SECTION,
54377
+ path: fanAxisPath(axis, field),
54378
+ sources: [{
54379
+ kind: "numeric",
54380
+ transforms: [{ kind: "identity" }]
54381
+ }],
54382
+ sourceReport: { status: "assignment-status" }
54383
+ };
54384
+ if (field !== "angle") return base;
54385
+ return {
54386
+ ...base,
54387
+ companions: FAN_OSCILLATION_AXIS_LIMITS.map((limit) => ({
54388
+ kind: "source-field",
54389
+ path: fanAxisPath(axis, limit),
54390
+ field: limit
54391
+ }))
54392
+ };
54393
+ }
54394
+ var AXIS_TARGETS = FAN_OSCILLATION_AXES.flatMap((axis) => [
54395
+ axisOscillatingTarget(axis),
54396
+ axisNumericTarget(axis, "angle"),
54397
+ axisNumericTarget(axis, "sweepFrom"),
54398
+ axisNumericTarget(axis, "sweepTo")
54399
+ ]);
54400
+ /** A select (an enum control) the operator links to the fan's `preset`. */
54401
+ var PRESET_TARGET = {
54402
+ id: "preset",
54403
+ cardinality: "scalar",
54404
+ vocabulary: { cap: "fan-control" },
54405
+ deviceTypes: FAN_CUSTOMIZE_DEVICE_TYPES,
54406
+ apply: "replace",
54407
+ path: "preset",
54408
+ sources: [{
54409
+ kind: "field",
54410
+ valueKinds: ["string"],
54411
+ transforms: [{ kind: "identity" }]
54412
+ }],
54413
+ sourceReport: { status: "assignment-status" }
54414
+ };
54415
+ [...AXIS_TARGETS, PRESET_TARGET].map((target) => ({
54416
+ path: target.path,
54417
+ by: target.id
54418
+ }));
54147
54419
  DeviceType.Fan, optionalMethod(object({
54148
54420
  deviceId: number$1().int().nonnegative(),
54149
54421
  speed: number$1().min(0).max(100)
@@ -54168,17 +54440,37 @@ DeviceType.Fan, optionalMethod(object({
54168
54440
  }), _void(), {
54169
54441
  kind: "mutation",
54170
54442
  auth: "protected"
54443
+ }), optionalMethod(SetOscillationAxisInputSchema, FanOscillationAxisResultSchema, {
54444
+ kind: "mutation",
54445
+ auth: "protected"
54446
+ });
54447
+ /** One axis as a preset wants it; an absent field is left as it is. */
54448
+ var FanPresetAxisSchema = object({
54449
+ oscillating: boolean().optional(),
54450
+ angle: number$1().optional(),
54451
+ sweepFrom: number$1().optional(),
54452
+ sweepTo: number$1().optional()
54453
+ });
54454
+ /** The fan-control state a preset sets; an absent field is left as it is. */
54455
+ var FanPresetStateSchema = object({
54456
+ speed: number$1().min(0).max(100).optional(),
54457
+ /** The fan's own preset mode (or the linked select's option). */
54458
+ preset: string().min(1).optional(),
54459
+ direction: FanDirectionSchema.optional(),
54460
+ oscillationAxes: object({
54461
+ horizontal: FanPresetAxisSchema.optional(),
54462
+ vertical: FanPresetAxisSchema.optional()
54463
+ }).optional()
54171
54464
  });
54172
54465
  var FanPresetSchema = object({
54173
54466
  /** Stable key; never reused after a delete within one device's list. */
54174
54467
  id: string().min(1).max(64),
54175
54468
  /** What the operator and a voice assistant call it. */
54176
54469
  name: string().trim().min(1).max(40),
54177
- steps: array(ActionStepSchema).min(1).max(20)
54470
+ state: FanPresetStateSchema
54178
54471
  });
54179
54472
  var FanPresetsRefusalSchema = _enum([
54180
- "not-sibling",
54181
- "bad-target",
54473
+ "empty-state",
54182
54474
  "duplicate-name",
54183
54475
  "duplicate-id",
54184
54476
  "too-many",
@@ -54190,72 +54482,55 @@ var FanPresetsSetResultSchema = discriminatedUnion("status", [object({
54190
54482
  }), object({
54191
54483
  status: literal("refused"),
54192
54484
  reason: FanPresetsRefusalSchema,
54193
- /** Names the preset and step at fault. */
54485
+ /** Names the preset at fault. */
54194
54486
  detail: string()
54195
54487
  })]);
54196
- var FanPresetStepResultSchema = object({
54197
- index: number$1().int().nonnegative(),
54488
+ var FanPresetFieldResultSchema = object({
54489
+ /** The state path: `speed`, `preset`, `direction`, `oscillationAxes.horizontal.angle`. */
54490
+ field: string(),
54198
54491
  outcome: _enum([
54199
54492
  "applied",
54200
54493
  "failed",
54201
54494
  "not-run",
54202
54495
  "refused"
54203
54496
  ]),
54204
- deviceId: number$1().int().nonnegative().optional(),
54205
- cap: string().optional(),
54206
- method: string().optional(),
54207
54497
  /** The cause, for every outcome but `applied`. */
54208
54498
  message: string().optional()
54209
54499
  });
54210
54500
  var FanPresetApplyResultSchema = object({
54211
- /** `applied`: every step ran. `partial`: some ran, one failed. `refused`: nothing ran. */
54501
+ /** `applied`: every field landed. `partial`: some did, one did not. `refused`: nothing ran. */
54212
54502
  status: _enum([
54213
54503
  "applied",
54214
54504
  "partial",
54215
54505
  "refused"
54216
54506
  ]),
54217
- steps: array(FanPresetStepResultSchema)
54507
+ fields: array(FanPresetFieldResultSchema)
54218
54508
  });
54219
54509
  var FanCaptureFieldSchema = _enum([
54220
54510
  "speed",
54221
- "oscillating",
54222
54511
  "direction",
54223
- "preset"
54512
+ "preset",
54513
+ "oscillationAxes"
54224
54514
  ]);
54225
- var FanCaptureOmissionSchema = object({
54226
- /** A fan field (`speed`) or `step <n>` for a sibling step. */
54227
- what: string(),
54228
- /** Why no value was taken: unknown reading (never stored as 0, D393), or a step that cannot be read. */
54229
- reason: string()
54230
- });
54231
- var FanCaptureItemSchema = object({
54232
- group: _enum([
54233
- "fan",
54234
- "oscillation",
54235
- "angles"
54236
- ]),
54237
- /** What the step sets, in the operator's words (a device name, a fan field). */
54238
- label: string()
54239
- });
54240
54515
  var FanPresetCaptureResultSchema = object({
54241
- /** The steps filled from the device's current values; NOT saved. */
54242
- steps: array(ActionStepSchema),
54243
- /** One entry per step, same order: its review group and label. */
54244
- items: array(FanCaptureItemSchema),
54245
- omitted: array(FanCaptureOmissionSchema)
54516
+ /** The fan's CURRENT fan-control state, as a preset; NOT saved. */
54517
+ state: FanPresetStateSchema,
54518
+ omitted: array(object({
54519
+ /** A state path (`speed`, `oscillationAxes.vertical.angle`). */
54520
+ what: string(),
54521
+ /** Why no value was taken: an unknown reading is never stored as 0 (D393). */
54522
+ reason: string()
54523
+ }))
54246
54524
  });
54247
- var deviceInput$2 = object({ deviceId: number$1().int().nonnegative() });
54525
+ var deviceInput$1 = object({ deviceId: number$1().int().nonnegative() });
54248
54526
  DeviceType.Fan;
54249
- method(deviceInput$2, array(FanPresetSchema), { auth: "protected" }), method(deviceInput$2.extend({ presets: array(FanPresetSchema).max(12) }), FanPresetsSetResultSchema, {
54527
+ method(deviceInput$1, array(FanPresetSchema), { auth: "protected" }), method(deviceInput$1.extend({ presets: array(FanPresetSchema).max(12) }), FanPresetsSetResultSchema, {
54250
54528
  kind: "mutation",
54251
54529
  auth: "admin"
54252
- }), method(deviceInput$2.extend({ presetId: string().min(1) }), FanPresetApplyResultSchema, {
54530
+ }), method(deviceInput$1.extend({ presetId: string().min(1) }), FanPresetApplyResultSchema, {
54253
54531
  kind: "mutation",
54254
54532
  auth: "protected"
54255
- }), method(deviceInput$2.extend({
54256
- fields: array(FanCaptureFieldSchema).optional(),
54257
- steps: array(ActionStepSchema).max(20).default([])
54258
- }), FanPresetCaptureResultSchema, { auth: "protected" });
54533
+ }), method(deviceInput$1.extend({ fields: array(FanCaptureFieldSchema).optional() }), FanPresetCaptureResultSchema, { auth: "protected" });
54259
54534
  /**
54260
54535
  * Per-device feature/identity probe slice. Holds the runtime-resolved
54261
54536
  * truth about what a device CAN do — which the kernel uses to:
@@ -54379,7 +54654,7 @@ var GroupActiveSchema = object({
54379
54654
  /** Ms epoch when the slice was last updated. */
54380
54655
  lastChangedAt: number$1()
54381
54656
  });
54382
- DeviceType.Cover, DeviceType.Valve, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.Climate, DeviceType.Thermostat;
54657
+ DeviceType.Cover, DeviceType.Valve, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.Climate;
54383
54658
  var GroupCommandsSchema = object({
54384
54659
  /** One row per member that has been commanded. A later command replaces that member's row. */
54385
54660
  results: array(object({
@@ -54391,7 +54666,7 @@ results: array(object({
54391
54666
  /** Ms epoch of the attempt. */
54392
54667
  at: number$1()
54393
54668
  })) });
54394
- DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Cover, DeviceType.Valve, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.Thermostat, DeviceType.Climate;
54669
+ DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Cover, DeviceType.Valve, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.Climate;
54395
54670
  /**
54396
54671
  * How many members of a helper group answered (D944). Counts are integers,
54397
54672
  * not measurements: zero included is a real count, never a stand-in reading.
@@ -54415,7 +54690,7 @@ var GroupStatusSchema = object({
54415
54690
  label: "Members"
54416
54691
  }))
54417
54692
  });
54418
- DeviceType.Sensor, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Cover, DeviceType.Valve, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.Thermostat, DeviceType.Climate;
54693
+ DeviceType.Sensor, DeviceType.Switch, DeviceType.Light, DeviceType.Fan, DeviceType.Cover, DeviceType.Valve, DeviceType.Lock, DeviceType.MediaPlayer, DeviceType.Climate;
54419
54694
  /**
54420
54695
  * Heat pump settable surface (D1026): one typed method per parameter, never a
54421
54696
  * generic `set(key, value)`. The values a mode takes and the limits of a number
@@ -54623,7 +54898,7 @@ var HeatingValveStatusSchema = object({
54623
54898
  /** Ms epoch when the slice was last updated (push or poll). */
54624
54899
  lastFetchedAt: number$1()
54625
54900
  });
54626
- DeviceType.Thermostat;
54901
+ DeviceType.Climate;
54627
54902
  /**
54628
54903
  * timed-run - run a device for a chosen time, then stop it (D993).
54629
54904
  *
@@ -54639,13 +54914,13 @@ DeviceType.Thermostat;
54639
54914
  * retried in a loop - D49); a future one is re-armed.
54640
54915
  *
54641
54916
  * What a device may be run for, and for how long at most, is per device type
54642
- * ({@link TIMED_RUN_LIMITS}): the maximum is a safety bound, not a preference,
54917
+ * and role ({@link timedRunLimitOf}): the maximum is a safety bound, not a preference,
54643
54918
  * so a request above it is REFUSED with a typed reason, never clamped.
54644
54919
  */
54645
54920
  var TimedRunUnitSchema = _enum(["s", "min"]);
54646
54921
  _enum(["switch", "pet-fountain"]);
54647
- DeviceType.Heater, DeviceType.PetFountain;
54648
- DeviceType.Heater, DeviceType.PetFountain;
54922
+ DeviceType.Switch, DeviceType.PetFountain;
54923
+ DeviceType.Switch, DeviceRole.SwitchHeater;
54649
54924
  /** One duration, as the one-tap run asks for it. */
54650
54925
  var TimedRunQuickRunSchema = object({
54651
54926
  duration: number$1().positive().finite(),
@@ -54817,8 +55092,8 @@ var HeroSceneSchema = object({
54817
55092
  /** 0..1: volume, cover position, cycle progress. */
54818
55093
  level: number$1().min(0).max(1).nullable()
54819
55094
  });
54820
- DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, 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.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.Heater, DeviceType.Dryer, DeviceType.Gateway;
54821
- 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.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;
55095
+ DeviceType.Camera, DeviceType.Hub, 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.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;
55096
+ 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.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;
54822
55097
  /** A string in both languages, as the cap vocabulary writes it (D920): no `t()` in the model. */
54823
55098
  var HeroTextSchema = object({
54824
55099
  en: string(),
@@ -55203,8 +55478,8 @@ var HeroRowModelSchema = object({
55203
55478
  extras: array(HeroControlSchema).max(2).optional(),
55204
55479
  trailing: HeroFactSchema.nullable()
55205
55480
  });
55206
- DeviceType.Climate, DeviceType.Thermostat;
55207
- DeviceType.Climate, DeviceType.Thermostat, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer;
55481
+ DeviceType.Climate;
55482
+ DeviceType.Climate, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer;
55208
55483
  /**
55209
55484
  * hero-layout — what a device's hero says (D1023). Read-only: the FIXED
55210
55485
  * layouts live in `@camstack/types` and nothing here stores or edits one.
@@ -55236,7 +55511,10 @@ method(heroInput, HeroModelSchema.nullable(), {
55236
55511
  }), method(rowModelsInput, array(HeroRowModelSchema.nullable()), {
55237
55512
  auth: "protected",
55238
55513
  role: "viewer"
55239
- }), method(object({ deviceType: string() }), HeroLayoutRowsSchema, {
55514
+ }), method(object({
55515
+ deviceType: string(),
55516
+ role: string().nullable().optional()
55517
+ }), HeroLayoutRowsSchema, {
55240
55518
  auth: "protected",
55241
55519
  role: "viewer"
55242
55520
  });
@@ -55313,7 +55591,7 @@ var HumiditySensorStatusSchema = object({
55313
55591
  /** Ms epoch when the slice was last updated. */
55314
55592
  lastFetchedAt: number$1()
55315
55593
  });
55316
- DeviceType.Sensor, DeviceType.Thermostat;
55594
+ DeviceType.Sensor, DeviceType.Climate;
55317
55595
  /**
55318
55596
  * Image display cap. Models a single still image exposed by an integration —
55319
55597
  * a snapshot, a chart, a generated picture, or a robot's cleaning-map render.
@@ -69555,7 +69833,6 @@ object({
69555
69833
  DeviceType.Light,
69556
69834
  DeviceType.Fan,
69557
69835
  DeviceType.Climate,
69558
- DeviceType.Thermostat,
69559
69836
  DeviceType.Humidifier,
69560
69837
  DeviceType.WaterHeater,
69561
69838
  DeviceType.MediaPlayer,
@@ -69564,52 +69841,8 @@ object({
69564
69841
  DeviceType.Dishwasher,
69565
69842
  DeviceType.Vacuum,
69566
69843
  DeviceType.LawnMower,
69567
- DeviceType.PetFeeder,
69568
- DeviceType.Heater
69844
+ DeviceType.PetFeeder
69569
69845
  ].filter((type) => type !== DeviceType.Sensor);
69570
- var PowerSourceRefusalReasonSchema = _enum([
69571
- "no-power-source",
69572
- "switch-missing",
69573
- "switch-offline",
69574
- "switch-unknown",
69575
- "restart-in-progress",
69576
- "switch-call-failed"
69577
- ]);
69578
- var PowerSourceActionResultSchema = discriminatedUnion("accepted", [object({ accepted: literal(true) }), object({
69579
- accepted: literal(false),
69580
- reason: PowerSourceRefusalReasonSchema,
69581
- /** One line for the operator, naming the switch. */
69582
- message: string()
69583
- })]);
69584
- var PowerSourceInfoSchema = object({
69585
- /** False when the device has no power source linked; the rest is then empty. */
69586
- linked: boolean(),
69587
- switchDeviceId: number$1().nullable(),
69588
- switchName: string().nullable(),
69589
- /** The switch's on/off state, or null when it is unknown. Never false for unknown (D393). */
69590
- switchOn: boolean().nullable(),
69591
- switchOnline: boolean().nullable(),
69592
- restartInProgress: boolean(),
69593
- offSeconds: number$1().int()
69594
- });
69595
- object({
69596
- /** Null while the switch has not reported: unknown is never `false` (D393). */
69597
- switchOn: boolean().nullable(),
69598
- offSeconds: number$1().int(),
69599
- lastFetchedAt: number$1()
69600
- });
69601
- 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;
69602
- var deviceInput$1 = object({ deviceId: number$1().int().nonnegative() });
69603
- systemMethod(deviceInput$1, PowerSourceInfoSchema, { auth: "protected" }), systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
69604
- kind: "mutation",
69605
- auth: "protected"
69606
- }), systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
69607
- kind: "mutation",
69608
- auth: "protected"
69609
- }), systemMethod(deviceInput$1, PowerSourceActionResultSchema, {
69610
- kind: "mutation",
69611
- auth: "protected"
69612
- });
69613
69846
  /**
69614
69847
  * Presence cap. Models HA `person.*` and `device_tracker.*` entities
69615
69848
  * on `DeviceType.Presence`. Read-only — no setters: presence is
@@ -72737,7 +72970,7 @@ object({
72737
72970
  phase: string().nullable()
72738
72971
  });
72739
72972
  Object.values(DeviceType);
72740
- DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.Thermostat, DeviceType.PetFeeder, DeviceType.Heater;
72973
+ DeviceType.Washer, DeviceType.Dryer, DeviceType.Dishwasher, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.MediaPlayer, DeviceType.WaterHeater, DeviceType.Humidifier, DeviceType.Fan, DeviceType.Climate, DeviceType.PetFeeder;
72741
72974
  /**
72742
72975
  * scene-monitor — device-scoped reference-region state cap. An operator marks
72743
72976
  * a rect ROI on a camera frame and names one or more states; the engine
@@ -74431,7 +74664,7 @@ object({
74431
74664
  /** Ms epoch of the last state change. Useful for UI "X minutes ago". */
74432
74665
  lastChangedAt: number$1()
74433
74666
  });
74434
- DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Heater, method(object({
74667
+ DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, method(object({
74435
74668
  deviceId: number$1(),
74436
74669
  on: boolean()
74437
74670
  }), _void(), {
@@ -75056,7 +75289,7 @@ var TemperatureSensorStatusSchema = object({
75056
75289
  /** Ms epoch when the slice was last updated (push or poll). */
75057
75290
  lastFetchedAt: number$1()
75058
75291
  });
75059
- DeviceType.Sensor, DeviceType.Thermostat;
75292
+ DeviceType.Sensor, DeviceType.Climate;
75060
75293
  var TemplateKindSchema = _enum(["remote"]);
75061
75294
  /**
75062
75295
  * template — the generic store of reusable, named operator data (D963). A
@@ -77613,7 +77846,9 @@ var AccessoryKind = {
77613
77846
  };
77614
77847
  AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
77615
77848
  DeviceType.HeatPump;
77616
- DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.Camera, DeviceType.Hub, DeviceType.Switch, DeviceType.Siren, DeviceType.Light, DeviceType.Fan, DeviceType.Sensor, DeviceType.Thermostat, 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.Heater, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
77849
+ DeviceType.Climate;
77850
+ DeviceRole.ClimateThermostat, DeviceRole.ClimateAc, DeviceRole.ClimateRadiator, DeviceRole.ClimateFloor, DeviceRole.ClimateHeater, DeviceRole.ClimateHeatPumpCircuit;
77851
+ DeviceType.Cover, DeviceType.Valve, DeviceType.Humidifier, DeviceType.WaterHeater, DeviceType.HeatPump, DeviceType.Camera, DeviceType.Hub, 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;
77617
77852
  new Set(Object.values(DeviceType));
77618
77853
  /** Parses the raw slice with the cap's own schema; `undefined` when it does not parse. */
77619
77854
  function contribution(cap, schema, build) {
@@ -79619,7 +79854,7 @@ var HEAT_PUMP_FAMILY_CONTRIBUTIONS = { "heat-pump-status": contribution("heat-pu
79619
79854
  ...Object.values(CLIMATE_FAMILY_CONTRIBUTIONS),
79620
79855
  ...Object.values(HEAT_PUMP_FAMILY_CONTRIBUTIONS)
79621
79856
  ];
79622
- DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, 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.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.Heater, DeviceType.Dryer, DeviceType.Gateway;
79857
+ DeviceType.Camera, DeviceType.Hub, 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.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;
79623
79858
  /**
79624
79859
  * Who looks like what (D1023). One look per {@link DeviceType}, refined by a
79625
79860
  * {@link DeviceRole} where the role changes how the device reads (a leak
@@ -80263,9 +80498,9 @@ lookOf({
80263
80498
  idle: INFO,
80264
80499
  standby: MUTED
80265
80500
  });
80266
- DeviceType.Climate, DeviceType.Thermostat;
80267
- DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, 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.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.Heater, DeviceType.Dryer, DeviceType.Gateway;
80268
- 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.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;
80501
+ DeviceType.Climate;
80502
+ DeviceType.Camera, DeviceType.Hub, 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.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;
80503
+ 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.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;
80269
80504
  Object.freeze({
80270
80505
  "accessories.getStatus": {
80271
80506
  capName: "accessories",
@@ -83662,6 +83897,13 @@ Object.freeze({
83662
83897
  access: "create",
83663
83898
  role: "viewer"
83664
83899
  },
83900
+ "fanControl.setOscillationAxis": {
83901
+ capName: "fan-control",
83902
+ capScope: "device",
83903
+ addonId: null,
83904
+ access: "create",
83905
+ role: "viewer"
83906
+ },
83665
83907
  "fanControl.setPercentage": {
83666
83908
  capName: "fan-control",
83667
83909
  capScope: "device",
@@ -90683,7 +90925,7 @@ function projectAction(cap, action) {
90683
90925
  };
90684
90926
  }
90685
90927
  Object.entries(CAP_VOCABULARY_BY_NAME).flatMap(([cap, entry]) => entry.scope === "device" ? (entry.actions ?? []).map((a) => projectAction(cap, a)) : []);
90686
- DeviceType.Camera, DeviceType.Hub, DeviceType.Light, DeviceType.Siren, DeviceType.Switch, DeviceType.Sensor, DeviceType.Thermostat, 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.Fan, DeviceType.MediaPlayer, DeviceType.AlarmPanel, DeviceType.Control, DeviceType.Presence, DeviceType.Weather, DeviceType.Vacuum, DeviceType.LawnMower, DeviceType.Container, DeviceType.Image, DeviceType.PetFeeder, DeviceType.PetFountain, DeviceType.Heater, DeviceType.Dishwasher, DeviceType.Washer, DeviceType.Dryer, DeviceType.Gateway;
90928
+ DeviceType.Camera, DeviceType.Hub, 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.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;
90687
90929
  DeviceFeature.BatteryOperated;
90688
90930
  function bound(cap, methods = [], authority = "reported") {
90689
90931
  return {
@@ -91735,6 +91977,11 @@ Object.freeze({
91735
91977
  form: "single",
91736
91978
  optional: false
91737
91979
  }],
91980
+ "fanControl.setOscillationAxis": [{
91981
+ name: "deviceId",
91982
+ form: "single",
91983
+ optional: false
91984
+ }],
91738
91985
  "fanControl.setPercentage": [{
91739
91986
  name: "deviceId",
91740
91987
  form: "single",
@@ -95196,7 +95443,7 @@ var AdminUIAddon = class extends BaseAddon {
95196
95443
  capability: adminUiCapability,
95197
95444
  provider: {
95198
95445
  getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
95199
- getVersion: async () => ({ version: "1.2.644" })
95446
+ getVersion: async () => ({ version: "1.2.645" })
95200
95447
  }
95201
95448
  }];
95202
95449
  }