@camstack/addon-admin-ui 1.2.670 → 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.
- package/CHANGELOG.md +6 -0
- package/dist/assets/{Addons-Bu4ZoxIO.js → Addons-D4Ih6jcV.js} +1 -1
- package/dist/assets/{AdminPage-DZFpAKya.js → AdminPage-DxRNIDJv.js} +1 -1
- package/dist/assets/{AdminSectionedPage-B6ps8rNV.js → AdminSectionedPage-C3fAsFOv.js} +1 -1
- package/dist/assets/{AiProfiles-CdoQZsZR.js → AiProfiles-DakCGZHI.js} +1 -1
- package/dist/assets/{BootstrapSettingsForm-UCWvtzeE.js → BootstrapSettingsForm-Ch4QQfKP.js} +1 -1
- package/dist/assets/{Build-Gofhoe3j.js → Build-Bd_Aj09y.js} +1 -1
- package/dist/assets/{Calendars-CiJnuAQh.js → Calendars-CHB0EWpM.js} +1 -1
- package/dist/assets/{CameraGrids-DxfsuaX0.js → CameraGrids-DobQVAng.js} +1 -1
- package/dist/assets/{Cluster-Bo-4vXsH.js → Cluster-D8Sl4G8M.js} +1 -1
- package/dist/assets/{CompositionBlockEditor-CMjymUtx.js → CompositionBlockEditor-Dsv59cAW.js} +1 -1
- package/dist/assets/{CompositionEditorPage-DKFrfRrp.js → CompositionEditorPage-BzH21wuk.js} +1 -1
- package/dist/assets/{Data-D7ZahmN6.js → Data-CpUOYIIT.js} +1 -1
- package/dist/assets/{DeviceDetail-Bh2Z2j1s.js → DeviceDetail-BOfPDVdd.js} +1 -1
- package/dist/assets/{Devices-byiaWoVy.js → Devices-eyTmvs8H.js} +1 -1
- package/dist/assets/{EmbedDevicePage-CNeUtgiP.js → EmbedDevicePage-BXO0sTNw.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-C61k6Ex_.js → EmbedPlayerPage-D-JC73TV.js} +1 -1
- package/dist/assets/{History-Bs14Rm_V.js → History-BFBneYel.js} +1 -1
- package/dist/assets/{Identity-Bw51Vnol.js → Identity-mOPdUpNo.js} +1 -1
- package/dist/assets/{InstancesTable-BYcvOIqM.js → InstancesTable-Dd6PvCKq.js} +1 -1
- package/dist/assets/{IntegrationDetail-Ca70oA9L.js → IntegrationDetail-iUiEDAMq.js} +1 -1
- package/dist/assets/{Integrations-BqsIC-y8.js → Integrations-CQULPFfk.js} +1 -1
- package/dist/assets/{Integrations-CUBI08OU.js → Integrations-CviL0f6W.js} +1 -1
- package/dist/assets/{Library-CjCs6KtF.js → Library-Xfuypg4h.js} +1 -1
- package/dist/assets/{Locations-9Nu9CaoW.js → Locations-B2n4nh6A.js} +1 -1
- package/dist/assets/{Logs-Q8kMe303.js → Logs-D7AqYJM4.js} +1 -1
- package/dist/assets/{MaskShapeCanvas-BIQjyybG.js → MaskShapeCanvas-BcLIqvEn.js} +1 -1
- package/dist/assets/{MotionZonesSettings-DpLx__H7.js → MotionZonesSettings-BLUzdWcS.js} +1 -1
- package/dist/assets/{MyAccess-COSpNM7B.js → MyAccess-DBQXd-8a.js} +1 -1
- package/dist/assets/{Network-DJpcRcIb.js → Network-DlG3x6oD.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-kjx2GHro.js → NodeAddonsSettingsPanel-C5rlDWi_.js} +1 -1
- package/dist/assets/{Notifications-wd30LkHE.js → Notifications-ClF1xAd3.js} +1 -1
- package/dist/assets/{Pipeline-Czx8lt08.js → Pipeline-NobMXhtH.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-BE-h6w7X.js → PrivacyMaskSettings-B8rcVxu4.js} +1 -1
- package/dist/assets/{Recordings-wz9ii-_u.js → Recordings-C0eOM5YU.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-CTjHnPpY.js → SceneMonitorEditor-Dqdq-PTU.js} +1 -1
- package/dist/assets/{SessionsList-BP2c6K1Q.js → SessionsList-C29Wt-Dw.js} +1 -1
- package/dist/assets/{Showroom-DQPrHXfR.js → Showroom-DXrqyFh5.js} +1 -1
- package/dist/assets/{StorageLocationsTable-CsmMr8wO.js → StorageLocationsTable-C9scJjmc.js} +1 -1
- package/dist/assets/{System-CnnnTIRP.js → System-A3mWcLR2.js} +1 -1
- package/dist/assets/{Terminal-BQvfsb_T.js → Terminal--kDkwVXJ.js} +1 -1
- package/dist/assets/{TrainingProviders-Dy9Z8KUl.js → TrainingProviders-D39HHkCM.js} +1 -1
- package/dist/assets/{Viewer-C32w1mRT.js → Viewer-GpL7wWpc.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CQD2cxmc.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-Cy17ZICs.js} +1 -1
- package/dist/assets/{action-draft-DYPXor4T.js → action-draft-aVCwx_o9.js} +1 -1
- package/dist/assets/{ai-page.helpers--SV9pSXS.js → ai-page.helpers-J-99Juok.js} +1 -1
- package/dist/assets/{assignment-candidates-B6UTjIxv.js → assignment-candidates-028fW1YS.js} +1 -1
- package/dist/assets/{authed-media-DnctiLpD.js → authed-media-CZ-K7Y46.js} +1 -1
- package/dist/assets/{board-model-DJiRVoCF.js → board-model-K2GAmXUm.js} +1 -1
- package/dist/assets/client-BTBeGYJY.js +1119 -0
- package/dist/assets/{command-vocab-CgGuOUW5.js → command-vocab-CR2QpUVG.js} +1 -1
- package/dist/assets/{device-detail-DNlf02Nb.js → device-detail-PLJZd3g9.js} +1 -1
- package/dist/assets/{device-integration-icon-bh1Yik4P.js → device-integration-icon-BTIU26uZ.js} +1 -1
- package/dist/assets/device-picker-model-sREdWUwY.js +1 -0
- package/dist/assets/dist-CXu90pab.js +1119 -0
- package/dist/assets/{dist-DSa_qu9n.js → dist-Cuts96gY.js} +1 -1
- package/dist/assets/{format-BJ-r5P2c.js → format-_OfSTYpy.js} +1 -1
- package/dist/assets/{hostInit-4Natw9gd.js → hostInit-DUTMXZZE.js} +1 -1
- package/dist/assets/i18n-CbWptxOF.js +1 -0
- package/dist/assets/{icons-BbfFVZ5r.js → icons-B2Bx9CFq.js} +1 -1
- package/dist/assets/{index-BacJRiQn.js → index-B_SLyt0N.js} +3 -3
- package/dist/assets/{linked-devices-model-1w0cHe7b.js → linked-devices-model-ukEnkxcK.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-782deff9.js → mf-entry-bootstrap-0-58342916.js} +2 -2
- package/dist/assets/mount-sREdWUwY.js +1 -0
- package/dist/assets/{notification-rule-status-BUkTPXSv.js → notification-rule-status-BDBhh19K.js} +1 -1
- package/dist/assets/{player-overlays-DK7RQw-O.js → player-overlays-CBhAJhZ8.js} +1 -1
- package/dist/assets/remoteEntry-CBpEk5F3.js +1 -0
- package/dist/assets/src-XBYbMNk2.js +275 -0
- package/dist/assets/{sso-popup-CWTydSPD.js → sso-popup-BoddrqKe.js} +1 -1
- package/dist/assets/{step-inspector-model-CS8dmyEs.js → step-inspector-model-B0Avfnxr.js} +1 -1
- package/dist/assets/{use-scenes-feed-DKSAMtkB.js → use-scenes-feed-BqauKaRS.js} +1 -1
- package/dist/assets/{use-stationary-objects-Bzwbh4br.js → use-stationary-objects-CtWEm9w1.js} +1 -1
- package/dist/assets/{useAdminDeviceRemoval-DVXNvRT6.js → useAdminDeviceRemoval-DxP4jF_m.js} +1 -1
- package/dist/assets/useEventInvalidation-sREdWUwY.js +1 -0
- package/dist/assets/{useNodeUrlSelection-CRetTLtS.js → useNodeUrlSelection-CnGb0Aqs.js} +1 -1
- package/dist/assets/{useTemplateSave-3fmevCGo.js → useTemplateSave-Cpo61dqY.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-D2oRXG2E.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-C9sqGi9B.js} +2 -2
- package/dist/index.html +8 -8
- package/dist/server/addon.js +290 -19
- package/package.json +2 -2
- package/dist/assets/client-wrRG10y-.js +0 -1119
- package/dist/assets/device-picker-model-CD_LvGfG.js +0 -1
- package/dist/assets/dist-CLrVSBms.js +0 -1119
- package/dist/assets/i18n-CFTpf5AU.js +0 -1
- package/dist/assets/mount-CD_LvGfG.js +0 -1
- package/dist/assets/remoteEntry-BN-AjEjY.js +0 -1
- package/dist/assets/src-D_J1QIkp.js +0 -275
- package/dist/assets/useEventInvalidation-CD_LvGfG.js +0 -1
package/dist/server/addon.js
CHANGED
|
@@ -824,7 +824,7 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
|
824
824
|
return EventCategory;
|
|
825
825
|
}({});
|
|
826
826
|
//#endregion
|
|
827
|
-
//#region ../types/dist/composed-stable-id-
|
|
827
|
+
//#region ../types/dist/composed-stable-id-RvQIEpqg.mjs
|
|
828
828
|
/**
|
|
829
829
|
import { errMsg } from '@camstack/types'
|
|
830
830
|
* Extract a human-readable message from an unknown error value.
|
|
@@ -906,6 +906,9 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
906
906
|
/** Weather provider (HA `weather.*`). Tier-3, low MVP priority.
|
|
907
907
|
* `weather` cap. */
|
|
908
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";
|
|
909
912
|
/** Robot vacuum (HA `vacuum.*`). Tier-3. `vacuum-control` cap. */
|
|
910
913
|
DeviceType["Vacuum"] = "vacuum";
|
|
911
914
|
/** Robotic lawn mower (HA `lawn_mower.*`). Tier-3.
|
|
@@ -5940,7 +5943,7 @@ var ZodIssueCode = {
|
|
|
5940
5943
|
var ZodFirstPartyTypeKind;
|
|
5941
5944
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5942
5945
|
//#endregion
|
|
5943
|
-
//#region ../types/dist/sleep-
|
|
5946
|
+
//#region ../types/dist/sleep-DbhT0DWV.mjs
|
|
5944
5947
|
/**
|
|
5945
5948
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5946
5949
|
* window to float samples (D455).
|
|
@@ -17732,6 +17735,183 @@ var CAP_VOCABULARY_BY_NAME = {
|
|
|
17732
17735
|
}
|
|
17733
17736
|
]
|
|
17734
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
|
+
},
|
|
17735
17915
|
"battery": {
|
|
17736
17916
|
scope: "device",
|
|
17737
17917
|
noun: {
|
|
@@ -18795,6 +18975,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
18795
18975
|
"viewer-ui",
|
|
18796
18976
|
"water-heater",
|
|
18797
18977
|
"weather",
|
|
18978
|
+
"weather-station",
|
|
18798
18979
|
"webrtc-session",
|
|
18799
18980
|
"zone-analytics",
|
|
18800
18981
|
"zone-rules",
|
|
@@ -20773,6 +20954,56 @@ Object.freeze({
|
|
|
20773
20954
|
"valueType": "number"
|
|
20774
20955
|
}
|
|
20775
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
|
+
],
|
|
20776
21007
|
"zone-analytics": [
|
|
20777
21008
|
{
|
|
20778
21009
|
"path": "ts",
|
|
@@ -20865,7 +21096,7 @@ Object.freeze({
|
|
|
20865
21096
|
}
|
|
20866
21097
|
});
|
|
20867
21098
|
//#endregion
|
|
20868
|
-
//#region ../types/dist/implemented-methods-
|
|
21099
|
+
//#region ../types/dist/implemented-methods-C5FMXLGP.mjs
|
|
20869
21100
|
/**
|
|
20870
21101
|
* The ffmpeg build every CamStack node downloads, per platform and arch.
|
|
20871
21102
|
*
|
|
@@ -54930,7 +55161,7 @@ DeviceType.MediaPlayer, optionalMethod(deviceOnly, _void(), {
|
|
|
54930
55161
|
}]
|
|
54931
55162
|
}]
|
|
54932
55163
|
});
|
|
54933
|
-
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.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;
|
|
54934
55165
|
var NUMBER = {
|
|
54935
55166
|
kind: "fixed",
|
|
54936
55167
|
result: ["number"]
|
|
@@ -54995,7 +55226,7 @@ var CHANGED = {
|
|
|
54995
55226
|
fieldPath: "lastChangedAt",
|
|
54996
55227
|
expr: "now"
|
|
54997
55228
|
};
|
|
54998
|
-
function numeric(input) {
|
|
55229
|
+
function numeric$1(input) {
|
|
54999
55230
|
const { alsoFrom, ...base } = input;
|
|
55000
55231
|
return {
|
|
55001
55232
|
...base,
|
|
@@ -55030,7 +55261,7 @@ function binary(input) {
|
|
|
55030
55261
|
};
|
|
55031
55262
|
}
|
|
55032
55263
|
var GROUP_TEMPLATES = [
|
|
55033
|
-
numeric({
|
|
55264
|
+
numeric$1({
|
|
55034
55265
|
id: "temperature",
|
|
55035
55266
|
summary: "Mean, median, min, max or sum of temperatures. Offline and unknown members are left out, never read as 0 °C.",
|
|
55036
55267
|
role: DeviceRole.TemperatureSensor,
|
|
@@ -55048,7 +55279,7 @@ var GROUP_TEMPLATES = [
|
|
|
55048
55279
|
}
|
|
55049
55280
|
}
|
|
55050
55281
|
}),
|
|
55051
|
-
numeric({
|
|
55282
|
+
numeric$1({
|
|
55052
55283
|
id: "humidity",
|
|
55053
55284
|
summary: "Humidity in percent. Offline and unknown members are left out, never read as 0 %.",
|
|
55054
55285
|
role: DeviceRole.HumiditySensor,
|
|
@@ -55066,7 +55297,7 @@ var GROUP_TEMPLATES = [
|
|
|
55066
55297
|
}
|
|
55067
55298
|
}
|
|
55068
55299
|
}),
|
|
55069
|
-
numeric({
|
|
55300
|
+
numeric$1({
|
|
55070
55301
|
id: "pressure",
|
|
55071
55302
|
summary: "Pressure in hectopascals. Offline and unknown members are left out, never read as 0 hPa.",
|
|
55072
55303
|
role: DeviceRole.PressureSensor,
|
|
@@ -55077,7 +55308,7 @@ var GROUP_TEMPLATES = [
|
|
|
55077
55308
|
empty: "null",
|
|
55078
55309
|
companions: [NOW$3]
|
|
55079
55310
|
}),
|
|
55080
|
-
numeric({
|
|
55311
|
+
numeric$1({
|
|
55081
55312
|
id: "illuminance",
|
|
55082
55313
|
summary: "Illuminance in lux. Offline and unknown members are left out, never read as 0 lx.",
|
|
55083
55314
|
role: DeviceRole.AmbientLightSensor,
|
|
@@ -55088,7 +55319,7 @@ var GROUP_TEMPLATES = [
|
|
|
55088
55319
|
empty: "null",
|
|
55089
55320
|
companions: [NOW$3]
|
|
55090
55321
|
}),
|
|
55091
|
-
numeric({
|
|
55322
|
+
numeric$1({
|
|
55092
55323
|
id: "power",
|
|
55093
55324
|
summary: "Power in watts, summed by default. Nobody reporting omits the key rather than writing 0 W.",
|
|
55094
55325
|
role: DeviceRole.PowerSensor,
|
|
@@ -55099,7 +55330,7 @@ var GROUP_TEMPLATES = [
|
|
|
55099
55330
|
empty: "omit",
|
|
55100
55331
|
companions: [NOW$3]
|
|
55101
55332
|
}),
|
|
55102
|
-
numeric({
|
|
55333
|
+
numeric$1({
|
|
55103
55334
|
id: "energy",
|
|
55104
55335
|
summary: "Energy in kilowatt-hours, summed by default. Nobody reporting omits the key rather than writing 0 kWh.",
|
|
55105
55336
|
role: DeviceRole.EnergySensor,
|
|
@@ -55110,7 +55341,7 @@ var GROUP_TEMPLATES = [
|
|
|
55110
55341
|
empty: "omit",
|
|
55111
55342
|
companions: [NOW$3]
|
|
55112
55343
|
}),
|
|
55113
|
-
numeric({
|
|
55344
|
+
numeric$1({
|
|
55114
55345
|
id: "battery",
|
|
55115
55346
|
summary: "Battery charge in percent. Offline and unknown members are left out, never read as 0 %.",
|
|
55116
55347
|
role: DeviceRole.BatterySensor,
|
|
@@ -55134,7 +55365,7 @@ var GROUP_TEMPLATES = [
|
|
|
55134
55365
|
}
|
|
55135
55366
|
]
|
|
55136
55367
|
}),
|
|
55137
|
-
numeric({
|
|
55368
|
+
numeric$1({
|
|
55138
55369
|
id: "numeric",
|
|
55139
55370
|
summary: "A numeric reading in the members’ shared quantity. Mixed quantities are refused. Nobody reporting publishes null, not 0.",
|
|
55140
55371
|
role: DeviceRole.NumericSensor,
|
|
@@ -61821,7 +62052,7 @@ var HeroSceneSchema = object({
|
|
|
61821
62052
|
/** 0..1: volume, cover position, cycle progress. */
|
|
61822
62053
|
level: number$1().min(0).max(1).nullable()
|
|
61823
62054
|
});
|
|
61824
|
-
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;
|
|
61825
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;
|
|
61826
62057
|
var HeroRowIdSchema = _enum([
|
|
61827
62058
|
"progress",
|
|
@@ -85059,6 +85290,23 @@ var WeatherStatusSchema = object({
|
|
|
85059
85290
|
lastFetchedAt: number$1()
|
|
85060
85291
|
});
|
|
85061
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;
|
|
85062
85310
|
/**
|
|
85063
85311
|
* Optional client-side hints sent at session creation to help the provider
|
|
85064
85312
|
* pick the best native source. All fields optional — a viewer that knows
|
|
@@ -86096,7 +86344,7 @@ var AccessoryKind = {
|
|
|
86096
86344
|
};
|
|
86097
86345
|
AccessoryKind.Siren, AccessoryKind.Floodlight, AccessoryKind.Spotlight, AccessoryKind.PirSensor, AccessoryKind.Chime, AccessoryKind.Autotrack, AccessoryKind.Nightvision, AccessoryKind.PrivacyMask;
|
|
86098
86346
|
DeviceType.HeatPump;
|
|
86099
|
-
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;
|
|
86100
86348
|
new Set(Object.values(DeviceType));
|
|
86101
86349
|
/** Parses the raw slice with the cap's own schema; `undefined` when it does not parse. */
|
|
86102
86350
|
function contribution(cap, schema, build) {
|
|
@@ -87465,6 +87713,17 @@ var SENSORS_FAMILY_CONTRIBUTIONS = {
|
|
|
87465
87713
|
doorbell: doorbellContribution,
|
|
87466
87714
|
meter: meterContribution,
|
|
87467
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
|
+
}),
|
|
87468
87727
|
update: updateContribution,
|
|
87469
87728
|
image: imageContribution,
|
|
87470
87729
|
button: buttonContribution,
|
|
@@ -88141,7 +88400,7 @@ var HEAT_PUMP_FAMILY_CONTRIBUTIONS = { "heat-pump-status": contribution("heat-pu
|
|
|
88141
88400
|
...Object.values(CLIMATE_FAMILY_CONTRIBUTIONS),
|
|
88142
88401
|
...Object.values(HEAT_PUMP_FAMILY_CONTRIBUTIONS)
|
|
88143
88402
|
];
|
|
88144
|
-
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;
|
|
88145
88404
|
/**
|
|
88146
88405
|
* Who looks like what (D1023). One look per {@link DeviceType}, refined by a
|
|
88147
88406
|
* {@link DeviceRole} where the role changes how the device reads (a leak
|
|
@@ -88785,7 +89044,7 @@ lookOf({
|
|
|
88785
89044
|
standby: MUTED
|
|
88786
89045
|
});
|
|
88787
89046
|
DeviceType.Climate;
|
|
88788
|
-
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;
|
|
88789
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;
|
|
88790
89049
|
Object.freeze({
|
|
88791
89050
|
"accessories.getStatus": {
|
|
@@ -99071,6 +99330,13 @@ Object.freeze({
|
|
|
99071
99330
|
access: "view",
|
|
99072
99331
|
role: "viewer"
|
|
99073
99332
|
},
|
|
99333
|
+
"weatherStation.getStatus": {
|
|
99334
|
+
capName: "weather-station",
|
|
99335
|
+
capScope: "device",
|
|
99336
|
+
addonId: null,
|
|
99337
|
+
access: "view",
|
|
99338
|
+
role: "viewer"
|
|
99339
|
+
},
|
|
99074
99340
|
"webrtcSession.addIceCandidate": {
|
|
99075
99341
|
capName: "webrtc-session",
|
|
99076
99342
|
capScope: "device",
|
|
@@ -99284,7 +99550,7 @@ function offered(received) {
|
|
|
99284
99550
|
};
|
|
99285
99551
|
}
|
|
99286
99552
|
offered(HA_AS), withheld(HOMEKIT_REASON), withheld(ALEXA_REASON), withheld(GOOGLE_REASON), withheld(MATTER_REASON);
|
|
99287
|
-
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;
|
|
99288
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;
|
|
99289
99555
|
new Set(Object.values(DeviceType));
|
|
99290
99556
|
new Set(Object.values(DeviceRole));
|
|
@@ -102313,6 +102579,11 @@ Object.freeze({
|
|
|
102313
102579
|
form: "single",
|
|
102314
102580
|
optional: false
|
|
102315
102581
|
}],
|
|
102582
|
+
"weatherStation.getStatus": [{
|
|
102583
|
+
name: "deviceId",
|
|
102584
|
+
form: "single",
|
|
102585
|
+
optional: false
|
|
102586
|
+
}],
|
|
102316
102587
|
"webrtcSession.addIceCandidate": [{
|
|
102317
102588
|
name: "deviceId",
|
|
102318
102589
|
form: "single",
|
|
@@ -103854,7 +104125,7 @@ var AdminUIAddon = class extends BaseAddon {
|
|
|
103854
104125
|
capability: adminUiCapability,
|
|
103855
104126
|
provider: {
|
|
103856
104127
|
getStaticDir: async () => ({ staticDir: resolveAdminUiDistDir() }),
|
|
103857
|
-
getVersion: async () => ({ version: "1.2.
|
|
104128
|
+
getVersion: async () => ({ version: "1.2.671" })
|
|
103858
104129
|
}
|
|
103859
104130
|
}];
|
|
103860
104131
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-admin-ui",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.671",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"description": "Admin UI — Vite frontend build and server-side addon",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
}
|
|
51
51
|
],
|
|
52
52
|
"requires": {
|
|
53
|
-
"server": ">=1.2.
|
|
53
|
+
"server": ">=1.2.870"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"scripts": {
|