@camstack/types 1.2.561 → 1.2.562
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 +12 -0
- package/dist/addon/instances-of-cap.d.ts +7 -2
- package/dist/addon.js +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/automation/codegen.d.ts +6 -0
- package/dist/automation/recipe-literal.d.ts +35 -0
- package/dist/automation/recipe.d.ts +46 -0
- package/dist/automation/template-link.d.ts +206 -0
- package/dist/capabilities/energy-system.cap.d.ts +281 -0
- package/dist/capabilities/index.d.ts +4 -2
- package/dist/capabilities/integration-instances.cap.d.ts +9 -0
- package/dist/capabilities/template.cap.d.ts +39 -2
- package/dist/client.js +8 -0
- package/dist/client.mjs +8 -0
- package/dist/{composed-stable-id-iddnCQ51.mjs → composed-stable-id-B3wcvtvW.mjs} +4 -0
- package/dist/{composed-stable-id-BmJ_5GiE.js → composed-stable-id-Bp33yrYi.js} +4 -0
- package/dist/device/device-control-resolution.d.ts +1 -1
- package/dist/device/device-icon.d.ts +1 -0
- package/dist/device/device-type.d.ts +5 -1
- 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-CfaRR_ki.js → implemented-methods-CDYOCn9a.js} +1 -1
- package/dist/{implemented-methods-CSTk6zYK.mjs → implemented-methods-CgUBu6uM.mjs} +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1505 -171
- package/dist/index.mjs +1458 -172
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{sleep-CcUFeK6k.js → sleep-Cb2px0Nb.js} +105 -3
- package/dist/{sleep-C9PbO6Nb.mjs → sleep-Cykc2bzi.mjs} +105 -3
- package/dist/template/automation-template.d.ts +782 -0
- package/dist/template/builtin-automation-templates.d.ts +17 -0
- package/dist/template/template-kinds.d.ts +4 -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-Bp33yrYi.js");
|
|
25
|
+
const require_implemented_methods = require("./implemented-methods-CDYOCn9a.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-B3wcvtvW.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-CgUBu6uM.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-Ps2LC8dN.js");
|
|
2
|
-
const require_composed_stable_id = require("./composed-stable-id-
|
|
2
|
+
const require_composed_stable_id = require("./composed-stable-id-Bp33yrYi.js");
|
|
3
3
|
let zod = require("zod");
|
|
4
4
|
//#region src/audio/audio-chunk-format.ts
|
|
5
5
|
/**
|
|
@@ -7938,7 +7938,7 @@ var MODEL_FORMATS = [
|
|
|
7938
7938
|
//#region src/generated/cap-vocabulary.ts
|
|
7939
7939
|
/**
|
|
7940
7940
|
* THE cap vocabulary (D920), projected from the declarations of every
|
|
7941
|
-
* `*.cap.ts` (D1050):
|
|
7941
|
+
* `*.cap.ts` (D1050): 206 caps (105 device, 101 system).
|
|
7942
7942
|
* Device caps in their declared picker order, then system caps by name.
|
|
7943
7943
|
*/
|
|
7944
7944
|
var CAP_VOCABULARY = {
|
|
@@ -14864,6 +14864,13 @@ var CAP_VOCABULARY = {
|
|
|
14864
14864
|
}
|
|
14865
14865
|
]
|
|
14866
14866
|
},
|
|
14867
|
+
"energy-system": {
|
|
14868
|
+
scope: "device",
|
|
14869
|
+
noun: {
|
|
14870
|
+
en: "Energy system",
|
|
14871
|
+
it: "Sistema energetico"
|
|
14872
|
+
}
|
|
14873
|
+
},
|
|
14867
14874
|
"air-quality-sensor": {
|
|
14868
14875
|
scope: "device",
|
|
14869
14876
|
noun: {
|
|
@@ -17112,6 +17119,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
17112
17119
|
"do-not-disturb",
|
|
17113
17120
|
"doorbell",
|
|
17114
17121
|
"embedding-encoder",
|
|
17122
|
+
"energy-system",
|
|
17115
17123
|
"enum-sensor",
|
|
17116
17124
|
"event-emitter",
|
|
17117
17125
|
"face-gallery",
|
|
@@ -17890,6 +17898,96 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
17890
17898
|
"path": "pressCountSinceStart",
|
|
17891
17899
|
"valueType": "number"
|
|
17892
17900
|
}],
|
|
17901
|
+
"energy-system": [
|
|
17902
|
+
{
|
|
17903
|
+
"path": "solar.powerW",
|
|
17904
|
+
"valueType": "number"
|
|
17905
|
+
},
|
|
17906
|
+
{
|
|
17907
|
+
"path": "solar.energyKwh",
|
|
17908
|
+
"valueType": "number"
|
|
17909
|
+
},
|
|
17910
|
+
{
|
|
17911
|
+
"path": "solar.todayKwh",
|
|
17912
|
+
"valueType": "number"
|
|
17913
|
+
},
|
|
17914
|
+
{
|
|
17915
|
+
"path": "grid.powerW",
|
|
17916
|
+
"valueType": "number"
|
|
17917
|
+
},
|
|
17918
|
+
{
|
|
17919
|
+
"path": "grid.importKwh",
|
|
17920
|
+
"valueType": "number"
|
|
17921
|
+
},
|
|
17922
|
+
{
|
|
17923
|
+
"path": "grid.exportKwh",
|
|
17924
|
+
"valueType": "number"
|
|
17925
|
+
},
|
|
17926
|
+
{
|
|
17927
|
+
"path": "grid.importTodayKwh",
|
|
17928
|
+
"valueType": "number"
|
|
17929
|
+
},
|
|
17930
|
+
{
|
|
17931
|
+
"path": "grid.exportTodayKwh",
|
|
17932
|
+
"valueType": "number"
|
|
17933
|
+
},
|
|
17934
|
+
{
|
|
17935
|
+
"path": "house.powerW",
|
|
17936
|
+
"valueType": "number"
|
|
17937
|
+
},
|
|
17938
|
+
{
|
|
17939
|
+
"path": "house.energyKwh",
|
|
17940
|
+
"valueType": "number"
|
|
17941
|
+
},
|
|
17942
|
+
{
|
|
17943
|
+
"path": "house.todayKwh",
|
|
17944
|
+
"valueType": "number"
|
|
17945
|
+
},
|
|
17946
|
+
{
|
|
17947
|
+
"path": "heatPump.powerW",
|
|
17948
|
+
"valueType": "number"
|
|
17949
|
+
},
|
|
17950
|
+
{
|
|
17951
|
+
"path": "heatPump.energyKwh",
|
|
17952
|
+
"valueType": "number"
|
|
17953
|
+
},
|
|
17954
|
+
{
|
|
17955
|
+
"path": "heatPump.todayKwh",
|
|
17956
|
+
"valueType": "number"
|
|
17957
|
+
},
|
|
17958
|
+
{
|
|
17959
|
+
"path": "storage.stateOfChargePct",
|
|
17960
|
+
"valueType": "number"
|
|
17961
|
+
},
|
|
17962
|
+
{
|
|
17963
|
+
"path": "storage.storedKwh",
|
|
17964
|
+
"valueType": "number"
|
|
17965
|
+
},
|
|
17966
|
+
{
|
|
17967
|
+
"path": "storage.capacityKwh",
|
|
17968
|
+
"valueType": "number"
|
|
17969
|
+
},
|
|
17970
|
+
{
|
|
17971
|
+
"path": "storage.powerW",
|
|
17972
|
+
"valueType": "number"
|
|
17973
|
+
},
|
|
17974
|
+
{
|
|
17975
|
+
"path": "storage.chargedKwh",
|
|
17976
|
+
"valueType": "number"
|
|
17977
|
+
},
|
|
17978
|
+
{
|
|
17979
|
+
"path": "storage.dischargedKwh",
|
|
17980
|
+
"valueType": "number"
|
|
17981
|
+
},
|
|
17982
|
+
{
|
|
17983
|
+
"path": "storage.chargedTodayKwh",
|
|
17984
|
+
"valueType": "number"
|
|
17985
|
+
},
|
|
17986
|
+
{
|
|
17987
|
+
"path": "storage.dischargedTodayKwh",
|
|
17988
|
+
"valueType": "number"
|
|
17989
|
+
}
|
|
17990
|
+
],
|
|
17893
17991
|
"enum-sensor": [{
|
|
17894
17992
|
"path": "value",
|
|
17895
17993
|
"valueType": "string"
|
|
@@ -19812,6 +19910,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
19812
19910
|
getStatus: (input) => dispatch("do-not-disturb", "doNotDisturb", "getStatus", "query", input)
|
|
19813
19911
|
};
|
|
19814
19912
|
const doorbellInterface = { getStatus: (input) => dispatch("doorbell", "doorbell", "getStatus", "query", input) };
|
|
19913
|
+
const energySystemInterface = { getStatus: (input) => dispatch("energy-system", "energySystem", "getStatus", "query", input) };
|
|
19815
19914
|
const enumSensorInterface = { getStatus: (input) => dispatch("enum-sensor", "enumSensor", "getStatus", "query", input) };
|
|
19816
19915
|
const eventEmitterInterface = { getStatus: (input) => dispatch("event-emitter", "eventEmitter", "getStatus", "query", input) };
|
|
19817
19916
|
const fanControlInterface = {
|
|
@@ -20438,6 +20537,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20438
20537
|
dishwasher: createSliceHandle(stateSource, binding.deviceId, "dishwasher"),
|
|
20439
20538
|
doNotDisturb: createSliceHandle(stateSource, binding.deviceId, "do-not-disturb"),
|
|
20440
20539
|
doorbell: createSliceHandle(stateSource, binding.deviceId, "doorbell"),
|
|
20540
|
+
energySystem: createSliceHandle(stateSource, binding.deviceId, "energy-system"),
|
|
20441
20541
|
enumSensor: createSliceHandle(stateSource, binding.deviceId, "enum-sensor"),
|
|
20442
20542
|
eventEmitter: createSliceHandle(stateSource, binding.deviceId, "event-emitter"),
|
|
20443
20543
|
fanControl: createSliceHandle(stateSource, binding.deviceId, "fan-control"),
|
|
@@ -20533,6 +20633,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20533
20633
|
...bound("dishwasher") ? { dishwasher: dishwasherInterface } : {},
|
|
20534
20634
|
...bound("do-not-disturb") ? { doNotDisturb: doNotDisturbInterface } : {},
|
|
20535
20635
|
...bound("doorbell") ? { doorbell: doorbellInterface } : {},
|
|
20636
|
+
...bound("energy-system") ? { energySystem: energySystemInterface } : {},
|
|
20536
20637
|
...bound("enum-sensor") ? { enumSensor: enumSensorInterface } : {},
|
|
20537
20638
|
...bound("event-emitter") ? { eventEmitter: eventEmitterInterface } : {},
|
|
20538
20639
|
...bound("fan-control") ? { fanControl: fanControlInterface } : {},
|
|
@@ -20634,7 +20735,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20634
20735
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
20635
20736
|
* (~144MB RSS per runner, D28).
|
|
20636
20737
|
*
|
|
20637
|
-
* Coverage:
|
|
20738
|
+
* Coverage: 105 device-scoped capabilities.
|
|
20638
20739
|
*/
|
|
20639
20740
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
20640
20741
|
"accessories",
|
|
@@ -20671,6 +20772,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
20671
20772
|
"dishwasher",
|
|
20672
20773
|
"do-not-disturb",
|
|
20673
20774
|
"doorbell",
|
|
20775
|
+
"energy-system",
|
|
20674
20776
|
"enum-sensor",
|
|
20675
20777
|
"event-emitter",
|
|
20676
20778
|
"fan-control",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as EventCategory } from "./event-category-Dv-Gcv1f.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-B3wcvtvW.mjs";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/audio/audio-chunk-format.ts
|
|
5
5
|
/**
|
|
@@ -7938,7 +7938,7 @@ var MODEL_FORMATS = [
|
|
|
7938
7938
|
//#region src/generated/cap-vocabulary.ts
|
|
7939
7939
|
/**
|
|
7940
7940
|
* THE cap vocabulary (D920), projected from the declarations of every
|
|
7941
|
-
* `*.cap.ts` (D1050):
|
|
7941
|
+
* `*.cap.ts` (D1050): 206 caps (105 device, 101 system).
|
|
7942
7942
|
* Device caps in their declared picker order, then system caps by name.
|
|
7943
7943
|
*/
|
|
7944
7944
|
var CAP_VOCABULARY = {
|
|
@@ -14864,6 +14864,13 @@ var CAP_VOCABULARY = {
|
|
|
14864
14864
|
}
|
|
14865
14865
|
]
|
|
14866
14866
|
},
|
|
14867
|
+
"energy-system": {
|
|
14868
|
+
scope: "device",
|
|
14869
|
+
noun: {
|
|
14870
|
+
en: "Energy system",
|
|
14871
|
+
it: "Sistema energetico"
|
|
14872
|
+
}
|
|
14873
|
+
},
|
|
14867
14874
|
"air-quality-sensor": {
|
|
14868
14875
|
scope: "device",
|
|
14869
14876
|
noun: {
|
|
@@ -17112,6 +17119,7 @@ var CAP_NAMES = Object.freeze([
|
|
|
17112
17119
|
"do-not-disturb",
|
|
17113
17120
|
"doorbell",
|
|
17114
17121
|
"embedding-encoder",
|
|
17122
|
+
"energy-system",
|
|
17115
17123
|
"enum-sensor",
|
|
17116
17124
|
"event-emitter",
|
|
17117
17125
|
"face-gallery",
|
|
@@ -17890,6 +17898,96 @@ var CAP_STATE_LEAVES = Object.freeze({
|
|
|
17890
17898
|
"path": "pressCountSinceStart",
|
|
17891
17899
|
"valueType": "number"
|
|
17892
17900
|
}],
|
|
17901
|
+
"energy-system": [
|
|
17902
|
+
{
|
|
17903
|
+
"path": "solar.powerW",
|
|
17904
|
+
"valueType": "number"
|
|
17905
|
+
},
|
|
17906
|
+
{
|
|
17907
|
+
"path": "solar.energyKwh",
|
|
17908
|
+
"valueType": "number"
|
|
17909
|
+
},
|
|
17910
|
+
{
|
|
17911
|
+
"path": "solar.todayKwh",
|
|
17912
|
+
"valueType": "number"
|
|
17913
|
+
},
|
|
17914
|
+
{
|
|
17915
|
+
"path": "grid.powerW",
|
|
17916
|
+
"valueType": "number"
|
|
17917
|
+
},
|
|
17918
|
+
{
|
|
17919
|
+
"path": "grid.importKwh",
|
|
17920
|
+
"valueType": "number"
|
|
17921
|
+
},
|
|
17922
|
+
{
|
|
17923
|
+
"path": "grid.exportKwh",
|
|
17924
|
+
"valueType": "number"
|
|
17925
|
+
},
|
|
17926
|
+
{
|
|
17927
|
+
"path": "grid.importTodayKwh",
|
|
17928
|
+
"valueType": "number"
|
|
17929
|
+
},
|
|
17930
|
+
{
|
|
17931
|
+
"path": "grid.exportTodayKwh",
|
|
17932
|
+
"valueType": "number"
|
|
17933
|
+
},
|
|
17934
|
+
{
|
|
17935
|
+
"path": "house.powerW",
|
|
17936
|
+
"valueType": "number"
|
|
17937
|
+
},
|
|
17938
|
+
{
|
|
17939
|
+
"path": "house.energyKwh",
|
|
17940
|
+
"valueType": "number"
|
|
17941
|
+
},
|
|
17942
|
+
{
|
|
17943
|
+
"path": "house.todayKwh",
|
|
17944
|
+
"valueType": "number"
|
|
17945
|
+
},
|
|
17946
|
+
{
|
|
17947
|
+
"path": "heatPump.powerW",
|
|
17948
|
+
"valueType": "number"
|
|
17949
|
+
},
|
|
17950
|
+
{
|
|
17951
|
+
"path": "heatPump.energyKwh",
|
|
17952
|
+
"valueType": "number"
|
|
17953
|
+
},
|
|
17954
|
+
{
|
|
17955
|
+
"path": "heatPump.todayKwh",
|
|
17956
|
+
"valueType": "number"
|
|
17957
|
+
},
|
|
17958
|
+
{
|
|
17959
|
+
"path": "storage.stateOfChargePct",
|
|
17960
|
+
"valueType": "number"
|
|
17961
|
+
},
|
|
17962
|
+
{
|
|
17963
|
+
"path": "storage.storedKwh",
|
|
17964
|
+
"valueType": "number"
|
|
17965
|
+
},
|
|
17966
|
+
{
|
|
17967
|
+
"path": "storage.capacityKwh",
|
|
17968
|
+
"valueType": "number"
|
|
17969
|
+
},
|
|
17970
|
+
{
|
|
17971
|
+
"path": "storage.powerW",
|
|
17972
|
+
"valueType": "number"
|
|
17973
|
+
},
|
|
17974
|
+
{
|
|
17975
|
+
"path": "storage.chargedKwh",
|
|
17976
|
+
"valueType": "number"
|
|
17977
|
+
},
|
|
17978
|
+
{
|
|
17979
|
+
"path": "storage.dischargedKwh",
|
|
17980
|
+
"valueType": "number"
|
|
17981
|
+
},
|
|
17982
|
+
{
|
|
17983
|
+
"path": "storage.chargedTodayKwh",
|
|
17984
|
+
"valueType": "number"
|
|
17985
|
+
},
|
|
17986
|
+
{
|
|
17987
|
+
"path": "storage.dischargedTodayKwh",
|
|
17988
|
+
"valueType": "number"
|
|
17989
|
+
}
|
|
17990
|
+
],
|
|
17893
17991
|
"enum-sensor": [{
|
|
17894
17992
|
"path": "value",
|
|
17895
17993
|
"valueType": "string"
|
|
@@ -19812,6 +19910,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
19812
19910
|
getStatus: (input) => dispatch("do-not-disturb", "doNotDisturb", "getStatus", "query", input)
|
|
19813
19911
|
};
|
|
19814
19912
|
const doorbellInterface = { getStatus: (input) => dispatch("doorbell", "doorbell", "getStatus", "query", input) };
|
|
19913
|
+
const energySystemInterface = { getStatus: (input) => dispatch("energy-system", "energySystem", "getStatus", "query", input) };
|
|
19815
19914
|
const enumSensorInterface = { getStatus: (input) => dispatch("enum-sensor", "enumSensor", "getStatus", "query", input) };
|
|
19816
19915
|
const eventEmitterInterface = { getStatus: (input) => dispatch("event-emitter", "eventEmitter", "getStatus", "query", input) };
|
|
19817
19916
|
const fanControlInterface = {
|
|
@@ -20438,6 +20537,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20438
20537
|
dishwasher: createSliceHandle(stateSource, binding.deviceId, "dishwasher"),
|
|
20439
20538
|
doNotDisturb: createSliceHandle(stateSource, binding.deviceId, "do-not-disturb"),
|
|
20440
20539
|
doorbell: createSliceHandle(stateSource, binding.deviceId, "doorbell"),
|
|
20540
|
+
energySystem: createSliceHandle(stateSource, binding.deviceId, "energy-system"),
|
|
20441
20541
|
enumSensor: createSliceHandle(stateSource, binding.deviceId, "enum-sensor"),
|
|
20442
20542
|
eventEmitter: createSliceHandle(stateSource, binding.deviceId, "event-emitter"),
|
|
20443
20543
|
fanControl: createSliceHandle(stateSource, binding.deviceId, "fan-control"),
|
|
@@ -20533,6 +20633,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20533
20633
|
...bound("dishwasher") ? { dishwasher: dishwasherInterface } : {},
|
|
20534
20634
|
...bound("do-not-disturb") ? { doNotDisturb: doNotDisturbInterface } : {},
|
|
20535
20635
|
...bound("doorbell") ? { doorbell: doorbellInterface } : {},
|
|
20636
|
+
...bound("energy-system") ? { energySystem: energySystemInterface } : {},
|
|
20536
20637
|
...bound("enum-sensor") ? { enumSensor: enumSensorInterface } : {},
|
|
20537
20638
|
...bound("event-emitter") ? { eventEmitter: eventEmitterInterface } : {},
|
|
20538
20639
|
...bound("fan-control") ? { fanControl: fanControlInterface } : {},
|
|
@@ -20634,7 +20735,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
20634
20735
|
* can answer "may a rule actuate this?" without importing the schema barrel
|
|
20635
20736
|
* (~144MB RSS per runner, D28).
|
|
20636
20737
|
*
|
|
20637
|
-
* Coverage:
|
|
20738
|
+
* Coverage: 105 device-scoped capabilities.
|
|
20638
20739
|
*/
|
|
20639
20740
|
var DEVICE_SCOPED_CAPS = new Set([
|
|
20640
20741
|
"accessories",
|
|
@@ -20671,6 +20772,7 @@ var DEVICE_SCOPED_CAPS = new Set([
|
|
|
20671
20772
|
"dishwasher",
|
|
20672
20773
|
"do-not-disturb",
|
|
20673
20774
|
"doorbell",
|
|
20775
|
+
"energy-system",
|
|
20674
20776
|
"enum-sensor",
|
|
20675
20777
|
"event-emitter",
|
|
20676
20778
|
"fan-control",
|