@camstack/types 1.2.560 → 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 +22 -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 +166 -120
- package/dist/automation/template-link.d.ts +206 -0
- package/dist/capabilities/accessories.cap.d.ts +6 -0
- package/dist/capabilities/action-source.cap.d.ts +3 -0
- package/dist/capabilities/actions.cap.d.ts +3 -0
- package/dist/capabilities/addon-pages-source.cap.d.ts +3 -0
- package/dist/capabilities/addon-pages.cap.d.ts +3 -0
- package/dist/capabilities/addon-routes.cap.d.ts +3 -0
- package/dist/capabilities/addon-settings.cap.d.ts +3 -0
- package/dist/capabilities/addon-widgets-source.cap.d.ts +3 -0
- package/dist/capabilities/addon-widgets.cap.d.ts +3 -0
- package/dist/capabilities/addons.cap.d.ts +3 -0
- package/dist/capabilities/admin-ui.cap.d.ts +3 -0
- package/dist/capabilities/air-quality-sensor.cap.d.ts +39 -0
- package/dist/capabilities/alarm-panel.cap.d.ts +60 -14
- package/dist/capabilities/alerts.cap.d.ts +3 -0
- package/dist/capabilities/ambient-light-sensor.cap.d.ts +12 -0
- package/dist/capabilities/audio-analysis.cap.d.ts +4 -0
- package/dist/capabilities/audio-analyzer.cap.d.ts +3 -0
- package/dist/capabilities/audio-codec.cap.d.ts +3 -0
- package/dist/capabilities/audio-metrics.cap.d.ts +4 -0
- package/dist/capabilities/auth-provider.cap.d.ts +3 -0
- package/dist/capabilities/automation-control.cap.d.ts +19 -0
- package/dist/capabilities/backup.cap.d.ts +3 -0
- package/dist/capabilities/battery.cap.d.ts +53 -0
- package/dist/capabilities/binary.cap.d.ts +136 -0
- package/dist/capabilities/board-key-source.cap.d.ts +3 -0
- package/dist/capabilities/brightness.cap.d.ts +13 -0
- package/dist/capabilities/broker.cap.d.ts +3 -0
- package/dist/capabilities/button.cap.d.ts +4 -0
- package/dist/capabilities/calendar-source.cap.d.ts +3 -0
- package/dist/capabilities/calendars.cap.d.ts +3 -0
- package/dist/capabilities/camera-credentials.cap.d.ts +4 -0
- package/dist/capabilities/camera-grid-layout.cap.d.ts +4 -0
- package/dist/capabilities/camera-pipeline-config.cap.d.ts +4 -0
- package/dist/capabilities/camera-streams.cap.d.ts +4 -0
- package/dist/capabilities/capability-definition.d.ts +37 -8
- package/dist/capabilities/carbon-monoxide.cap.d.ts +12 -0
- package/dist/capabilities/climate-control.cap.d.ts +68 -12
- package/dist/capabilities/cluster-update.cap.d.ts +3 -0
- package/dist/capabilities/color.cap.d.ts +21 -0
- package/dist/capabilities/composer.cap.d.ts +3 -0
- package/dist/capabilities/connectivity.cap.d.ts +12 -0
- package/dist/capabilities/consumables.cap.d.ts +4 -0
- package/dist/capabilities/contact.cap.d.ts +12 -0
- package/dist/capabilities/control.cap.d.ts +15 -0
- package/dist/capabilities/core-blocks.cap.d.ts +3 -0
- package/dist/capabilities/cover.cap.d.ts +110 -0
- package/dist/capabilities/custom-model-registry.cap.d.ts +3 -0
- package/dist/capabilities/data-store-provider.cap.d.ts +3 -0
- package/dist/capabilities/database-snapshot.cap.d.ts +3 -0
- package/dist/capabilities/day-night.cap.d.ts +25 -0
- package/dist/capabilities/decoder.cap.d.ts +3 -0
- package/dist/capabilities/detection-pipeline.cap.d.ts +4 -0
- package/dist/capabilities/device-admin-link.cap.d.ts +4 -0
- package/dist/capabilities/device-adoption.cap.d.ts +3 -0
- package/dist/capabilities/device-credentials.cap.d.ts +3 -0
- package/dist/capabilities/device-export.cap.d.ts +3 -0
- package/dist/capabilities/device-extension.cap.d.ts +4 -0
- package/dist/capabilities/device-history.cap.d.ts +3 -0
- package/dist/capabilities/device-manager.cap.d.ts +3 -0
- package/dist/capabilities/device-ops.cap.d.ts +4 -0
- package/dist/capabilities/device-provider.cap.d.ts +3 -0
- package/dist/capabilities/device-removal-hook.cap.d.ts +3 -0
- package/dist/capabilities/device-runs.cap.d.ts +6 -0
- package/dist/capabilities/device-state.cap.d.ts +3 -0
- package/dist/capabilities/device-status.cap.d.ts +25 -0
- package/dist/capabilities/device-transitions.cap.d.ts +4 -0
- package/dist/capabilities/dishwasher.cap.d.ts +60 -0
- package/dist/capabilities/display-palette.cap.d.ts +3 -0
- package/dist/capabilities/do-not-disturb.cap.d.ts +12 -0
- package/dist/capabilities/doorbell.cap.d.ts +11 -0
- package/dist/capabilities/embedding-encoder.cap.d.ts +3 -0
- package/dist/capabilities/energy-system.cap.d.ts +281 -0
- package/dist/capabilities/enum-sensor.cap.d.ts +10 -0
- package/dist/capabilities/event-emitter.cap.d.ts +11 -0
- package/dist/capabilities/face-gallery.cap.d.ts +3 -0
- package/dist/capabilities/failure-contribution.cap.d.ts +3 -0
- package/dist/capabilities/fan-control.cap.d.ts +19 -0
- package/dist/capabilities/fan-presets.cap.d.ts +3 -0
- package/dist/capabilities/feature-probe.cap.d.ts +5 -0
- package/dist/capabilities/filesystem-browse.cap.d.ts +3 -0
- package/dist/capabilities/flood.cap.d.ts +12 -0
- package/dist/capabilities/gas.cap.d.ts +12 -0
- package/dist/capabilities/group-active.cap.d.ts +4 -0
- package/dist/capabilities/group-commands.cap.d.ts +4 -0
- package/dist/capabilities/group-status.cap.d.ts +23 -0
- package/dist/capabilities/heat-pump-control.cap.d.ts +4 -0
- package/dist/capabilities/heat-pump-status.cap.d.ts +4 -0
- package/dist/capabilities/heating-valve.cap.d.ts +12 -0
- package/dist/capabilities/hero-layout.cap.d.ts +3 -0
- package/dist/capabilities/humidifier.cap.d.ts +19 -0
- package/dist/capabilities/humidity-sensor.cap.d.ts +12 -0
- package/dist/capabilities/image-settings.cap.d.ts +4 -0
- package/dist/capabilities/image.cap.d.ts +4 -0
- package/dist/capabilities/index.d.ts +5 -3
- package/dist/capabilities/integration-instances.cap.d.ts +12 -0
- package/dist/capabilities/integrations.cap.d.ts +3 -0
- package/dist/capabilities/intercom.cap.d.ts +13 -0
- package/dist/capabilities/ir-transmitter.cap.d.ts +101 -0
- package/dist/capabilities/keychain-admin.cap.d.ts +3 -0
- package/dist/capabilities/keychain.cap.d.ts +3 -0
- package/dist/capabilities/lawn-mower-control.cap.d.ts +36 -0
- package/dist/capabilities/llm-runtime.cap.d.ts +3 -0
- package/dist/capabilities/llm.cap.d.ts +3 -0
- package/dist/capabilities/load-contribution.cap.d.ts +3 -0
- package/dist/capabilities/local-network.cap.d.ts +3 -0
- package/dist/capabilities/lock-control.cap.d.ts +35 -0
- package/dist/capabilities/log-channels.cap.d.ts +3 -0
- package/dist/capabilities/log-destination.cap.d.ts +3 -0
- package/dist/capabilities/login-method.cap.d.ts +3 -0
- package/dist/capabilities/media-player.cap.d.ts +66 -6
- package/dist/capabilities/mesh-network.cap.d.ts +3 -0
- package/dist/capabilities/meter.cap.d.ts +11 -0
- package/dist/capabilities/metrics-provider.cap.d.ts +3 -0
- package/dist/capabilities/migrations.cap.d.ts +3 -0
- package/dist/capabilities/model-convert.cap.d.ts +3 -0
- package/dist/capabilities/model-distributor.cap.d.ts +3 -0
- package/dist/capabilities/motion-detection.cap.d.ts +5 -0
- package/dist/capabilities/motion-trigger.cap.d.ts +13 -0
- package/dist/capabilities/motion-zones.cap.d.ts +4 -0
- package/dist/capabilities/motion.cap.d.ts +13 -0
- package/dist/capabilities/mqtt-broker.cap.d.ts +3 -0
- package/dist/capabilities/native-object-detection.cap.d.ts +19 -0
- package/dist/capabilities/navigation.cap.d.ts +36 -0
- package/dist/capabilities/network-access.cap.d.ts +3 -0
- package/dist/capabilities/network-link.cap.d.ts +31 -0
- package/dist/capabilities/network-quality.cap.d.ts +3 -0
- package/dist/capabilities/node-certificates.cap.d.ts +3 -0
- package/dist/capabilities/node-removal-hook.cap.d.ts +3 -0
- package/dist/capabilities/nodes.cap.d.ts +3 -0
- package/dist/capabilities/notification-output.cap.d.ts +3 -0
- package/dist/capabilities/notification-rules.cap.d.ts +3 -0
- package/dist/capabilities/notifier.cap.d.ts +5 -0
- package/dist/capabilities/numeric-sensor.cap.d.ts +11 -0
- package/dist/capabilities/oauth-integration.cap.d.ts +3 -0
- package/dist/capabilities/osd-manager.cap.d.ts +3 -0
- package/dist/capabilities/osd.cap.d.ts +5 -0
- package/dist/capabilities/pet-feeder.cap.d.ts +35 -9
- package/dist/capabilities/pet-fountain.cap.d.ts +19 -0
- package/dist/capabilities/pipeline-analytics.cap.d.ts +35 -0
- package/dist/capabilities/pipeline-executor.cap.d.ts +3 -0
- package/dist/capabilities/pipeline-orchestrator.cap.d.ts +3 -0
- package/dist/capabilities/pipeline-runner.cap.d.ts +3 -0
- package/dist/capabilities/plate-gallery.cap.d.ts +3 -0
- package/dist/capabilities/platform-probe.cap.d.ts +3 -0
- package/dist/capabilities/power-meter.cap.d.ts +33 -0
- package/dist/capabilities/power-source.cap.d.ts +12 -0
- package/dist/capabilities/presence.cap.d.ts +11 -0
- package/dist/capabilities/pressure-sensor.cap.d.ts +12 -0
- package/dist/capabilities/privacy-mask.cap.d.ts +19 -0
- package/dist/capabilities/ptz-autotrack.cap.d.ts +13 -0
- package/dist/capabilities/ptz.cap.d.ts +11 -7
- package/dist/capabilities/pump-cycle.cap.d.ts +12 -0
- package/dist/capabilities/reboot.cap.d.ts +4 -0
- package/dist/capabilities/record-entries.cap.d.ts +3 -0
- package/dist/capabilities/recording-archive.cap.d.ts +3 -0
- package/dist/capabilities/recording-export.cap.d.ts +3 -0
- package/dist/capabilities/recording-onboard.cap.d.ts +12 -0
- package/dist/capabilities/recording-signal.cap.d.ts +12 -0
- package/dist/capabilities/recording.cap.d.ts +4 -0
- package/dist/capabilities/records.cap.d.ts +3 -0
- package/dist/capabilities/remote-layout-components.cap.d.ts +3 -0
- package/dist/capabilities/remote.cap.d.ts +3 -0
- package/dist/capabilities/running-state.cap.d.ts +77 -0
- package/dist/capabilities/scene-monitor.cap.d.ts +11 -0
- package/dist/capabilities/schedulers.cap.d.ts +3 -0
- package/dist/capabilities/script-runner.cap.d.ts +12 -0
- package/dist/capabilities/server-management.cap.d.ts +3 -0
- package/dist/capabilities/settings-store.cap.d.ts +3 -0
- package/dist/capabilities/smoke.cap.d.ts +12 -0
- package/dist/capabilities/smtp-provider.cap.d.ts +3 -0
- package/dist/capabilities/snapshot.cap.d.ts +4 -0
- package/dist/capabilities/sso-bridge.cap.d.ts +3 -0
- package/dist/capabilities/storage-admin.cap.d.ts +3 -0
- package/dist/capabilities/storage-evictable.cap.d.ts +3 -0
- package/dist/capabilities/storage-migration.cap.d.ts +3 -0
- package/dist/capabilities/storage-occupancy.cap.d.ts +3 -0
- package/dist/capabilities/storage-provider.cap.d.ts +3 -0
- package/dist/capabilities/storage.cap.d.ts +3 -0
- package/dist/capabilities/stream-broker.cap.d.ts +3 -0
- package/dist/capabilities/stream-catalog.cap.d.ts +4 -0
- package/dist/capabilities/stream-params.cap.d.ts +4 -0
- package/dist/capabilities/stream-signals.cap.d.ts +4 -0
- package/dist/capabilities/switch.cap.d.ts +208 -0
- package/dist/capabilities/system.cap.d.ts +3 -0
- package/dist/capabilities/tamper.cap.d.ts +12 -0
- package/dist/capabilities/temperature-sensor.cap.d.ts +12 -0
- package/dist/capabilities/template.cap.d.ts +42 -2
- package/dist/capabilities/terminal-session.cap.d.ts +3 -0
- package/dist/capabilities/timed-run.cap.d.ts +4 -0
- package/dist/capabilities/toast.cap.d.ts +3 -0
- package/dist/capabilities/training-provider.cap.d.ts +3 -0
- package/dist/capabilities/training.cap.d.ts +3 -0
- package/dist/capabilities/turn-provider.cap.d.ts +3 -0
- package/dist/capabilities/update.cap.d.ts +19 -0
- package/dist/capabilities/user-management.cap.d.ts +3 -0
- package/dist/capabilities/user-passkeys.cap.d.ts +3 -0
- package/dist/capabilities/vacuum-control.cap.d.ts +43 -0
- package/dist/capabilities/valve.cap.d.ts +38 -0
- package/dist/capabilities/vector-store.cap.d.ts +3 -0
- package/dist/capabilities/vibration.cap.d.ts +12 -0
- package/dist/capabilities/videoclips.cap.d.ts +4 -0
- package/dist/capabilities/viewer-ui.cap.d.ts +3 -0
- package/dist/capabilities/water-heater.cap.d.ts +33 -4
- package/dist/capabilities/weather.cap.d.ts +39 -0
- package/dist/capabilities/webrtc-session.cap.d.ts +4 -0
- package/dist/capabilities/zone-analytics.cap.d.ts +11 -0
- package/dist/capabilities/zone-rules.cap.d.ts +4 -0
- package/dist/capabilities/zones.cap.d.ts +4 -0
- package/dist/client.js +186 -29
- package/dist/client.mjs +186 -29
- 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/cap-vocabulary/declaration.d.ts +107 -0
- package/dist/device/cap-vocabulary/index.d.ts +4 -2
- package/dist/device/cap-vocabulary/system-reasons.d.ts +17 -0
- package/dist/device/cap-vocabulary/types.d.ts +24 -6
- package/dist/device/cap-vocabulary/vocabulary.d.ts +15 -3
- 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 +66 -52
- 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 +7 -0
- 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 +6 -0
- package/dist/generated/device-proxy.d.ts +4 -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 +6 -2
- package/dist/index.js +6739 -765
- package/dist/index.mjs +6685 -766
- package/dist/node.js +2 -2
- package/dist/node.mjs +2 -2
- package/dist/{sleep-CyWfD1LJ.js → sleep-Cb2px0Nb.js} +5706 -1620
- package/dist/{sleep-BvVGLl30.mjs → sleep-Cykc2bzi.mjs} +5701 -1621
- 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/device/cap-vocabulary/entries/actuators.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/appliances.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/camera.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/heat-pump.d.ts +0 -4
- package/dist/device/cap-vocabulary/entries/sensors.d.ts +0 -5
- package/dist/device/cap-vocabulary/entries/system.d.ts +0 -8
|
@@ -48,5 +48,17 @@ export declare const vibrationCapability: {
|
|
|
48
48
|
/** Clock fields: written, but excluded from the compare that decides
|
|
49
49
|
* whether persisting is worth a SQLite commit. */
|
|
50
50
|
readonly volatileStateFields: readonly ["lastChangedAt"];
|
|
51
|
+
readonly vocabulary: {
|
|
52
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
53
|
+
readonly order: 5220;
|
|
54
|
+
readonly state: readonly [{
|
|
55
|
+
readonly kind: 'boolean';
|
|
56
|
+
readonly field: 'detected';
|
|
57
|
+
readonly label: import("../index.js").VocabL10n;
|
|
58
|
+
readonly whenTrue: import("../index.js").VocabL10n;
|
|
59
|
+
readonly whenFalse: import("../index.js").VocabL10n;
|
|
60
|
+
readonly icon: 'vibrate';
|
|
61
|
+
}];
|
|
62
|
+
};
|
|
51
63
|
};
|
|
52
64
|
export type IVibrationProvider = InferProvider<typeof vibrationCapability>;
|
|
@@ -921,6 +921,10 @@ export declare const videoclipsCapability: {
|
|
|
921
921
|
readonly providerOptional: true;
|
|
922
922
|
};
|
|
923
923
|
};
|
|
924
|
+
readonly vocabulary: {
|
|
925
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
926
|
+
readonly order: 3330;
|
|
927
|
+
};
|
|
924
928
|
};
|
|
925
929
|
export type IVideoclipsProvider = InferProvider<typeof videoclipsCapability>;
|
|
926
930
|
/**
|
|
@@ -35,5 +35,8 @@ export declare const viewerUiCapability: {
|
|
|
35
35
|
version: z.ZodString;
|
|
36
36
|
}, z.core.$strip>, import("./capability-definition.js").CapabilityMethodKind>;
|
|
37
37
|
};
|
|
38
|
+
readonly vocabulary: {
|
|
39
|
+
readonly notOperatorFacing: "admin UI plumbing — pages, widgets and routes, not something a device does";
|
|
40
|
+
};
|
|
38
41
|
};
|
|
39
42
|
export type IViewerUiProvider = InferProvider<typeof viewerUiCapability>;
|
|
@@ -41,10 +41,6 @@ export declare const waterHeaterCapability: {
|
|
|
41
41
|
readonly lastField: 'lastActiveMode';
|
|
42
42
|
};
|
|
43
43
|
readonly methods: {
|
|
44
|
-
readonly setTargetTemp: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
45
|
-
deviceId: z.ZodNumber;
|
|
46
|
-
temp: z.ZodNumber;
|
|
47
|
-
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
48
44
|
readonly setOperationMode: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
49
45
|
deviceId: z.ZodNumber;
|
|
50
46
|
mode: z.ZodString;
|
|
@@ -53,6 +49,10 @@ export declare const waterHeaterCapability: {
|
|
|
53
49
|
deviceId: z.ZodNumber;
|
|
54
50
|
on: z.ZodBoolean;
|
|
55
51
|
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
52
|
+
readonly setTargetTemp: import("./capability-definition.js").CapabilityMethodSchema<z.ZodObject<{
|
|
53
|
+
deviceId: z.ZodNumber;
|
|
54
|
+
temp: z.ZodNumber;
|
|
55
|
+
}, z.core.$strip>, z.ZodVoid, "mutation">;
|
|
56
56
|
};
|
|
57
57
|
readonly status: {
|
|
58
58
|
readonly schema: z.ZodObject<{
|
|
@@ -108,5 +108,34 @@ export declare const waterHeaterCapability: {
|
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
|
+
readonly vocabulary: {
|
|
112
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
113
|
+
readonly order: 1100;
|
|
114
|
+
readonly state: readonly [{
|
|
115
|
+
readonly kind: 'numeric';
|
|
116
|
+
readonly field: 'currentTemp';
|
|
117
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
118
|
+
readonly label: import("../index.js").VocabL10n;
|
|
119
|
+
readonly unit: '°C';
|
|
120
|
+
readonly icon: 'thermometer';
|
|
121
|
+
}, {
|
|
122
|
+
readonly kind: 'boolean';
|
|
123
|
+
readonly field: 'away';
|
|
124
|
+
readonly label: import("../index.js").VocabL10n;
|
|
125
|
+
readonly whenTrue: import("../index.js").VocabL10n;
|
|
126
|
+
readonly whenFalse: import("../index.js").VocabL10n;
|
|
127
|
+
readonly icon: 'plane';
|
|
128
|
+
}, {
|
|
129
|
+
readonly kind: 'value';
|
|
130
|
+
readonly field: 'operationMode';
|
|
131
|
+
readonly label: import("../index.js").VocabL10n;
|
|
132
|
+
readonly offer: {
|
|
133
|
+
readonly kind: 'dynamic';
|
|
134
|
+
readonly from: 'status';
|
|
135
|
+
readonly field: 'availableModes';
|
|
136
|
+
};
|
|
137
|
+
readonly icon: 'list';
|
|
138
|
+
}];
|
|
139
|
+
};
|
|
111
140
|
};
|
|
112
141
|
export type IWaterHeaterProvider = InferProvider<typeof waterHeaterCapability>;
|
|
@@ -96,5 +96,44 @@ export declare const weatherCapability: {
|
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
+
readonly vocabulary: {
|
|
100
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
101
|
+
readonly order: 5230;
|
|
102
|
+
readonly state: readonly [{
|
|
103
|
+
readonly kind: 'value';
|
|
104
|
+
readonly field: 'condition';
|
|
105
|
+
readonly label: import("../index.js").VocabL10n;
|
|
106
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
107
|
+
readonly icon: 'cloud-sun';
|
|
108
|
+
}, {
|
|
109
|
+
readonly kind: 'numeric';
|
|
110
|
+
readonly field: 'temperature';
|
|
111
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
112
|
+
readonly label: import("../index.js").VocabL10n;
|
|
113
|
+
readonly unit: '°C';
|
|
114
|
+
readonly icon: 'thermometer';
|
|
115
|
+
}, {
|
|
116
|
+
readonly kind: 'numeric';
|
|
117
|
+
readonly field: 'humidity';
|
|
118
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
119
|
+
readonly label: import("../index.js").VocabL10n;
|
|
120
|
+
readonly unit: '%';
|
|
121
|
+
readonly icon: 'droplets';
|
|
122
|
+
}, {
|
|
123
|
+
readonly kind: 'numeric';
|
|
124
|
+
readonly field: 'windSpeed';
|
|
125
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
126
|
+
readonly label: import("../index.js").VocabL10n;
|
|
127
|
+
readonly unit: 'm/s';
|
|
128
|
+
readonly icon: 'wind';
|
|
129
|
+
}, {
|
|
130
|
+
readonly kind: 'numeric';
|
|
131
|
+
readonly field: 'pressure';
|
|
132
|
+
readonly quantity: import("../index.js").VocabL10n;
|
|
133
|
+
readonly label: import("../index.js").VocabL10n;
|
|
134
|
+
readonly unit: 'hPa';
|
|
135
|
+
readonly icon: 'gauge';
|
|
136
|
+
}];
|
|
137
|
+
};
|
|
99
138
|
};
|
|
100
139
|
export type IWeatherProvider = InferProvider<typeof weatherCapability>;
|
|
@@ -719,5 +719,9 @@ export declare const webrtcSessionCapability: {
|
|
|
719
719
|
readonly mount: {
|
|
720
720
|
readonly kind: 'server-provided';
|
|
721
721
|
};
|
|
722
|
+
readonly vocabulary: {
|
|
723
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
724
|
+
readonly order: 3340;
|
|
725
|
+
};
|
|
722
726
|
};
|
|
723
727
|
export type IWebrtcSessionProvider = InferProvider<typeof webrtcSessionCapability>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { DeviceType } from '../device/device-type.js';
|
|
3
3
|
import { type InferProvider } from './capability-definition.js';
|
|
4
|
+
import { EventCategory } from '../enums/event-category.js';
|
|
4
5
|
/**
|
|
5
6
|
* Per-zone occupancy aggregation produced by the analytics frame
|
|
6
7
|
* processor on every inference result. Covers the full combinatorial
|
|
@@ -466,6 +467,16 @@ export declare const zoneAnalyticsCapability: {
|
|
|
466
467
|
* History (D850): none — occupancy is the addon series `pipeline-analytics/occupancy`; the rest is per-zone arrays keyed by runtime ids.
|
|
467
468
|
*/
|
|
468
469
|
readonly history: 'none';
|
|
470
|
+
readonly vocabulary: {
|
|
471
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
472
|
+
readonly order: 3350;
|
|
473
|
+
readonly extraEvents: readonly [{
|
|
474
|
+
readonly category: EventCategory.ZoneAnalyticsOccupancyChanged;
|
|
475
|
+
readonly label: import("../index.js").VocabL10n;
|
|
476
|
+
readonly phrase: import("../index.js").VocabL10n;
|
|
477
|
+
readonly icon: 'square-dashed';
|
|
478
|
+
}];
|
|
479
|
+
};
|
|
469
480
|
};
|
|
470
481
|
export type IZoneAnalyticsProvider = InferProvider<typeof zoneAnalyticsCapability>;
|
|
471
482
|
export { CameraOccupancySnapshotSchema as _CameraOccupancySnapshotSchema, HistoryPointSchema, HistoryRangeSchema, HistoryResolutionEnum, PerScopeBreakdownSchema, StationaryObjectSchema, ZoneScopeBreakdownSchema, };
|
|
@@ -170,5 +170,9 @@ export declare const zoneRulesCapability: {
|
|
|
170
170
|
* History (D850): none — configuration arrays.
|
|
171
171
|
*/
|
|
172
172
|
readonly history: 'none';
|
|
173
|
+
readonly vocabulary: {
|
|
174
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
175
|
+
readonly order: 3360;
|
|
176
|
+
};
|
|
173
177
|
};
|
|
174
178
|
export type IZoneRulesProvider = InferProvider<typeof zoneRulesCapability>;
|
|
@@ -157,5 +157,9 @@ export declare const zonesCapability: {
|
|
|
157
157
|
* History (D850): none — configuration arrays.
|
|
158
158
|
*/
|
|
159
159
|
readonly history: 'none';
|
|
160
|
+
readonly vocabulary: {
|
|
161
|
+
readonly noun: import("../index.js").VocabL10n;
|
|
162
|
+
readonly order: 3370;
|
|
163
|
+
};
|
|
160
164
|
};
|
|
161
165
|
export type IZonesProvider = InferProvider<typeof zonesCapability>;
|
package/dist/client.js
CHANGED
|
@@ -141,6 +141,8 @@ function method(input, output, options) {
|
|
|
141
141
|
...options?.access !== void 0 ? { access: options.access } : {},
|
|
142
142
|
...options?.role !== void 0 ? { role: options.role } : {},
|
|
143
143
|
...options?.caller !== void 0 ? { caller: options.caller } : {},
|
|
144
|
+
...options?.actions !== void 0 ? { actions: options.actions } : {},
|
|
145
|
+
...options?.notOperatorFacing !== void 0 ? { notOperatorFacing: options.notOperatorFacing } : {},
|
|
144
146
|
timeoutMs: options?.timeoutMs
|
|
145
147
|
};
|
|
146
148
|
}
|
|
@@ -594,6 +596,25 @@ var PeerBytesTicketSchema = zod.z.object({
|
|
|
594
596
|
declaredBytes: zod.z.number().int().nonnegative().nullable()
|
|
595
597
|
});
|
|
596
598
|
//#endregion
|
|
599
|
+
//#region src/device/cap-vocabulary/system-reasons.ts
|
|
600
|
+
/**
|
|
601
|
+
* Why a system-scoped cap is never part of a device's vocabulary (D920): the
|
|
602
|
+
* reasons several caps share, named once. A cap's `vocabulary` block cites
|
|
603
|
+
* one (`vocabulary: { notOperatorFacing: NOT_A_DEVICE.STORAGE }`) or states
|
|
604
|
+
* its own.
|
|
605
|
+
*/
|
|
606
|
+
var NOT_A_DEVICE = {
|
|
607
|
+
UI_PLUMBING: "admin UI plumbing — pages, widgets and routes, not something a device does",
|
|
608
|
+
ADDON_ADMIN: "addon administration — installed and configured from the Addons page",
|
|
609
|
+
PIPELINE: "detection pipeline machinery — tuned on the pipeline pages, never actuated per device",
|
|
610
|
+
STORAGE: "storage administration — locations, retention and migrations, not a device action",
|
|
611
|
+
IDENTITY: "identity and access administration — users, sign-in and secrets",
|
|
612
|
+
NETWORK: "network administration of the cluster — addresses, mesh, tunnels",
|
|
613
|
+
CLUSTER: "cluster administration — nodes, server package, metrics",
|
|
614
|
+
ML: "model and training machinery — no device action",
|
|
615
|
+
INTERNAL: "internal plumbing between addons — never operator-facing"
|
|
616
|
+
};
|
|
617
|
+
//#endregion
|
|
597
618
|
//#region src/retrain-review.ts
|
|
598
619
|
/** Every status, in the order a summary lists them. */
|
|
599
620
|
var RETRAIN_REVIEW_STATUSES = [
|
|
@@ -1216,6 +1237,10 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
1216
1237
|
* water, cooling, solar), its system modes and its power. One main read-only
|
|
1217
1238
|
* `heat-pump-status` cap carries all of it; `heat-pump-control` sets it (D1026). */
|
|
1218
1239
|
DeviceType["HeatPump"] = "heat-pump";
|
|
1240
|
+
/** A home energy installation (any vendor): solar, grid, house, a metered heat pump
|
|
1241
|
+
* and the storage as branches of one bus. One read-only `energy-system` cap carries
|
|
1242
|
+
* every value; the storage is a field of it, never the `battery` cap (#513, #522). */
|
|
1243
|
+
DeviceType["EnergySystem"] = "energy-system";
|
|
1219
1244
|
return DeviceType;
|
|
1220
1245
|
}({});
|
|
1221
1246
|
/**
|
|
@@ -1600,15 +1625,6 @@ zod.z.object({
|
|
|
1600
1625
|
app: AppLoginPathSchema.nullable()
|
|
1601
1626
|
});
|
|
1602
1627
|
//#endregion
|
|
1603
|
-
//#region src/device/cap-vocabulary/l10n.ts
|
|
1604
|
-
/** A string in English and Italian. */
|
|
1605
|
-
function t(en, it) {
|
|
1606
|
-
return {
|
|
1607
|
-
en,
|
|
1608
|
-
it
|
|
1609
|
-
};
|
|
1610
|
-
}
|
|
1611
|
-
//#endregion
|
|
1612
1628
|
//#region src/device/icon-catalog.generated.ts
|
|
1613
1629
|
/** Lucide category ids, alphabetical. `ICON_META` indexes into this. */
|
|
1614
1630
|
var ICON_CATEGORY_IDS = [
|
|
@@ -21753,6 +21769,15 @@ var COCO_TO_MACRO = {
|
|
|
21753
21769
|
preserveOriginal: false
|
|
21754
21770
|
};
|
|
21755
21771
|
//#endregion
|
|
21772
|
+
//#region src/device/cap-vocabulary/l10n.ts
|
|
21773
|
+
/** A string in English and Italian. */
|
|
21774
|
+
function t(en, it) {
|
|
21775
|
+
return {
|
|
21776
|
+
en,
|
|
21777
|
+
it
|
|
21778
|
+
};
|
|
21779
|
+
}
|
|
21780
|
+
//#endregion
|
|
21756
21781
|
//#region src/capabilities/alarm-panel.cap.ts
|
|
21757
21782
|
/**
|
|
21758
21783
|
* Alarm-panel cap. Models HA `alarm_control_panel.*` on
|
|
@@ -21810,24 +21835,151 @@ zod.z.object({
|
|
|
21810
21835
|
/** Ms epoch when the slice was last updated. */
|
|
21811
21836
|
lastChangedAt: zod.z.number()
|
|
21812
21837
|
});
|
|
21813
|
-
DeviceType.AlarmPanel, method(zod.z.object({
|
|
21838
|
+
DeviceType.AlarmPanel, method(zod.z.object({ deviceId: zod.z.number().int().nonnegative() }), zod.z.void(), {
|
|
21839
|
+
kind: "mutation",
|
|
21840
|
+
auth: "protected",
|
|
21841
|
+
actions: [{
|
|
21842
|
+
id: "alarm.trigger",
|
|
21843
|
+
label: t("Trigger alarm", "Fai scattare l’allarme"),
|
|
21844
|
+
phrase: t("Trigger the alarm on {device}", "Fai scattare l’allarme su {device}"),
|
|
21845
|
+
icon: "siren"
|
|
21846
|
+
}]
|
|
21847
|
+
}), method(zod.z.object({
|
|
21814
21848
|
deviceId: zod.z.number().int().nonnegative(),
|
|
21815
|
-
mode: AlarmArmModeSchema,
|
|
21816
|
-
/** Optional PIN code. Required when `requiresCode === true`.
|
|
21817
|
-
* Passed through to the upstream service; never persisted. */
|
|
21818
21849
|
code: zod.z.string().min(1).optional()
|
|
21819
21850
|
}), zod.z.void(), {
|
|
21820
21851
|
kind: "mutation",
|
|
21821
|
-
auth: "protected"
|
|
21852
|
+
auth: "protected",
|
|
21853
|
+
actions: [{
|
|
21854
|
+
id: "alarm.disarm",
|
|
21855
|
+
label: t("Disarm", "Disinserisci"),
|
|
21856
|
+
phrase: t("Disarm {device}", "Disinserisci {device}"),
|
|
21857
|
+
icon: "shield-off",
|
|
21858
|
+
effect: {
|
|
21859
|
+
field: "state",
|
|
21860
|
+
value: "disarmed"
|
|
21861
|
+
},
|
|
21862
|
+
openArgs: [{
|
|
21863
|
+
key: "code",
|
|
21864
|
+
label: t("PIN code", "Codice PIN"),
|
|
21865
|
+
offer: {
|
|
21866
|
+
kind: "text",
|
|
21867
|
+
secret: true
|
|
21868
|
+
},
|
|
21869
|
+
optional: true
|
|
21870
|
+
}]
|
|
21871
|
+
}]
|
|
21822
21872
|
}), method(zod.z.object({
|
|
21823
21873
|
deviceId: zod.z.number().int().nonnegative(),
|
|
21874
|
+
mode: AlarmArmModeSchema,
|
|
21875
|
+
/** Optional PIN code. Required when `requiresCode === true`.
|
|
21876
|
+
* Passed through to the upstream service; never persisted. */
|
|
21824
21877
|
code: zod.z.string().min(1).optional()
|
|
21825
21878
|
}), zod.z.void(), {
|
|
21826
21879
|
kind: "mutation",
|
|
21827
|
-
auth: "protected"
|
|
21828
|
-
|
|
21829
|
-
|
|
21830
|
-
|
|
21880
|
+
auth: "protected",
|
|
21881
|
+
actions: [
|
|
21882
|
+
{
|
|
21883
|
+
id: "alarm.arm.home",
|
|
21884
|
+
label: t("Arm home", "Inserisci in casa"),
|
|
21885
|
+
phrase: t("Arm {device} for home", "Inserisci {device} in modalità casa"),
|
|
21886
|
+
icon: "house",
|
|
21887
|
+
effect: {
|
|
21888
|
+
field: "state",
|
|
21889
|
+
value: "armed_home"
|
|
21890
|
+
},
|
|
21891
|
+
args: { mode: "home" },
|
|
21892
|
+
openArgs: [{
|
|
21893
|
+
key: "code",
|
|
21894
|
+
label: t("PIN code", "Codice PIN"),
|
|
21895
|
+
offer: {
|
|
21896
|
+
kind: "text",
|
|
21897
|
+
secret: true
|
|
21898
|
+
},
|
|
21899
|
+
optional: true
|
|
21900
|
+
}]
|
|
21901
|
+
},
|
|
21902
|
+
{
|
|
21903
|
+
id: "alarm.arm.away",
|
|
21904
|
+
label: t("Arm away", "Inserisci fuori casa"),
|
|
21905
|
+
phrase: t("Arm {device} for away", "Inserisci {device} in modalità fuori casa"),
|
|
21906
|
+
icon: "shield-check",
|
|
21907
|
+
effect: {
|
|
21908
|
+
field: "state",
|
|
21909
|
+
value: "armed_away"
|
|
21910
|
+
},
|
|
21911
|
+
args: { mode: "away" },
|
|
21912
|
+
openArgs: [{
|
|
21913
|
+
key: "code",
|
|
21914
|
+
label: t("PIN code", "Codice PIN"),
|
|
21915
|
+
offer: {
|
|
21916
|
+
kind: "text",
|
|
21917
|
+
secret: true
|
|
21918
|
+
},
|
|
21919
|
+
optional: true
|
|
21920
|
+
}]
|
|
21921
|
+
},
|
|
21922
|
+
{
|
|
21923
|
+
id: "alarm.arm.night",
|
|
21924
|
+
label: t("Arm night", "Inserisci notte"),
|
|
21925
|
+
phrase: t("Arm {device} for the night", "Inserisci {device} in modalità notte"),
|
|
21926
|
+
icon: "moon",
|
|
21927
|
+
effect: {
|
|
21928
|
+
field: "state",
|
|
21929
|
+
value: "armed_night"
|
|
21930
|
+
},
|
|
21931
|
+
args: { mode: "night" },
|
|
21932
|
+
openArgs: [{
|
|
21933
|
+
key: "code",
|
|
21934
|
+
label: t("PIN code", "Codice PIN"),
|
|
21935
|
+
offer: {
|
|
21936
|
+
kind: "text",
|
|
21937
|
+
secret: true
|
|
21938
|
+
},
|
|
21939
|
+
optional: true
|
|
21940
|
+
}]
|
|
21941
|
+
},
|
|
21942
|
+
{
|
|
21943
|
+
id: "alarm.arm.vacation",
|
|
21944
|
+
label: t("Arm vacation", "Inserisci vacanza"),
|
|
21945
|
+
phrase: t("Arm {device} for vacation", "Inserisci {device} in modalità vacanza"),
|
|
21946
|
+
icon: "plane",
|
|
21947
|
+
effect: {
|
|
21948
|
+
field: "state",
|
|
21949
|
+
value: "armed_vacation"
|
|
21950
|
+
},
|
|
21951
|
+
args: { mode: "vacation" },
|
|
21952
|
+
openArgs: [{
|
|
21953
|
+
key: "code",
|
|
21954
|
+
label: t("PIN code", "Codice PIN"),
|
|
21955
|
+
offer: {
|
|
21956
|
+
kind: "text",
|
|
21957
|
+
secret: true
|
|
21958
|
+
},
|
|
21959
|
+
optional: true
|
|
21960
|
+
}]
|
|
21961
|
+
},
|
|
21962
|
+
{
|
|
21963
|
+
id: "alarm.arm.custom_bypass",
|
|
21964
|
+
label: t("Arm custom bypass", "Inserisci con esclusioni"),
|
|
21965
|
+
phrase: t("Arm {device} with its custom bypass", "Inserisci {device} con le zone escluse"),
|
|
21966
|
+
icon: "shield-half",
|
|
21967
|
+
effect: {
|
|
21968
|
+
field: "state",
|
|
21969
|
+
value: "armed_custom_bypass"
|
|
21970
|
+
},
|
|
21971
|
+
args: { mode: "custom_bypass" },
|
|
21972
|
+
openArgs: [{
|
|
21973
|
+
key: "code",
|
|
21974
|
+
label: t("PIN code", "Codice PIN"),
|
|
21975
|
+
offer: {
|
|
21976
|
+
kind: "text",
|
|
21977
|
+
secret: true
|
|
21978
|
+
},
|
|
21979
|
+
optional: true
|
|
21980
|
+
}]
|
|
21981
|
+
}
|
|
21982
|
+
]
|
|
21831
21983
|
});
|
|
21832
21984
|
//#endregion
|
|
21833
21985
|
//#region src/remote/remote-roles.ts
|
|
@@ -22559,7 +22711,7 @@ method(zod.z.void(), zod.z.array(TopologyNodeSchema).readonly(), { auth: "admin"
|
|
|
22559
22711
|
}), zod.z.unknown(), {
|
|
22560
22712
|
kind: "mutation",
|
|
22561
22713
|
auth: "admin"
|
|
22562
|
-
});
|
|
22714
|
+
}), NOT_A_DEVICE.CLUSTER;
|
|
22563
22715
|
//#endregion
|
|
22564
22716
|
//#region src/catalogs/audio-classmap.ts
|
|
22565
22717
|
var AUDIO_MACRO_LABELS = [
|
|
@@ -27134,6 +27286,7 @@ var DEVICE_TYPE_ICON = {
|
|
|
27134
27286
|
[DeviceType.Sensor]: "activity",
|
|
27135
27287
|
[DeviceType.Climate]: "thermometer",
|
|
27136
27288
|
[DeviceType.HeatPump]: "flame",
|
|
27289
|
+
[DeviceType.EnergySystem]: "solar-panel",
|
|
27137
27290
|
[DeviceType.Button]: "circle-dot",
|
|
27138
27291
|
[DeviceType.EventEmitter]: "zap",
|
|
27139
27292
|
[DeviceType.Update]: "refresh-cw",
|
|
@@ -27369,9 +27522,9 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
27369
27522
|
};
|
|
27370
27523
|
const airQualitySensorInterface = { getStatus: (input) => dispatch("air-quality-sensor", "airQualitySensor", "getStatus", "query", input) };
|
|
27371
27524
|
const alarmPanelInterface = {
|
|
27372
|
-
arm: (input) => dispatch("alarm-panel", "alarmPanel", "arm", "mutation", input),
|
|
27373
|
-
disarm: (input) => dispatch("alarm-panel", "alarmPanel", "disarm", "mutation", input),
|
|
27374
27525
|
trigger: (input) => dispatch("alarm-panel", "alarmPanel", "trigger", "mutation", input),
|
|
27526
|
+
disarm: (input) => dispatch("alarm-panel", "alarmPanel", "disarm", "mutation", input),
|
|
27527
|
+
arm: (input) => dispatch("alarm-panel", "alarmPanel", "arm", "mutation", input),
|
|
27375
27528
|
getStatus: (input) => dispatch("alarm-panel", "alarmPanel", "getStatus", "query", input)
|
|
27376
27529
|
};
|
|
27377
27530
|
const ambientLightSensorInterface = { getStatus: (input) => dispatch("ambient-light-sensor", "ambientLightSensor", "getStatus", "query", input) };
|
|
@@ -27427,11 +27580,11 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
27427
27580
|
const carbonMonoxideInterface = { getStatus: (input) => dispatch("carbon-monoxide", "carbonMonoxide", "getStatus", "query", input) };
|
|
27428
27581
|
const climateControlInterface = {
|
|
27429
27582
|
setMode: (input) => dispatch("climate-control", "climateControl", "setMode", "mutation", input),
|
|
27430
|
-
setFanMode: (input) => dispatch("climate-control", "climateControl", "setFanMode", "mutation", input),
|
|
27431
|
-
setPreset: (input) => dispatch("climate-control", "climateControl", "setPreset", "mutation", input),
|
|
27432
27583
|
setTarget: (input) => dispatch("climate-control", "climateControl", "setTarget", "mutation", input),
|
|
27433
27584
|
setTargetRange: (input) => dispatch("climate-control", "climateControl", "setTargetRange", "mutation", input),
|
|
27434
27585
|
setTargetHumidity: (input) => dispatch("climate-control", "climateControl", "setTargetHumidity", "mutation", input),
|
|
27586
|
+
setFanMode: (input) => dispatch("climate-control", "climateControl", "setFanMode", "mutation", input),
|
|
27587
|
+
setPreset: (input) => dispatch("climate-control", "climateControl", "setPreset", "mutation", input),
|
|
27435
27588
|
setSwingVertical: (input) => dispatch("climate-control", "climateControl", "setSwingVertical", "mutation", input),
|
|
27436
27589
|
setSwingHorizontal: (input) => dispatch("climate-control", "climateControl", "setSwingHorizontal", "mutation", input),
|
|
27437
27590
|
getStatus: (input) => dispatch("climate-control", "climateControl", "getStatus", "query", input)
|
|
@@ -27519,6 +27672,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
27519
27672
|
getStatus: (input) => dispatch("do-not-disturb", "doNotDisturb", "getStatus", "query", input)
|
|
27520
27673
|
};
|
|
27521
27674
|
const doorbellInterface = { getStatus: (input) => dispatch("doorbell", "doorbell", "getStatus", "query", input) };
|
|
27675
|
+
const energySystemInterface = { getStatus: (input) => dispatch("energy-system", "energySystem", "getStatus", "query", input) };
|
|
27522
27676
|
const enumSensorInterface = { getStatus: (input) => dispatch("enum-sensor", "enumSensor", "getStatus", "query", input) };
|
|
27523
27677
|
const eventEmitterInterface = { getStatus: (input) => dispatch("event-emitter", "eventEmitter", "getStatus", "query", input) };
|
|
27524
27678
|
const fanControlInterface = {
|
|
@@ -27604,12 +27758,12 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
27604
27758
|
stop: (input) => dispatch("media-player", "mediaPlayer", "stop", "mutation", input),
|
|
27605
27759
|
next: (input) => dispatch("media-player", "mediaPlayer", "next", "mutation", input),
|
|
27606
27760
|
previous: (input) => dispatch("media-player", "mediaPlayer", "previous", "mutation", input),
|
|
27607
|
-
seek: (input) => dispatch("media-player", "mediaPlayer", "seek", "mutation", input),
|
|
27608
27761
|
setVolume: (input) => dispatch("media-player", "mediaPlayer", "setVolume", "mutation", input),
|
|
27609
27762
|
setMute: (input) => dispatch("media-player", "mediaPlayer", "setMute", "mutation", input),
|
|
27610
27763
|
setShuffle: (input) => dispatch("media-player", "mediaPlayer", "setShuffle", "mutation", input),
|
|
27611
27764
|
setRepeat: (input) => dispatch("media-player", "mediaPlayer", "setRepeat", "mutation", input),
|
|
27612
27765
|
selectSource: (input) => dispatch("media-player", "mediaPlayer", "selectSource", "mutation", input),
|
|
27766
|
+
seek: (input) => dispatch("media-player", "mediaPlayer", "seek", "mutation", input),
|
|
27613
27767
|
playMedia: (input) => dispatch("media-player", "mediaPlayer", "playMedia", "mutation", input),
|
|
27614
27768
|
getStatus: (input) => dispatch("media-player", "mediaPlayer", "getStatus", "query", input)
|
|
27615
27769
|
};
|
|
@@ -27668,10 +27822,10 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
27668
27822
|
const petFeederInterface = {
|
|
27669
27823
|
feed: (input) => dispatch("pet-feeder", "petFeeder", "feed", "mutation", input),
|
|
27670
27824
|
cancelFeed: (input) => dispatch("pet-feeder", "petFeeder", "cancelFeed", "mutation", input),
|
|
27671
|
-
resetDesiccant: (input) => dispatch("pet-feeder", "petFeeder", "resetDesiccant", "mutation", input),
|
|
27672
|
-
markFoodReplenished: (input) => dispatch("pet-feeder", "petFeeder", "markFoodReplenished", "mutation", input),
|
|
27673
27825
|
callPet: (input) => dispatch("pet-feeder", "petFeeder", "callPet", "mutation", input),
|
|
27674
27826
|
playSound: (input) => dispatch("pet-feeder", "petFeeder", "playSound", "mutation", input),
|
|
27827
|
+
resetDesiccant: (input) => dispatch("pet-feeder", "petFeeder", "resetDesiccant", "mutation", input),
|
|
27828
|
+
markFoodReplenished: (input) => dispatch("pet-feeder", "petFeeder", "markFoodReplenished", "mutation", input),
|
|
27675
27829
|
setChildLock: (input) => dispatch("pet-feeder", "petFeeder", "setChildLock", "mutation", input),
|
|
27676
27830
|
setIndicatorLight: (input) => dispatch("pet-feeder", "petFeeder", "setIndicatorLight", "mutation", input),
|
|
27677
27831
|
setFeedSound: (input) => dispatch("pet-feeder", "petFeeder", "setFeedSound", "mutation", input),
|
|
@@ -27791,13 +27945,13 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
27791
27945
|
const ptzInterface = {
|
|
27792
27946
|
move: (input) => dispatch("ptz", "ptz", "move", "mutation", input),
|
|
27793
27947
|
continuousMove: (input) => dispatch("ptz", "ptz", "continuousMove", "mutation", input),
|
|
27794
|
-
|
|
27948
|
+
goHome: (input) => dispatch("ptz", "ptz", "goHome", "mutation", input),
|
|
27795
27949
|
getPresets: (input) => dispatch("ptz", "ptz", "getPresets", "query", input),
|
|
27796
27950
|
goToPreset: (input) => dispatch("ptz", "ptz", "goToPreset", "mutation", input),
|
|
27797
27951
|
savePreset: (input) => dispatch("ptz", "ptz", "savePreset", "mutation", input),
|
|
27798
27952
|
deletePreset: (input) => dispatch("ptz", "ptz", "deletePreset", "mutation", input),
|
|
27799
27953
|
getOptions: (input) => dispatch("ptz", "ptz", "getOptions", "query", input),
|
|
27800
|
-
|
|
27954
|
+
stop: (input) => dispatch("ptz", "ptz", "stop", "mutation", input),
|
|
27801
27955
|
getHomePreset: (input) => dispatch("ptz", "ptz", "getHomePreset", "query", input),
|
|
27802
27956
|
setHomePreset: (input) => dispatch("ptz", "ptz", "setHomePreset", "mutation", input),
|
|
27803
27957
|
captureHomeHere: (input) => dispatch("ptz", "ptz", "captureHomeHere", "mutation", input),
|
|
@@ -27915,9 +28069,9 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
27915
28069
|
getPlaybackOptions: (input) => dispatch("videoclips", "videoclips", "getPlaybackOptions", "query", input)
|
|
27916
28070
|
};
|
|
27917
28071
|
const waterHeaterInterface = {
|
|
27918
|
-
setTargetTemp: (input) => dispatch("water-heater", "waterHeater", "setTargetTemp", "mutation", input),
|
|
27919
28072
|
setOperationMode: (input) => dispatch("water-heater", "waterHeater", "setOperationMode", "mutation", input),
|
|
27920
28073
|
setAway: (input) => dispatch("water-heater", "waterHeater", "setAway", "mutation", input),
|
|
28074
|
+
setTargetTemp: (input) => dispatch("water-heater", "waterHeater", "setTargetTemp", "mutation", input),
|
|
27921
28075
|
getStatus: (input) => dispatch("water-heater", "waterHeater", "getStatus", "query", input)
|
|
27922
28076
|
};
|
|
27923
28077
|
const weatherInterface = { getStatus: (input) => dispatch("weather", "weather", "getStatus", "query", input) };
|
|
@@ -28145,6 +28299,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28145
28299
|
dishwasher: createSliceHandle(stateSource, binding.deviceId, "dishwasher"),
|
|
28146
28300
|
doNotDisturb: createSliceHandle(stateSource, binding.deviceId, "do-not-disturb"),
|
|
28147
28301
|
doorbell: createSliceHandle(stateSource, binding.deviceId, "doorbell"),
|
|
28302
|
+
energySystem: createSliceHandle(stateSource, binding.deviceId, "energy-system"),
|
|
28148
28303
|
enumSensor: createSliceHandle(stateSource, binding.deviceId, "enum-sensor"),
|
|
28149
28304
|
eventEmitter: createSliceHandle(stateSource, binding.deviceId, "event-emitter"),
|
|
28150
28305
|
fanControl: createSliceHandle(stateSource, binding.deviceId, "fan-control"),
|
|
@@ -28161,6 +28316,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28161
28316
|
image: createSliceHandle(stateSource, binding.deviceId, "image"),
|
|
28162
28317
|
imageSettings: createSliceHandle(stateSource, binding.deviceId, "image-settings"),
|
|
28163
28318
|
intercom: createSliceHandle(stateSource, binding.deviceId, "intercom"),
|
|
28319
|
+
irTransmitter: createSliceHandle(stateSource, binding.deviceId, "ir-transmitter"),
|
|
28164
28320
|
lawnMowerControl: createSliceHandle(stateSource, binding.deviceId, "lawn-mower-control"),
|
|
28165
28321
|
lockControl: createSliceHandle(stateSource, binding.deviceId, "lock-control"),
|
|
28166
28322
|
mediaPlayer: createSliceHandle(stateSource, binding.deviceId, "media-player"),
|
|
@@ -28239,6 +28395,7 @@ function createDeviceProxy(api, binding, opts) {
|
|
|
28239
28395
|
...bound("dishwasher") ? { dishwasher: dishwasherInterface } : {},
|
|
28240
28396
|
...bound("do-not-disturb") ? { doNotDisturb: doNotDisturbInterface } : {},
|
|
28241
28397
|
...bound("doorbell") ? { doorbell: doorbellInterface } : {},
|
|
28398
|
+
...bound("energy-system") ? { energySystem: energySystemInterface } : {},
|
|
28242
28399
|
...bound("enum-sensor") ? { enumSensor: enumSensorInterface } : {},
|
|
28243
28400
|
...bound("event-emitter") ? { eventEmitter: eventEmitterInterface } : {},
|
|
28244
28401
|
...bound("fan-control") ? { fanControl: fanControlInterface } : {},
|