@camstack/types 1.2.568 → 1.2.569
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 -1
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/capabilities/index.d.ts +3 -1
- package/dist/capabilities/weather-station.cap.d.ts +255 -0
- package/dist/client.js +7 -0
- package/dist/client.mjs +7 -0
- package/dist/{composed-stable-id-BzXh1Swk.js → composed-stable-id-C3NfRTj8.js} +3 -0
- package/dist/{composed-stable-id-COP6zOXx.mjs → composed-stable-id-RvQIEpqg.mjs} +3 -0
- package/dist/device/device-icon.d.ts +1 -0
- package/dist/device/device-type.d.ts +3 -0
- package/dist/device/hero/hero-layout.d.ts +1 -0
- package/dist/device/hero/hero-look.d.ts +6 -0
- package/dist/device/hero/hero-scene.d.ts +1 -0
- package/dist/generated/addon-api.d.ts +14 -0
- package/dist/generated/addon-cap-facts.d.ts +1 -1
- package/dist/generated/cap-status-types.d.ts +3 -1
- package/dist/generated/cap-vocabulary.d.ts +1 -1
- package/dist/generated/capability-router-map.d.ts +5 -2
- package/dist/generated/customize-catalog.d.ts +1 -1
- package/dist/generated/device-local-state.d.ts +3 -0
- package/dist/generated/device-proxy.d.ts +3 -0
- package/dist/generated/device-scoped-caps.d.ts +1 -1
- package/dist/generated/history-catalog.d.ts +1 -1
- package/dist/generated/method-access-map.d.ts +1 -1
- package/dist/generated/method-device-selectors.d.ts +1 -1
- package/dist/generated/runtime-state-durability.d.ts +1 -1
- package/dist/{implemented-methods-0xxMOekw.mjs → implemented-methods-C5FMXLGP.mjs} +1 -1
- package/dist/{implemented-methods-D4F6RWkO.js → implemented-methods-C7ScGvEz.js} +1 -1
- package/dist/index.js +127 -15
- package/dist/index.mjs +126 -16
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{sleep-BTb3-IPb.js → sleep-DR76P1OE.js} +235 -3
- package/dist/{sleep-DEd_klYQ.mjs → sleep-DbhT0DWV.mjs} +235 -3
- package/package.json +1 -1
package/dist/node.js
CHANGED
|
@@ -21,8 +21,8 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
21
21
|
enumerable: true
|
|
22
22
|
}) : target, mod));
|
|
23
23
|
//#endregion
|
|
24
|
-
const require_composed_stable_id = require("./composed-stable-id-
|
|
25
|
-
const require_implemented_methods = require("./implemented-methods-
|
|
24
|
+
const require_composed_stable_id = require("./composed-stable-id-C3NfRTj8.js");
|
|
25
|
+
const require_implemented_methods = require("./implemented-methods-C7ScGvEz.js");
|
|
26
26
|
let node_crypto = require("node:crypto");
|
|
27
27
|
let node_fs = require("node:fs");
|
|
28
28
|
node_fs = __toESM(node_fs);
|
package/dist/node.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as errMsg } from "./composed-stable-id-
|
|
2
|
-
import { Gn as FFMPEG_RELEASE, Hn as FFMPEG_PATH_ENV, Jn as canonicalHash, Kn as getFfmpegArtifact, Un as chooseFfmpegBinary, Wn as ffmpegBinaryName, Yn as Fmp4BoxSplitter, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, er as buildFfmpegArgs, ir as isSoftwareDecode, qn as getFfmpegDownloadUrl, t as implementedMethodsOf, z as compositionSourceKey } from "./implemented-methods-
|
|
1
|
+
import { s as errMsg } from "./composed-stable-id-RvQIEpqg.mjs";
|
|
2
|
+
import { Gn as FFMPEG_RELEASE, Hn as FFMPEG_PATH_ENV, Jn as canonicalHash, Kn as getFfmpegArtifact, Un as chooseFfmpegBinary, Wn as ffmpegBinaryName, Yn as Fmp4BoxSplitter, a as CUSTOMIZATION_BLOCK_NAME_PREFIX, er as buildFfmpegArgs, ir as isSoftwareDecode, qn as getFfmpegDownloadUrl, t as implementedMethodsOf, z as compositionSourceKey } from "./implemented-methods-C5FMXLGP.mjs";
|
|
3
3
|
import { createHash, createHmac, randomUUID, timingSafeEqual } from "node:crypto";
|
|
4
4
|
import * as fs from "node:fs";
|
|
5
5
|
import { chmodSync, copyFileSync, createWriteStream, existsSync, mkdirSync, readFileSync, readdirSync, realpathSync, renameSync, rmSync, unlinkSync, writeFileSync } from "node:fs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_event_category = require("./event-category-d9kiqCqC.js");
|
|
2
|
-
const require_composed_stable_id = require("./composed-stable-id-
|
|
2
|
+
const require_composed_stable_id = require("./composed-stable-id-C3NfRTj8.js");
|
|
3
3
|
let zod = require("zod");
|
|
4
4
|
//#region src/audio/audio-chunk-format.ts
|
|
5
5
|
/**
|
|
@@ -7955,7 +7955,7 @@ var MODEL_FORMATS = [
|
|
|
7955
7955
|
//#region src/generated/cap-vocabulary.ts
|
|
7956
7956
|
/**
|
|
7957
7957
|
* THE cap vocabulary (D920), projected from the declarations of every
|
|
7958
|
-
* `*.cap.ts` (D1050):
|
|
7958
|
+
* `*.cap.ts` (D1050): 207 caps (106 device, 101 system).
|
|
7959
7959
|
* Device caps in their declared picker order, then system caps by name.
|
|
7960
7960
|
*/
|
|
7961
7961
|
var CAP_VOCABULARY = {
|
|
@@ -15840,6 +15840,183 @@ var CAP_VOCABULARY = {
|
|
|
15840
15840
|
}
|
|
15841
15841
|
]
|
|
15842
15842
|
},
|
|
15843
|
+
"weather-station": {
|
|
15844
|
+
scope: "device",
|
|
15845
|
+
noun: {
|
|
15846
|
+
en: "Weather station",
|
|
15847
|
+
it: "Stazione meteo"
|
|
15848
|
+
},
|
|
15849
|
+
state: [
|
|
15850
|
+
{
|
|
15851
|
+
kind: "numeric",
|
|
15852
|
+
field: "temperature",
|
|
15853
|
+
quantity: {
|
|
15854
|
+
en: "the outdoor temperature",
|
|
15855
|
+
it: "la temperatura esterna"
|
|
15856
|
+
},
|
|
15857
|
+
label: {
|
|
15858
|
+
en: "Temperature",
|
|
15859
|
+
it: "Temperatura"
|
|
15860
|
+
},
|
|
15861
|
+
unit: "°C",
|
|
15862
|
+
icon: "thermometer"
|
|
15863
|
+
},
|
|
15864
|
+
{
|
|
15865
|
+
kind: "numeric",
|
|
15866
|
+
field: "humidity",
|
|
15867
|
+
quantity: {
|
|
15868
|
+
en: "the outdoor humidity",
|
|
15869
|
+
it: "l’umidità esterna"
|
|
15870
|
+
},
|
|
15871
|
+
label: {
|
|
15872
|
+
en: "Humidity",
|
|
15873
|
+
it: "Umidità"
|
|
15874
|
+
},
|
|
15875
|
+
unit: "%",
|
|
15876
|
+
icon: "droplets"
|
|
15877
|
+
},
|
|
15878
|
+
{
|
|
15879
|
+
kind: "numeric",
|
|
15880
|
+
field: "pressure",
|
|
15881
|
+
quantity: {
|
|
15882
|
+
en: "the air pressure",
|
|
15883
|
+
it: "la pressione atmosferica"
|
|
15884
|
+
},
|
|
15885
|
+
label: {
|
|
15886
|
+
en: "Pressure",
|
|
15887
|
+
it: "Pressione"
|
|
15888
|
+
},
|
|
15889
|
+
unit: "hPa",
|
|
15890
|
+
icon: "gauge"
|
|
15891
|
+
},
|
|
15892
|
+
{
|
|
15893
|
+
kind: "numeric",
|
|
15894
|
+
field: "windSpeed",
|
|
15895
|
+
quantity: {
|
|
15896
|
+
en: "the wind speed",
|
|
15897
|
+
it: "la velocità del vento"
|
|
15898
|
+
},
|
|
15899
|
+
label: {
|
|
15900
|
+
en: "Wind",
|
|
15901
|
+
it: "Vento"
|
|
15902
|
+
},
|
|
15903
|
+
unit: "m/s",
|
|
15904
|
+
icon: "wind"
|
|
15905
|
+
},
|
|
15906
|
+
{
|
|
15907
|
+
kind: "numeric",
|
|
15908
|
+
field: "windGust",
|
|
15909
|
+
quantity: {
|
|
15910
|
+
en: "the wind gust",
|
|
15911
|
+
it: "la raffica di vento"
|
|
15912
|
+
},
|
|
15913
|
+
label: {
|
|
15914
|
+
en: "Gust",
|
|
15915
|
+
it: "Raffica"
|
|
15916
|
+
},
|
|
15917
|
+
unit: "m/s",
|
|
15918
|
+
icon: "wind"
|
|
15919
|
+
},
|
|
15920
|
+
{
|
|
15921
|
+
kind: "numeric",
|
|
15922
|
+
field: "windBearing",
|
|
15923
|
+
quantity: {
|
|
15924
|
+
en: "the wind bearing",
|
|
15925
|
+
it: "la direzione del vento"
|
|
15926
|
+
},
|
|
15927
|
+
label: {
|
|
15928
|
+
en: "Wind bearing",
|
|
15929
|
+
it: "Direzione del vento"
|
|
15930
|
+
},
|
|
15931
|
+
unit: "°",
|
|
15932
|
+
icon: "wind"
|
|
15933
|
+
},
|
|
15934
|
+
{
|
|
15935
|
+
kind: "numeric",
|
|
15936
|
+
field: "rainRate",
|
|
15937
|
+
quantity: {
|
|
15938
|
+
en: "the rain rate",
|
|
15939
|
+
it: "l’intensità della pioggia"
|
|
15940
|
+
},
|
|
15941
|
+
label: {
|
|
15942
|
+
en: "Rain rate",
|
|
15943
|
+
it: "Intensità pioggia"
|
|
15944
|
+
},
|
|
15945
|
+
unit: "mm/h",
|
|
15946
|
+
icon: "droplets"
|
|
15947
|
+
},
|
|
15948
|
+
{
|
|
15949
|
+
kind: "numeric",
|
|
15950
|
+
field: "rainDaily",
|
|
15951
|
+
quantity: {
|
|
15952
|
+
en: "the rain today",
|
|
15953
|
+
it: "la pioggia di oggi"
|
|
15954
|
+
},
|
|
15955
|
+
label: {
|
|
15956
|
+
en: "Rain today",
|
|
15957
|
+
it: "Pioggia oggi"
|
|
15958
|
+
},
|
|
15959
|
+
unit: "mm",
|
|
15960
|
+
icon: "droplets"
|
|
15961
|
+
},
|
|
15962
|
+
{
|
|
15963
|
+
kind: "numeric",
|
|
15964
|
+
field: "rainEvent",
|
|
15965
|
+
quantity: {
|
|
15966
|
+
en: "the rain this event",
|
|
15967
|
+
it: "la pioggia di questo evento"
|
|
15968
|
+
},
|
|
15969
|
+
label: {
|
|
15970
|
+
en: "Rain event",
|
|
15971
|
+
it: "Evento di pioggia"
|
|
15972
|
+
},
|
|
15973
|
+
unit: "mm",
|
|
15974
|
+
icon: "droplets"
|
|
15975
|
+
},
|
|
15976
|
+
{
|
|
15977
|
+
kind: "numeric",
|
|
15978
|
+
field: "uv",
|
|
15979
|
+
quantity: {
|
|
15980
|
+
en: "the UV index",
|
|
15981
|
+
it: "l’indice UV"
|
|
15982
|
+
},
|
|
15983
|
+
label: {
|
|
15984
|
+
en: "UV",
|
|
15985
|
+
it: "UV"
|
|
15986
|
+
},
|
|
15987
|
+
unit: "",
|
|
15988
|
+
icon: "cloud-sun"
|
|
15989
|
+
},
|
|
15990
|
+
{
|
|
15991
|
+
kind: "numeric",
|
|
15992
|
+
field: "solarRadiation",
|
|
15993
|
+
quantity: {
|
|
15994
|
+
en: "the solar radiation",
|
|
15995
|
+
it: "la radiazione solare"
|
|
15996
|
+
},
|
|
15997
|
+
label: {
|
|
15998
|
+
en: "Solar",
|
|
15999
|
+
it: "Sole"
|
|
16000
|
+
},
|
|
16001
|
+
unit: "W/m²",
|
|
16002
|
+
icon: "cloud-sun"
|
|
16003
|
+
},
|
|
16004
|
+
{
|
|
16005
|
+
kind: "numeric",
|
|
16006
|
+
field: "dewPoint",
|
|
16007
|
+
quantity: {
|
|
16008
|
+
en: "the dew point",
|
|
16009
|
+
it: "il punto di rugiada"
|
|
16010
|
+
},
|
|
16011
|
+
label: {
|
|
16012
|
+
en: "Dew point",
|
|
16013
|
+
it: "Punto di rugiada"
|
|
16014
|
+
},
|
|
16015
|
+
unit: "°C",
|
|
16016
|
+
icon: "thermometer"
|
|
16017
|
+
}
|
|
16018
|
+
]
|
|
16019
|
+
},
|
|
15843
16020
|
"battery": {
|
|
15844
16021
|
scope: "device",
|
|
15845
16022
|
noun: {
|
|
@@ -17354,6 +17531,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
17354
17531
|
"viewer-ui",
|
|
17355
17532
|
"water-heater",
|
|
17356
17533
|
"weather",
|
|
17534
|
+
"weather-station",
|
|
17357
17535
|
"webrtc-session",
|
|
17358
17536
|
"zone-analytics",
|
|
17359
17537
|
"zone-rules",
|
|
@@ -19333,6 +19511,56 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
19333
19511
|
"valueType": "number"
|
|
19334
19512
|
}
|
|
19335
19513
|
],
|
|
19514
|
+
"weather-station": [
|
|
19515
|
+
{
|
|
19516
|
+
"path": "temperature",
|
|
19517
|
+
"valueType": "number"
|
|
19518
|
+
},
|
|
19519
|
+
{
|
|
19520
|
+
"path": "humidity",
|
|
19521
|
+
"valueType": "number"
|
|
19522
|
+
},
|
|
19523
|
+
{
|
|
19524
|
+
"path": "pressure",
|
|
19525
|
+
"valueType": "number"
|
|
19526
|
+
},
|
|
19527
|
+
{
|
|
19528
|
+
"path": "windSpeed",
|
|
19529
|
+
"valueType": "number"
|
|
19530
|
+
},
|
|
19531
|
+
{
|
|
19532
|
+
"path": "windGust",
|
|
19533
|
+
"valueType": "number"
|
|
19534
|
+
},
|
|
19535
|
+
{
|
|
19536
|
+
"path": "windBearing",
|
|
19537
|
+
"valueType": "number"
|
|
19538
|
+
},
|
|
19539
|
+
{
|
|
19540
|
+
"path": "rainRate",
|
|
19541
|
+
"valueType": "number"
|
|
19542
|
+
},
|
|
19543
|
+
{
|
|
19544
|
+
"path": "rainDaily",
|
|
19545
|
+
"valueType": "number"
|
|
19546
|
+
},
|
|
19547
|
+
{
|
|
19548
|
+
"path": "rainEvent",
|
|
19549
|
+
"valueType": "number"
|
|
19550
|
+
},
|
|
19551
|
+
{
|
|
19552
|
+
"path": "uv",
|
|
19553
|
+
"valueType": "number"
|
|
19554
|
+
},
|
|
19555
|
+
{
|
|
19556
|
+
"path": "solarRadiation",
|
|
19557
|
+
"valueType": "number"
|
|
19558
|
+
},
|
|
19559
|
+
{
|
|
19560
|
+
"path": "dewPoint",
|
|
19561
|
+
"valueType": "number"
|
|
19562
|
+
}
|
|
19563
|
+
],
|
|
19336
19564
|
"zone-analytics": [
|
|
19337
19565
|
{
|
|
19338
19566
|
"path": "ts",
|
|
@@ -20441,6 +20669,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20441
20669
|
getStatus: (input) => dispatch("water-heater", "waterHeater", "getStatus", "query", input)
|
|
20442
20670
|
};
|
|
20443
20671
|
const weatherInterface = { getStatus: (input) => dispatch("weather", "weather", "getStatus", "query", input) };
|
|
20672
|
+
const weatherStationInterface = { getStatus: (input) => dispatch("weather-station", "weatherStation", "getStatus", "query", input) };
|
|
20444
20673
|
const webrtcSessionInterface = {
|
|
20445
20674
|
listStreams: (input) => dispatch("webrtc-session", "webrtcSession", "listStreams", "query", input),
|
|
20446
20675
|
createSession: (input) => dispatch("webrtc-session", "webrtcSession", "createSession", "mutation", input),
|
|
@@ -20723,6 +20952,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20723
20952
|
vibration: createSliceHandle(stateSource, binding.deviceId, "vibration"),
|
|
20724
20953
|
waterHeater: createSliceHandle(stateSource, binding.deviceId, "water-heater"),
|
|
20725
20954
|
weather: createSliceHandle(stateSource, binding.deviceId, "weather"),
|
|
20955
|
+
weatherStation: createSliceHandle(stateSource, binding.deviceId, "weather-station"),
|
|
20726
20956
|
zoneAnalytics: createSliceHandle(stateSource, binding.deviceId, "zone-analytics"),
|
|
20727
20957
|
zoneRules: createSliceHandle(stateSource, binding.deviceId, "zone-rules"),
|
|
20728
20958
|
zones: createSliceHandle(stateSource, binding.deviceId, "zones")
|
|
@@ -20828,6 +21058,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20828
21058
|
...bound("videoclips") ? { videoclips: videoclipsInterface } : {},
|
|
20829
21059
|
...bound("water-heater") ? { waterHeater: waterHeaterInterface } : {},
|
|
20830
21060
|
...bound("weather") ? { weather: weatherInterface } : {},
|
|
21061
|
+
...bound("weather-station") ? { weatherStation: weatherStationInterface } : {},
|
|
20831
21062
|
...bound("webrtc-session") ? { webrtcSession: webrtcSessionInterface } : {},
|
|
20832
21063
|
...bound("zone-analytics") ? { zoneAnalytics: zoneAnalyticsInterface } : {},
|
|
20833
21064
|
...bound("zone-rules") ? { zoneRules: zoneRulesInterface } : {},
|
|
@@ -20863,7 +21094,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20863
21094
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
20864
21095
|
* (~144MB RSS per runner, D28).
|
|
20865
21096
|
*
|
|
20866
|
-
* Coverage:
|
|
21097
|
+
* Coverage: 106 device-scoped capabilities.
|
|
20867
21098
|
*/
|
|
20868
21099
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
20869
21100
|
"accessories",
|
|
@@ -20967,6 +21198,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
20967
21198
|
"videoclips",
|
|
20968
21199
|
"water-heater",
|
|
20969
21200
|
"weather",
|
|
21201
|
+
"weather-station",
|
|
20970
21202
|
"webrtc-session",
|
|
20971
21203
|
"zone-analytics",
|
|
20972
21204
|
"zone-rules",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-Dhcd0TRH.mjs";
|
|
2
|
-
import { a as DeviceType, i as DeviceRole, s as errMsg } from "./composed-stable-id-
|
|
2
|
+
import { a as DeviceType, i as DeviceRole, s as errMsg } from "./composed-stable-id-RvQIEpqg.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/audio/audio-chunk-format.ts
|
|
5
5
|
/**
|
|
@@ -7955,7 +7955,7 @@ var MODEL_FORMATS = [
|
|
|
7955
7955
|
//#region src/generated/cap-vocabulary.ts
|
|
7956
7956
|
/**
|
|
7957
7957
|
* THE cap vocabulary (D920), projected from the declarations of every
|
|
7958
|
-
* `*.cap.ts` (D1050):
|
|
7958
|
+
* `*.cap.ts` (D1050): 207 caps (106 device, 101 system).
|
|
7959
7959
|
* Device caps in their declared picker order, then system caps by name.
|
|
7960
7960
|
*/
|
|
7961
7961
|
var CAP_VOCABULARY = {
|
|
@@ -15840,6 +15840,183 @@ var CAP_VOCABULARY = {
|
|
|
15840
15840
|
}
|
|
15841
15841
|
]
|
|
15842
15842
|
},
|
|
15843
|
+
"weather-station": {
|
|
15844
|
+
scope: "device",
|
|
15845
|
+
noun: {
|
|
15846
|
+
en: "Weather station",
|
|
15847
|
+
it: "Stazione meteo"
|
|
15848
|
+
},
|
|
15849
|
+
state: [
|
|
15850
|
+
{
|
|
15851
|
+
kind: "numeric",
|
|
15852
|
+
field: "temperature",
|
|
15853
|
+
quantity: {
|
|
15854
|
+
en: "the outdoor temperature",
|
|
15855
|
+
it: "la temperatura esterna"
|
|
15856
|
+
},
|
|
15857
|
+
label: {
|
|
15858
|
+
en: "Temperature",
|
|
15859
|
+
it: "Temperatura"
|
|
15860
|
+
},
|
|
15861
|
+
unit: "°C",
|
|
15862
|
+
icon: "thermometer"
|
|
15863
|
+
},
|
|
15864
|
+
{
|
|
15865
|
+
kind: "numeric",
|
|
15866
|
+
field: "humidity",
|
|
15867
|
+
quantity: {
|
|
15868
|
+
en: "the outdoor humidity",
|
|
15869
|
+
it: "l’umidità esterna"
|
|
15870
|
+
},
|
|
15871
|
+
label: {
|
|
15872
|
+
en: "Humidity",
|
|
15873
|
+
it: "Umidità"
|
|
15874
|
+
},
|
|
15875
|
+
unit: "%",
|
|
15876
|
+
icon: "droplets"
|
|
15877
|
+
},
|
|
15878
|
+
{
|
|
15879
|
+
kind: "numeric",
|
|
15880
|
+
field: "pressure",
|
|
15881
|
+
quantity: {
|
|
15882
|
+
en: "the air pressure",
|
|
15883
|
+
it: "la pressione atmosferica"
|
|
15884
|
+
},
|
|
15885
|
+
label: {
|
|
15886
|
+
en: "Pressure",
|
|
15887
|
+
it: "Pressione"
|
|
15888
|
+
},
|
|
15889
|
+
unit: "hPa",
|
|
15890
|
+
icon: "gauge"
|
|
15891
|
+
},
|
|
15892
|
+
{
|
|
15893
|
+
kind: "numeric",
|
|
15894
|
+
field: "windSpeed",
|
|
15895
|
+
quantity: {
|
|
15896
|
+
en: "the wind speed",
|
|
15897
|
+
it: "la velocità del vento"
|
|
15898
|
+
},
|
|
15899
|
+
label: {
|
|
15900
|
+
en: "Wind",
|
|
15901
|
+
it: "Vento"
|
|
15902
|
+
},
|
|
15903
|
+
unit: "m/s",
|
|
15904
|
+
icon: "wind"
|
|
15905
|
+
},
|
|
15906
|
+
{
|
|
15907
|
+
kind: "numeric",
|
|
15908
|
+
field: "windGust",
|
|
15909
|
+
quantity: {
|
|
15910
|
+
en: "the wind gust",
|
|
15911
|
+
it: "la raffica di vento"
|
|
15912
|
+
},
|
|
15913
|
+
label: {
|
|
15914
|
+
en: "Gust",
|
|
15915
|
+
it: "Raffica"
|
|
15916
|
+
},
|
|
15917
|
+
unit: "m/s",
|
|
15918
|
+
icon: "wind"
|
|
15919
|
+
},
|
|
15920
|
+
{
|
|
15921
|
+
kind: "numeric",
|
|
15922
|
+
field: "windBearing",
|
|
15923
|
+
quantity: {
|
|
15924
|
+
en: "the wind bearing",
|
|
15925
|
+
it: "la direzione del vento"
|
|
15926
|
+
},
|
|
15927
|
+
label: {
|
|
15928
|
+
en: "Wind bearing",
|
|
15929
|
+
it: "Direzione del vento"
|
|
15930
|
+
},
|
|
15931
|
+
unit: "°",
|
|
15932
|
+
icon: "wind"
|
|
15933
|
+
},
|
|
15934
|
+
{
|
|
15935
|
+
kind: "numeric",
|
|
15936
|
+
field: "rainRate",
|
|
15937
|
+
quantity: {
|
|
15938
|
+
en: "the rain rate",
|
|
15939
|
+
it: "l’intensità della pioggia"
|
|
15940
|
+
},
|
|
15941
|
+
label: {
|
|
15942
|
+
en: "Rain rate",
|
|
15943
|
+
it: "Intensità pioggia"
|
|
15944
|
+
},
|
|
15945
|
+
unit: "mm/h",
|
|
15946
|
+
icon: "droplets"
|
|
15947
|
+
},
|
|
15948
|
+
{
|
|
15949
|
+
kind: "numeric",
|
|
15950
|
+
field: "rainDaily",
|
|
15951
|
+
quantity: {
|
|
15952
|
+
en: "the rain today",
|
|
15953
|
+
it: "la pioggia di oggi"
|
|
15954
|
+
},
|
|
15955
|
+
label: {
|
|
15956
|
+
en: "Rain today",
|
|
15957
|
+
it: "Pioggia oggi"
|
|
15958
|
+
},
|
|
15959
|
+
unit: "mm",
|
|
15960
|
+
icon: "droplets"
|
|
15961
|
+
},
|
|
15962
|
+
{
|
|
15963
|
+
kind: "numeric",
|
|
15964
|
+
field: "rainEvent",
|
|
15965
|
+
quantity: {
|
|
15966
|
+
en: "the rain this event",
|
|
15967
|
+
it: "la pioggia di questo evento"
|
|
15968
|
+
},
|
|
15969
|
+
label: {
|
|
15970
|
+
en: "Rain event",
|
|
15971
|
+
it: "Evento di pioggia"
|
|
15972
|
+
},
|
|
15973
|
+
unit: "mm",
|
|
15974
|
+
icon: "droplets"
|
|
15975
|
+
},
|
|
15976
|
+
{
|
|
15977
|
+
kind: "numeric",
|
|
15978
|
+
field: "uv",
|
|
15979
|
+
quantity: {
|
|
15980
|
+
en: "the UV index",
|
|
15981
|
+
it: "l’indice UV"
|
|
15982
|
+
},
|
|
15983
|
+
label: {
|
|
15984
|
+
en: "UV",
|
|
15985
|
+
it: "UV"
|
|
15986
|
+
},
|
|
15987
|
+
unit: "",
|
|
15988
|
+
icon: "cloud-sun"
|
|
15989
|
+
},
|
|
15990
|
+
{
|
|
15991
|
+
kind: "numeric",
|
|
15992
|
+
field: "solarRadiation",
|
|
15993
|
+
quantity: {
|
|
15994
|
+
en: "the solar radiation",
|
|
15995
|
+
it: "la radiazione solare"
|
|
15996
|
+
},
|
|
15997
|
+
label: {
|
|
15998
|
+
en: "Solar",
|
|
15999
|
+
it: "Sole"
|
|
16000
|
+
},
|
|
16001
|
+
unit: "W/m²",
|
|
16002
|
+
icon: "cloud-sun"
|
|
16003
|
+
},
|
|
16004
|
+
{
|
|
16005
|
+
kind: "numeric",
|
|
16006
|
+
field: "dewPoint",
|
|
16007
|
+
quantity: {
|
|
16008
|
+
en: "the dew point",
|
|
16009
|
+
it: "il punto di rugiada"
|
|
16010
|
+
},
|
|
16011
|
+
label: {
|
|
16012
|
+
en: "Dew point",
|
|
16013
|
+
it: "Punto di rugiada"
|
|
16014
|
+
},
|
|
16015
|
+
unit: "°C",
|
|
16016
|
+
icon: "thermometer"
|
|
16017
|
+
}
|
|
16018
|
+
]
|
|
16019
|
+
},
|
|
15843
16020
|
"battery": {
|
|
15844
16021
|
scope: "device",
|
|
15845
16022
|
noun: {
|
|
@@ -17354,6 +17531,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
17354
17531
|
"viewer-ui",
|
|
17355
17532
|
"water-heater",
|
|
17356
17533
|
"weather",
|
|
17534
|
+
"weather-station",
|
|
17357
17535
|
"webrtc-session",
|
|
17358
17536
|
"zone-analytics",
|
|
17359
17537
|
"zone-rules",
|
|
@@ -19333,6 +19511,56 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
19333
19511
|
"valueType": "number"
|
|
19334
19512
|
}
|
|
19335
19513
|
],
|
|
19514
|
+
"weather-station": [
|
|
19515
|
+
{
|
|
19516
|
+
"path": "temperature",
|
|
19517
|
+
"valueType": "number"
|
|
19518
|
+
},
|
|
19519
|
+
{
|
|
19520
|
+
"path": "humidity",
|
|
19521
|
+
"valueType": "number"
|
|
19522
|
+
},
|
|
19523
|
+
{
|
|
19524
|
+
"path": "pressure",
|
|
19525
|
+
"valueType": "number"
|
|
19526
|
+
},
|
|
19527
|
+
{
|
|
19528
|
+
"path": "windSpeed",
|
|
19529
|
+
"valueType": "number"
|
|
19530
|
+
},
|
|
19531
|
+
{
|
|
19532
|
+
"path": "windGust",
|
|
19533
|
+
"valueType": "number"
|
|
19534
|
+
},
|
|
19535
|
+
{
|
|
19536
|
+
"path": "windBearing",
|
|
19537
|
+
"valueType": "number"
|
|
19538
|
+
},
|
|
19539
|
+
{
|
|
19540
|
+
"path": "rainRate",
|
|
19541
|
+
"valueType": "number"
|
|
19542
|
+
},
|
|
19543
|
+
{
|
|
19544
|
+
"path": "rainDaily",
|
|
19545
|
+
"valueType": "number"
|
|
19546
|
+
},
|
|
19547
|
+
{
|
|
19548
|
+
"path": "rainEvent",
|
|
19549
|
+
"valueType": "number"
|
|
19550
|
+
},
|
|
19551
|
+
{
|
|
19552
|
+
"path": "uv",
|
|
19553
|
+
"valueType": "number"
|
|
19554
|
+
},
|
|
19555
|
+
{
|
|
19556
|
+
"path": "solarRadiation",
|
|
19557
|
+
"valueType": "number"
|
|
19558
|
+
},
|
|
19559
|
+
{
|
|
19560
|
+
"path": "dewPoint",
|
|
19561
|
+
"valueType": "number"
|
|
19562
|
+
}
|
|
19563
|
+
],
|
|
19336
19564
|
"zone-analytics": [
|
|
19337
19565
|
{
|
|
19338
19566
|
"path": "ts",
|
|
@@ -20441,6 +20669,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20441
20669
|
getStatus: (input) => dispatch("water-heater", "waterHeater", "getStatus", "query", input)
|
|
20442
20670
|
};
|
|
20443
20671
|
const weatherInterface = { getStatus: (input) => dispatch("weather", "weather", "getStatus", "query", input) };
|
|
20672
|
+
const weatherStationInterface = { getStatus: (input) => dispatch("weather-station", "weatherStation", "getStatus", "query", input) };
|
|
20444
20673
|
const webrtcSessionInterface = {
|
|
20445
20674
|
listStreams: (input) => dispatch("webrtc-session", "webrtcSession", "listStreams", "query", input),
|
|
20446
20675
|
createSession: (input) => dispatch("webrtc-session", "webrtcSession", "createSession", "mutation", input),
|
|
@@ -20723,6 +20952,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20723
20952
|
vibration: createSliceHandle(stateSource, binding.deviceId, "vibration"),
|
|
20724
20953
|
waterHeater: createSliceHandle(stateSource, binding.deviceId, "water-heater"),
|
|
20725
20954
|
weather: createSliceHandle(stateSource, binding.deviceId, "weather"),
|
|
20955
|
+
weatherStation: createSliceHandle(stateSource, binding.deviceId, "weather-station"),
|
|
20726
20956
|
zoneAnalytics: createSliceHandle(stateSource, binding.deviceId, "zone-analytics"),
|
|
20727
20957
|
zoneRules: createSliceHandle(stateSource, binding.deviceId, "zone-rules"),
|
|
20728
20958
|
zones: createSliceHandle(stateSource, binding.deviceId, "zones")
|
|
@@ -20828,6 +21058,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20828
21058
|
...bound("videoclips") ? { videoclips: videoclipsInterface } : {},
|
|
20829
21059
|
...bound("water-heater") ? { waterHeater: waterHeaterInterface } : {},
|
|
20830
21060
|
...bound("weather") ? { weather: weatherInterface } : {},
|
|
21061
|
+
...bound("weather-station") ? { weatherStation: weatherStationInterface } : {},
|
|
20831
21062
|
...bound("webrtc-session") ? { webrtcSession: webrtcSessionInterface } : {},
|
|
20832
21063
|
...bound("zone-analytics") ? { zoneAnalytics: zoneAnalyticsInterface } : {},
|
|
20833
21064
|
...bound("zone-rules") ? { zoneRules: zoneRulesInterface } : {},
|
|
@@ -20863,7 +21094,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20863
21094
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
20864
21095
|
* (~144MB RSS per runner, D28).
|
|
20865
21096
|
*
|
|
20866
|
-
* Coverage:
|
|
21097
|
+
* Coverage: 106 device-scoped capabilities.
|
|
20867
21098
|
*/
|
|
20868
21099
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
20869
21100
|
"accessories",
|
|
@@ -20967,6 +21198,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
20967
21198
|
"videoclips",
|
|
20968
21199
|
"water-heater",
|
|
20969
21200
|
"weather",
|
|
21201
|
+
"weather-station",
|
|
20970
21202
|
"webrtc-session",
|
|
20971
21203
|
"zone-analytics",
|
|
20972
21204
|
"zone-rules",
|