@camstack/addon-import-alexa 0.2.68 → 0.2.70

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/dist/addon.js CHANGED
@@ -38,7 +38,7 @@ let node_os = require("node:os");
38
38
  let node_fs = require("node:fs");
39
39
  let node_path = require("node:path");
40
40
  node_path = __toESM(node_path);
41
- //#region ../types/dist/event-category-BZL-fdNj.mjs
41
+ //#region ../types/dist/event-category-zAv7pMUz.mjs
42
42
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
43
43
  EventCategory["SystemBoot"] = "system.boot";
44
44
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -410,6 +410,13 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
410
410
  */
411
411
  EventCategory["BatteryOnStatusChanged"] = "battery.onStatusChanged";
412
412
  /**
413
+ * Cap event fired by every device that registers the `network-link`
414
+ * capability. Mirrors the cap definition's `onStatusChanged`. Carries
415
+ * `{ deviceId, status: NetworkLinkStatus }` — a link switch or a signal
416
+ * reading that moved.
417
+ */
418
+ EventCategory["NetworkLinkOnStatusChanged"] = "network-link.onStatusChanged";
419
+ /**
413
420
  * Emitted by the battery cap provider WHEN `wakeForStream` enters the
414
421
  * "wake in progress" window — between the Baichuan wake-up issue and
415
422
  * the camera's first dialed-back RTP packet. The stream-broker
@@ -23992,6 +23999,88 @@ onStatusChanged: { data: object({
23992
23999
  volatileStateFields: ["lastUpdated"]
23993
24000
  };
23994
24001
  /**
24002
+ * Network-link snapshot. Same shape for every provider (a Reolink wifi
24003
+ * camera, a Home Assistant device with a signal-strength sensor, a Tapo
24004
+ * plug): one slice under `device.runtimeState['network-link']`, one badge,
24005
+ * one Home Assistant projection.
24006
+ */
24007
+ var NetworkLinkStatusSchema = object({
24008
+ /** The link the device is on. `'unknown'` = not read yet, not "no link". */
24009
+ type: _enum([
24010
+ "wifi",
24011
+ "ethernet",
24012
+ "cellular",
24013
+ "unknown"
24014
+ ]),
24015
+ /**
24016
+ * Link quality, 0..100 inclusive, normalised by the provider from whatever
24017
+ * the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
24018
+ * KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
24019
+ * one whose reading has not landed must not be drawn at 0 %. Consumers
24020
+ * SKIP a null rather than coerce it.
24021
+ */
24022
+ signalPercent: number().min(0).max(100).nullable(),
24023
+ /** Raw received signal strength in dBm, when the firmware reports one. */
24024
+ rssiDbm: number().optional(),
24025
+ /** Network name of a wireless link, when the firmware reports it. */
24026
+ ssid: string().optional(),
24027
+ /** Ms epoch of the last observation. Lets consumers reason about freshness. */
24028
+ lastUpdated: number()
24029
+ });
24030
+ var networkLinkCapability = {
24031
+ name: "network-link",
24032
+ scope: "device",
24033
+ deviceNative: true,
24034
+ mode: "singleton",
24035
+ deviceTypes: [
24036
+ DeviceType.Camera,
24037
+ DeviceType.Sensor,
24038
+ DeviceType.Button,
24039
+ DeviceType.Switch,
24040
+ DeviceType.Light,
24041
+ DeviceType.Lock,
24042
+ DeviceType.Siren
24043
+ ],
24044
+ methods: {},
24045
+ events: {
24046
+ /**
24047
+ * Emitted whenever the cached status changes (a link switch, a signal
24048
+ * reading that moved). Mirrored on the parent chain by the
24049
+ * DeviceEventPropagator like `battery.onStatusChanged`.
24050
+ */
24051
+ onStatusChanged: { data: object({
24052
+ deviceId: number(),
24053
+ status: NetworkLinkStatusSchema
24054
+ }) } },
24055
+ status: {
24056
+ schema: NetworkLinkStatusSchema,
24057
+ kind: "push",
24058
+ empty: {
24059
+ type: "unknown",
24060
+ signalPercent: null,
24061
+ lastUpdated: 0
24062
+ }
24063
+ },
24064
+ /**
24065
+ * Runtime-state slice — every provider stores the same shape under
24066
+ * `device.runtimeState['network-link']`, read once by the badge and the
24067
+ * Home Assistant projector regardless of the driver.
24068
+ */
24069
+ runtimeState: NetworkLinkStatusSchema,
24070
+ /**
24071
+ * Runtime-state durability: **restored** — a link reading is slow to
24072
+ * change and a sleeping battery camera may not report for hours; the
24073
+ * restored slice is what the badge shows until the next read.
24074
+ *
24075
+ * See `RuntimeStateDurability`. Enforced by
24076
+ * `scripts/check-runtime-state-durability.ts`.
24077
+ */
24078
+ durability: "restored",
24079
+ /** Clock fields: written, but excluded from the compare that decides
24080
+ * whether persisting is worth a SQLite commit. */
24081
+ volatileStateFields: ["lastUpdated"]
24082
+ };
24083
+ /**
23995
24084
  * Generic boolean sensor — last-resort fallback when no domain-
23996
24085
  * specific binary cap fits (Home Assistant `binary_sensor` without a
23997
24086
  * known `device_class`, or a domain we haven't typed yet). Pure
@@ -29118,6 +29207,287 @@ var ptzAutotrackCapability = {
29118
29207
  */
29119
29208
  durability: "session"
29120
29209
  };
29210
+ /**
29211
+ * `navigation` — a device-scoped capability that natively expresses the FULL
29212
+ * navigation / action surface of a robot that DRIVES ITSELF and carries an
29213
+ * on-board camera (the Dreame robot-vacuum camera is the first provider).
29214
+ *
29215
+ * Why a NEW cap rather than overloading `ptz`:
29216
+ * - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
29217
+ * robot vacuum has no gimbal — the whole chassis drives, turns and spins.
29218
+ * The two are different physical models: PTZ is absolute-position + presets,
29219
+ * navigation is momentary drive nudges + discrete robot ACTIONS
29220
+ * (dock / spot-clean / follow-pet / go-to-point / …).
29221
+ * - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
29222
+ * the reverse:
29223
+ * 1. a native CamStack navigation panel (data-driven from `listActions`
29224
+ * / `getOptions`), and
29225
+ * 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
29226
+ * robot camera shows up in the existing PTZ control path without every
29227
+ * PTZ provider learning about robots. The mapping lives in the adapter,
29228
+ * not here (see the addon design note):
29229
+ * ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
29230
+ * ptz.stop() → navigation.stop()
29231
+ * ptz.goHome() → navigation.runAction('goHome')
29232
+ * ptz.getPresets() → navigation.listActions() (id→preset)
29233
+ * ptz.goToPreset(id) → navigation.runAction(id)
29234
+ *
29235
+ * ## Continuous drive
29236
+ *
29237
+ * `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
29238
+ * sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
29239
+ * one `stop()` on release — exactly like the robot app's remote-drive joystick.
29240
+ * The provider forwards EACH `move` to one drive write; it must NOT debounce or
29241
+ * coalesce them. The UI owns the cadence.
29242
+ *
29243
+ * ## The action dictionary
29244
+ *
29245
+ * The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
29246
+ * are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
29247
+ * carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
29248
+ * native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
29249
+ * vendor-specific list. `kind: 'action'` entries are triggered with
29250
+ * `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
29251
+ * (the entry carries the `soundId` to pass). The general primitives — `move`,
29252
+ * `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
29253
+ *
29254
+ * NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
29255
+ * `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
29256
+ * that the currently-published `@apocaliss92/nodedreame` already exposes on
29257
+ * every device handle. A future nodedreame publish adds a typed
29258
+ * `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
29259
+ * provider can then swap the raw calls for the typed methods with no change to
29260
+ * THIS contract.
29261
+ */
29262
+ /**
29263
+ * A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
29264
+ * keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
29265
+ * halts it.
29266
+ *
29267
+ * - `pan` — turn: negative = left, positive = right, 0 = straight.
29268
+ * - `tilt` — throttle: positive = forward, negative = spin / turn-around.
29269
+ * - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
29270
+ * vector by it (drivers without proportional drive ignore it).
29271
+ *
29272
+ * `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
29273
+ * axis alone; an all-undefined nudge is a no-op.
29274
+ */
29275
+ var NavigationMoveCommandSchema = object({
29276
+ pan: number().min(-1).max(1).optional(),
29277
+ tilt: number().min(-1).max(1).optional(),
29278
+ speed: number().min(0).max(1).optional()
29279
+ });
29280
+ /**
29281
+ * The enumerated discrete actions a navigation-capable robot can perform via
29282
+ * `runAction`. This is the CLOSED vocabulary; a given device advertises the
29283
+ * subset it supports through `listActions`. Sounds are NOT here — they go through
29284
+ * `playSound` (see the `sound` dictionary entries).
29285
+ */
29286
+ var NavigationActionIdSchema = _enum([
29287
+ "goHome",
29288
+ "locate",
29289
+ "spotClean",
29290
+ "findPet",
29291
+ "personFollow",
29292
+ "stop",
29293
+ "startClean",
29294
+ "pauseClean",
29295
+ "dockWash",
29296
+ "autoEmpty",
29297
+ "flashOn",
29298
+ "flashOff"
29299
+ ]);
29300
+ /** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
29301
+ var NavigationEntryKindSchema = _enum(["action", "sound"]);
29302
+ /**
29303
+ * One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
29304
+ * native panel and the PTZ mimic render as a button.
29305
+ *
29306
+ * - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
29307
+ * (pass to `runAction`); for `kind:'sound'` it is a namespaced id
29308
+ * (`sound:meow`) whose `soundId` is passed to `playSound`.
29309
+ * - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
29310
+ * - `label` — operator-facing English label.
29311
+ * - `soundId` — wire sound id, present only on `kind:'sound'` entries.
29312
+ * - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
29313
+ * PTZ render ONLY enabled entries. Data-driven: the provider
29314
+ * flips it from config, never by editing code.
29315
+ */
29316
+ var NavigationActionEntrySchema = object({
29317
+ id: string(),
29318
+ kind: NavigationEntryKindSchema,
29319
+ label: string(),
29320
+ icon: string(),
29321
+ /** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
29322
+ soundId: number().int().optional(),
29323
+ /** Per-device feature flag — render this entry only when true. */
29324
+ enabled: boolean()
29325
+ });
29326
+ /** Coordinates for `goToPoint` — a point on the robot's live map. */
29327
+ var NavigationPointSchema = object({
29328
+ x: number(),
29329
+ y: number()
29330
+ });
29331
+ /**
29332
+ * Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
29333
+ * The cap reports which are enabled so the UI / PTZ render only the controls
29334
+ * that are turned on for THIS device. Data-driven: the provider derives these
29335
+ * from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
29336
+ * live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
29337
+ * that are not dictionary entries.
29338
+ *
29339
+ * - `move` / `stop` — the momentary drive joystick.
29340
+ * - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
29341
+ * map-coordinate plumbing is wired.
29342
+ * - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
29343
+ * - `playSound` — the sound buttons (dictionary `kind:'sound'`).
29344
+ * - `light` — the on/off fill-light toggle (works anytime).
29345
+ * - `lightMode` — the auto/manual selector + manual level slider (a
29346
+ * camera-service control; needs an active stream).
29347
+ */
29348
+ var NavigationFeaturesSchema = object({
29349
+ move: boolean(),
29350
+ stop: boolean(),
29351
+ goToPoint: boolean(),
29352
+ runAction: boolean(),
29353
+ playSound: boolean(),
29354
+ light: boolean(),
29355
+ lightMode: boolean()
29356
+ });
29357
+ /** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
29358
+ var NavigationLightModeSchema = _enum(["auto", "manual"]);
29359
+ /**
29360
+ * Live navigation state so the UI can reflect what the robot is doing:
29361
+ * - `mode` — coarse activity (idle / cleaning / following / …).
29362
+ * - `following` — person/pet follow is currently armed.
29363
+ * - `flash` — the on-camera fill light is on.
29364
+ * - `lightMode` — auto vs manual fill-light mode.
29365
+ * - `lightLevel` — manual fill-light level (40..100); meaningful when
29366
+ * `lightMode === 'manual'`.
29367
+ */
29368
+ var NavigationStatusSchema = object({
29369
+ mode: _enum([
29370
+ "idle",
29371
+ "cleaning",
29372
+ "spot",
29373
+ "following",
29374
+ "goto",
29375
+ "returning",
29376
+ "paused",
29377
+ "unknown"
29378
+ ]),
29379
+ following: boolean(),
29380
+ flash: boolean(),
29381
+ lightMode: NavigationLightModeSchema,
29382
+ lightLevel: number().min(40).max(100),
29383
+ /** Ms epoch when the slice was last updated. */
29384
+ lastChangedAt: number()
29385
+ });
29386
+ /**
29387
+ * Runtime-state slice owned by this cap (kernel-managed: validated, mirrored,
29388
+ * observable). Adds `lastFetchedAt` on top of the status shape per the
29389
+ * convention.
29390
+ */
29391
+ var NavigationRuntimeStateSchema = NavigationStatusSchema.extend({ lastFetchedAt: number() });
29392
+ var navigationCapability = {
29393
+ name: "navigation",
29394
+ scope: "device",
29395
+ deviceNative: true,
29396
+ mode: "singleton",
29397
+ deviceTypes: [DeviceType.Camera],
29398
+ deviceConfig: { ui: {
29399
+ kind: "widget",
29400
+ widgetId: "host/navigation-panel",
29401
+ tab: "navigation",
29402
+ topTab: true,
29403
+ label: "Navigation",
29404
+ order: 0
29405
+ } },
29406
+ methods: {
29407
+ /**
29408
+ * Momentary drive nudge (the robot moves). `protected` — mirrors
29409
+ * `ptz.continuousMove` so the Viewer navigation panel (and the PTZ-mimic
29410
+ * path) works for any authenticated user, not admin-only. The UI sends
29411
+ * these at ~1 Hz while a control is held; the provider forwards each one to
29412
+ * a single drive write WITHOUT debouncing.
29413
+ */
29414
+ move: method(NavigationMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }),
29415
+ /** Halt all motion immediately (zero drive vector). */
29416
+ stop: method(object({ deviceId: number() }), _void(), { kind: "mutation" }),
29417
+ /** Send the robot to a point on its live map. */
29418
+ goToPoint: method(NavigationPointSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }),
29419
+ /**
29420
+ * Enumerate the discrete controls THIS device supports (data-driven UI +
29421
+ * PTZ mimic). Camera-probed subset of {@link NAVIGATION_ACTION_CATALOG}.
29422
+ */
29423
+ listActions: method(object({ deviceId: number() }), array(NavigationActionEntrySchema)),
29424
+ /**
29425
+ * Run one discrete action (a `kind:'action'` dictionary entry). Invalid /
29426
+ * unsupported action ids are rejected by the provider.
29427
+ */
29428
+ runAction: method(object({
29429
+ deviceId: number(),
29430
+ actionId: NavigationActionIdSchema
29431
+ }), _void(), { kind: "mutation" }),
29432
+ /** Play a sound by its wire id (the `soundId` of a `kind:'sound'` entry). */
29433
+ playSound: method(object({
29434
+ deviceId: number(),
29435
+ soundId: number().int()
29436
+ }), _void(), { kind: "mutation" }),
29437
+ /**
29438
+ * Turn the on-camera fill light on / off (the `OpenFullLight` control —
29439
+ * works anytime, no active stream required).
29440
+ */
29441
+ setLightOn: method(object({
29442
+ deviceId: number(),
29443
+ on: boolean()
29444
+ }), _void(), { kind: "mutation" }),
29445
+ /**
29446
+ * Set the fill-light mode (auto vs manual). `manual` optionally carries the
29447
+ * initial `level`. The auto/manual + level control is a CAMERA-service
29448
+ * action that generally needs an active camera stream/monitor session — the
29449
+ * UI shows the manual level slider ONLY when `mode === 'manual'`.
29450
+ */
29451
+ setLightMode: method(object({
29452
+ deviceId: number(),
29453
+ mode: NavigationLightModeSchema,
29454
+ level: number().min(40).max(100).optional()
29455
+ }), _void(), { kind: "mutation" }),
29456
+ /** Set the MANUAL fill-light level (40..100). Implies `manual` mode. */
29457
+ setLightLevel: method(object({
29458
+ deviceId: number(),
29459
+ level: number().min(40).max(100)
29460
+ }), _void(), { kind: "mutation" }),
29461
+ /**
29462
+ * Per-device FEATURE-FLAG report for the general primitives — drives which
29463
+ * controls the UI shows (the per-entry flags for the dictionary come back on
29464
+ * `listActions`).
29465
+ */
29466
+ getFeatures: method(object({ deviceId: number() }), NavigationFeaturesSchema)
29467
+ },
29468
+ events: { onStatusChanged: { data: object({
29469
+ deviceId: number(),
29470
+ status: NavigationStatusSchema
29471
+ }) } },
29472
+ status: {
29473
+ schema: NavigationStatusSchema,
29474
+ kind: "push"
29475
+ },
29476
+ /**
29477
+ * Runtime-state slice mirrored by the kernel. The navigation panel watches it
29478
+ * for live mode / follow / flash changes.
29479
+ */
29480
+ runtimeState: NavigationRuntimeStateSchema,
29481
+ /**
29482
+ * Runtime-state durability: **session** — like `vacuum-control`, a restored
29483
+ * `mode: cleaning` / `following: true` is a robot that is not actually doing
29484
+ * that. The live handle re-publishes on connect.
29485
+ *
29486
+ * See `RuntimeStateDurability`. Enforced by
29487
+ * `scripts/check-runtime-state-durability.ts`.
29488
+ */
29489
+ durability: "session"
29490
+ };
29121
29491
  DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
29122
29492
  kind: "mutation",
29123
29493
  auth: "admin"
@@ -32393,6 +32763,8 @@ var DEVICE_LOCAL_STATE_CAPS = {
32393
32763
  motionTrigger: motionTriggerCapability,
32394
32764
  motionZones: motionZonesCapability,
32395
32765
  nativeObjectDetection: nativeObjectDetectionCapability,
32766
+ navigation: navigationCapability,
32767
+ networkLink: networkLinkCapability,
32396
32768
  notifier: notifierCapability,
32397
32769
  numericSensor: numericSensorCapability,
32398
32770
  petFeeder: petFeederCapability,
@@ -36246,6 +36618,66 @@ Object.freeze({
36246
36618
  addonId: null,
36247
36619
  access: "create"
36248
36620
  },
36621
+ "navigation.getFeatures": {
36622
+ capName: "navigation",
36623
+ capScope: "device",
36624
+ addonId: null,
36625
+ access: "view"
36626
+ },
36627
+ "navigation.goToPoint": {
36628
+ capName: "navigation",
36629
+ capScope: "device",
36630
+ addonId: null,
36631
+ access: "create"
36632
+ },
36633
+ "navigation.listActions": {
36634
+ capName: "navigation",
36635
+ capScope: "device",
36636
+ addonId: null,
36637
+ access: "view"
36638
+ },
36639
+ "navigation.move": {
36640
+ capName: "navigation",
36641
+ capScope: "device",
36642
+ addonId: null,
36643
+ access: "create"
36644
+ },
36645
+ "navigation.playSound": {
36646
+ capName: "navigation",
36647
+ capScope: "device",
36648
+ addonId: null,
36649
+ access: "create"
36650
+ },
36651
+ "navigation.runAction": {
36652
+ capName: "navigation",
36653
+ capScope: "device",
36654
+ addonId: null,
36655
+ access: "create"
36656
+ },
36657
+ "navigation.setLightLevel": {
36658
+ capName: "navigation",
36659
+ capScope: "device",
36660
+ addonId: null,
36661
+ access: "create"
36662
+ },
36663
+ "navigation.setLightMode": {
36664
+ capName: "navigation",
36665
+ capScope: "device",
36666
+ addonId: null,
36667
+ access: "create"
36668
+ },
36669
+ "navigation.setLightOn": {
36670
+ capName: "navigation",
36671
+ capScope: "device",
36672
+ addonId: null,
36673
+ access: "create"
36674
+ },
36675
+ "navigation.stop": {
36676
+ capName: "navigation",
36677
+ capScope: "device",
36678
+ addonId: null,
36679
+ access: "create"
36680
+ },
36249
36681
  "networkAccess.getEndpoint": {
36250
36682
  capName: "network-access",
36251
36683
  capScope: "system",
@@ -40341,6 +40773,56 @@ Object.freeze({
40341
40773
  form: "single",
40342
40774
  optional: false
40343
40775
  }],
40776
+ "navigation.getFeatures": [{
40777
+ name: "deviceId",
40778
+ form: "single",
40779
+ optional: false
40780
+ }],
40781
+ "navigation.goToPoint": [{
40782
+ name: "deviceId",
40783
+ form: "single",
40784
+ optional: false
40785
+ }],
40786
+ "navigation.listActions": [{
40787
+ name: "deviceId",
40788
+ form: "single",
40789
+ optional: false
40790
+ }],
40791
+ "navigation.move": [{
40792
+ name: "deviceId",
40793
+ form: "single",
40794
+ optional: false
40795
+ }],
40796
+ "navigation.playSound": [{
40797
+ name: "deviceId",
40798
+ form: "single",
40799
+ optional: false
40800
+ }],
40801
+ "navigation.runAction": [{
40802
+ name: "deviceId",
40803
+ form: "single",
40804
+ optional: false
40805
+ }],
40806
+ "navigation.setLightLevel": [{
40807
+ name: "deviceId",
40808
+ form: "single",
40809
+ optional: false
40810
+ }],
40811
+ "navigation.setLightMode": [{
40812
+ name: "deviceId",
40813
+ form: "single",
40814
+ optional: false
40815
+ }],
40816
+ "navigation.setLightOn": [{
40817
+ name: "deviceId",
40818
+ form: "single",
40819
+ optional: false
40820
+ }],
40821
+ "navigation.stop": [{
40822
+ name: "deviceId",
40823
+ form: "single",
40824
+ optional: false
40825
+ }],
40344
40826
  "networkQuality.getDeviceStats": [{
40345
40827
  name: "deviceId",
40346
40828
  form: "single",
package/dist/addon.mjs CHANGED
@@ -38,7 +38,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
38
  var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
39
39
  var __require = /* @__PURE__ */ createRequire(import.meta.url);
40
40
  //#endregion
41
- //#region ../types/dist/event-category-BZL-fdNj.mjs
41
+ //#region ../types/dist/event-category-zAv7pMUz.mjs
42
42
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
43
43
  EventCategory["SystemBoot"] = "system.boot";
44
44
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -410,6 +410,13 @@ var EventCategory = /* @__PURE__ */ function(EventCategory) {
410
410
  */
411
411
  EventCategory["BatteryOnStatusChanged"] = "battery.onStatusChanged";
412
412
  /**
413
+ * Cap event fired by every device that registers the `network-link`
414
+ * capability. Mirrors the cap definition's `onStatusChanged`. Carries
415
+ * `{ deviceId, status: NetworkLinkStatus }` — a link switch or a signal
416
+ * reading that moved.
417
+ */
418
+ EventCategory["NetworkLinkOnStatusChanged"] = "network-link.onStatusChanged";
419
+ /**
413
420
  * Emitted by the battery cap provider WHEN `wakeForStream` enters the
414
421
  * "wake in progress" window — between the Baichuan wake-up issue and
415
422
  * the camera's first dialed-back RTP packet. The stream-broker
@@ -23992,6 +23999,88 @@ onStatusChanged: { data: object({
23992
23999
  volatileStateFields: ["lastUpdated"]
23993
24000
  };
23994
24001
  /**
24002
+ * Network-link snapshot. Same shape for every provider (a Reolink wifi
24003
+ * camera, a Home Assistant device with a signal-strength sensor, a Tapo
24004
+ * plug): one slice under `device.runtimeState['network-link']`, one badge,
24005
+ * one Home Assistant projection.
24006
+ */
24007
+ var NetworkLinkStatusSchema = object({
24008
+ /** The link the device is on. `'unknown'` = not read yet, not "no link". */
24009
+ type: _enum([
24010
+ "wifi",
24011
+ "ethernet",
24012
+ "cellular",
24013
+ "unknown"
24014
+ ]),
24015
+ /**
24016
+ * Link quality, 0..100 inclusive, normalised by the provider from whatever
24017
+ * the firmware reports (bars, RSSI, a vendor scale). **`null` means NOT
24018
+ * KNOWN or NOT APPLICABLE** — a wired link has no signal, and a wireless
24019
+ * one whose reading has not landed must not be drawn at 0 %. Consumers
24020
+ * SKIP a null rather than coerce it.
24021
+ */
24022
+ signalPercent: number().min(0).max(100).nullable(),
24023
+ /** Raw received signal strength in dBm, when the firmware reports one. */
24024
+ rssiDbm: number().optional(),
24025
+ /** Network name of a wireless link, when the firmware reports it. */
24026
+ ssid: string().optional(),
24027
+ /** Ms epoch of the last observation. Lets consumers reason about freshness. */
24028
+ lastUpdated: number()
24029
+ });
24030
+ var networkLinkCapability = {
24031
+ name: "network-link",
24032
+ scope: "device",
24033
+ deviceNative: true,
24034
+ mode: "singleton",
24035
+ deviceTypes: [
24036
+ DeviceType.Camera,
24037
+ DeviceType.Sensor,
24038
+ DeviceType.Button,
24039
+ DeviceType.Switch,
24040
+ DeviceType.Light,
24041
+ DeviceType.Lock,
24042
+ DeviceType.Siren
24043
+ ],
24044
+ methods: {},
24045
+ events: {
24046
+ /**
24047
+ * Emitted whenever the cached status changes (a link switch, a signal
24048
+ * reading that moved). Mirrored on the parent chain by the
24049
+ * DeviceEventPropagator like `battery.onStatusChanged`.
24050
+ */
24051
+ onStatusChanged: { data: object({
24052
+ deviceId: number(),
24053
+ status: NetworkLinkStatusSchema
24054
+ }) } },
24055
+ status: {
24056
+ schema: NetworkLinkStatusSchema,
24057
+ kind: "push",
24058
+ empty: {
24059
+ type: "unknown",
24060
+ signalPercent: null,
24061
+ lastUpdated: 0
24062
+ }
24063
+ },
24064
+ /**
24065
+ * Runtime-state slice — every provider stores the same shape under
24066
+ * `device.runtimeState['network-link']`, read once by the badge and the
24067
+ * Home Assistant projector regardless of the driver.
24068
+ */
24069
+ runtimeState: NetworkLinkStatusSchema,
24070
+ /**
24071
+ * Runtime-state durability: **restored** — a link reading is slow to
24072
+ * change and a sleeping battery camera may not report for hours; the
24073
+ * restored slice is what the badge shows until the next read.
24074
+ *
24075
+ * See `RuntimeStateDurability`. Enforced by
24076
+ * `scripts/check-runtime-state-durability.ts`.
24077
+ */
24078
+ durability: "restored",
24079
+ /** Clock fields: written, but excluded from the compare that decides
24080
+ * whether persisting is worth a SQLite commit. */
24081
+ volatileStateFields: ["lastUpdated"]
24082
+ };
24083
+ /**
23995
24084
  * Generic boolean sensor — last-resort fallback when no domain-
23996
24085
  * specific binary cap fits (Home Assistant `binary_sensor` without a
23997
24086
  * known `device_class`, or a domain we haven't typed yet). Pure
@@ -29118,6 +29207,287 @@ var ptzAutotrackCapability = {
29118
29207
  */
29119
29208
  durability: "session"
29120
29209
  };
29210
+ /**
29211
+ * `navigation` — a device-scoped capability that natively expresses the FULL
29212
+ * navigation / action surface of a robot that DRIVES ITSELF and carries an
29213
+ * on-board camera (the Dreame robot-vacuum camera is the first provider).
29214
+ *
29215
+ * Why a NEW cap rather than overloading `ptz`:
29216
+ * - `ptz` moves a *gimbal* on a fixed camera (pan/tilt/zoom of the lens). A
29217
+ * robot vacuum has no gimbal — the whole chassis drives, turns and spins.
29218
+ * The two are different physical models: PTZ is absolute-position + presets,
29219
+ * navigation is momentary drive nudges + discrete robot ACTIONS
29220
+ * (dock / spot-clean / follow-pet / go-to-point / …).
29221
+ * - This cap is the SOURCE OF TRUTH. Two consumers adapt from it rather than
29222
+ * the reverse:
29223
+ * 1. a native CamStack navigation panel (data-driven from `listActions`
29224
+ * / `getOptions`), and
29225
+ * 2. the PTZ surface — a thin adapter mimics `ptz` from `navigation` so a
29226
+ * robot camera shows up in the existing PTZ control path without every
29227
+ * PTZ provider learning about robots. The mapping lives in the adapter,
29228
+ * not here (see the addon design note):
29229
+ * ptz.continuousMove({pan,tilt}) → navigation.move({pan,tilt})
29230
+ * ptz.stop() → navigation.stop()
29231
+ * ptz.goHome() → navigation.runAction('goHome')
29232
+ * ptz.getPresets() → navigation.listActions() (id→preset)
29233
+ * ptz.goToPreset(id) → navigation.runAction(id)
29234
+ *
29235
+ * ## Continuous drive
29236
+ *
29237
+ * `move` is MOMENTARY. Fluid navigation comes from the UI (or the PTZ adapter)
29238
+ * sending `move({pan,tilt})` REPEATEDLY at ~1 Hz while a direction is held, and
29239
+ * one `stop()` on release — exactly like the robot app's remote-drive joystick.
29240
+ * The provider forwards EACH `move` to one drive write; it must NOT debounce or
29241
+ * coalesce them. The UI owns the cadence.
29242
+ *
29243
+ * ## The action dictionary
29244
+ *
29245
+ * The discrete controls (dock / locate / spot-clean / follow / flash / sounds)
29246
+ * are a DATA-DRIVEN dictionary the cap exposes via `listActions()`. Each entry
29247
+ * carries `{ id, kind, label, icon }` (plus `soundId` for sound entries) so the
29248
+ * native panel AND the PTZ mimic render buttons WITHOUT hardcoding a
29249
+ * vendor-specific list. `kind: 'action'` entries are triggered with
29250
+ * `runAction({ actionId })`; `kind: 'sound'` entries with `playSound({ soundId })`
29251
+ * (the entry carries the `soundId` to pass). The general primitives — `move`,
29252
+ * `stop`, `goToPoint` — stay as first-class methods, not dictionary entries.
29253
+ *
29254
+ * NOTE (provider wiring): the first provider (Dreame) drives this with the RAW
29255
+ * `callAction(siid,aiid,in)` / `setProperty({siid,piid,value})` MIoT primitives
29256
+ * that the currently-published `@apocaliss92/nodedreame` already exposes on
29257
+ * every device handle. A future nodedreame publish adds a typed
29258
+ * `DreameCameraController` (drive / playPetSound / spotClean / findPet / …); the
29259
+ * provider can then swap the raw calls for the typed methods with no change to
29260
+ * THIS contract.
29261
+ */
29262
+ /**
29263
+ * A momentary drive nudge. The robot MOVES (no gimbal) for as long as the caller
29264
+ * keeps sending nudges (~1 Hz); an explicit `stop` (or letting the nudges lapse)
29265
+ * halts it.
29266
+ *
29267
+ * - `pan` — turn: negative = left, positive = right, 0 = straight.
29268
+ * - `tilt` — throttle: positive = forward, negative = spin / turn-around.
29269
+ * - `speed` — optional intensity hint [0, 1]; the provider may scale the drive
29270
+ * vector by it (drivers without proportional drive ignore it).
29271
+ *
29272
+ * `pan` / `tilt` are normalized [-1, 1]. Both optional so a caller can nudge one
29273
+ * axis alone; an all-undefined nudge is a no-op.
29274
+ */
29275
+ var NavigationMoveCommandSchema = object({
29276
+ pan: number().min(-1).max(1).optional(),
29277
+ tilt: number().min(-1).max(1).optional(),
29278
+ speed: number().min(0).max(1).optional()
29279
+ });
29280
+ /**
29281
+ * The enumerated discrete actions a navigation-capable robot can perform via
29282
+ * `runAction`. This is the CLOSED vocabulary; a given device advertises the
29283
+ * subset it supports through `listActions`. Sounds are NOT here — they go through
29284
+ * `playSound` (see the `sound` dictionary entries).
29285
+ */
29286
+ var NavigationActionIdSchema = _enum([
29287
+ "goHome",
29288
+ "locate",
29289
+ "spotClean",
29290
+ "findPet",
29291
+ "personFollow",
29292
+ "stop",
29293
+ "startClean",
29294
+ "pauseClean",
29295
+ "dockWash",
29296
+ "autoEmpty",
29297
+ "flashOn",
29298
+ "flashOff"
29299
+ ]);
29300
+ /** Whether a dictionary entry is a `runAction` action or a `playSound` sound. */
29301
+ var NavigationEntryKindSchema = _enum(["action", "sound"]);
29302
+ /**
29303
+ * One entry in the navigation action dictionary — the DATA-DRIVEN unit both the
29304
+ * native panel and the PTZ mimic render as a button.
29305
+ *
29306
+ * - `id` — stable id. For `kind:'action'` it is a {@link NavigationActionId}
29307
+ * (pass to `runAction`); for `kind:'sound'` it is a namespaced id
29308
+ * (`sound:meow`) whose `soundId` is passed to `playSound`.
29309
+ * - `icon` — icon HINT (lucide-style name; the UI maps it to its own set).
29310
+ * - `label` — operator-facing English label.
29311
+ * - `soundId` — wire sound id, present only on `kind:'sound'` entries.
29312
+ * - `enabled` — per-device FEATURE FLAG. `listActions` reports it so the UI /
29313
+ * PTZ render ONLY enabled entries. Data-driven: the provider
29314
+ * flips it from config, never by editing code.
29315
+ */
29316
+ var NavigationActionEntrySchema = object({
29317
+ id: string(),
29318
+ kind: NavigationEntryKindSchema,
29319
+ label: string(),
29320
+ icon: string(),
29321
+ /** Present only on `kind:'sound'` entries — the id to pass to `playSound`. */
29322
+ soundId: number().int().optional(),
29323
+ /** Per-device feature flag — render this entry only when true. */
29324
+ enabled: boolean()
29325
+ });
29326
+ /** Coordinates for `goToPoint` — a point on the robot's live map. */
29327
+ var NavigationPointSchema = object({
29328
+ x: number(),
29329
+ y: number()
29330
+ });
29331
+ /**
29332
+ * Per-device FEATURE-FLAG report for the general (non-dictionary) primitives.
29333
+ * The cap reports which are enabled so the UI / PTZ render only the controls
29334
+ * that are turned on for THIS device. Data-driven: the provider derives these
29335
+ * from config + probe, never hardcoded in the UI. The per-DICTIONARY-entry flags
29336
+ * live on {@link NavigationActionEntrySchema.enabled}; these gate the primitives
29337
+ * that are not dictionary entries.
29338
+ *
29339
+ * - `move` / `stop` — the momentary drive joystick.
29340
+ * - `goToPoint` — send-to-map-coordinate. Ships OFF on Dreame until the
29341
+ * map-coordinate plumbing is wired.
29342
+ * - `runAction` — the discrete action buttons (dictionary `kind:'action'`).
29343
+ * - `playSound` — the sound buttons (dictionary `kind:'sound'`).
29344
+ * - `light` — the on/off fill-light toggle (works anytime).
29345
+ * - `lightMode` — the auto/manual selector + manual level slider (a
29346
+ * camera-service control; needs an active stream).
29347
+ */
29348
+ var NavigationFeaturesSchema = object({
29349
+ move: boolean(),
29350
+ stop: boolean(),
29351
+ goToPoint: boolean(),
29352
+ runAction: boolean(),
29353
+ playSound: boolean(),
29354
+ light: boolean(),
29355
+ lightMode: boolean()
29356
+ });
29357
+ /** Light mode: `auto` lets the camera choose brightness; `manual` uses `level`. */
29358
+ var NavigationLightModeSchema = _enum(["auto", "manual"]);
29359
+ /**
29360
+ * Live navigation state so the UI can reflect what the robot is doing:
29361
+ * - `mode` — coarse activity (idle / cleaning / following / …).
29362
+ * - `following` — person/pet follow is currently armed.
29363
+ * - `flash` — the on-camera fill light is on.
29364
+ * - `lightMode` — auto vs manual fill-light mode.
29365
+ * - `lightLevel` — manual fill-light level (40..100); meaningful when
29366
+ * `lightMode === 'manual'`.
29367
+ */
29368
+ var NavigationStatusSchema = object({
29369
+ mode: _enum([
29370
+ "idle",
29371
+ "cleaning",
29372
+ "spot",
29373
+ "following",
29374
+ "goto",
29375
+ "returning",
29376
+ "paused",
29377
+ "unknown"
29378
+ ]),
29379
+ following: boolean(),
29380
+ flash: boolean(),
29381
+ lightMode: NavigationLightModeSchema,
29382
+ lightLevel: number().min(40).max(100),
29383
+ /** Ms epoch when the slice was last updated. */
29384
+ lastChangedAt: number()
29385
+ });
29386
+ /**
29387
+ * Runtime-state slice owned by this cap (kernel-managed: validated, mirrored,
29388
+ * observable). Adds `lastFetchedAt` on top of the status shape per the
29389
+ * convention.
29390
+ */
29391
+ var NavigationRuntimeStateSchema = NavigationStatusSchema.extend({ lastFetchedAt: number() });
29392
+ var navigationCapability = {
29393
+ name: "navigation",
29394
+ scope: "device",
29395
+ deviceNative: true,
29396
+ mode: "singleton",
29397
+ deviceTypes: [DeviceType.Camera],
29398
+ deviceConfig: { ui: {
29399
+ kind: "widget",
29400
+ widgetId: "host/navigation-panel",
29401
+ tab: "navigation",
29402
+ topTab: true,
29403
+ label: "Navigation",
29404
+ order: 0
29405
+ } },
29406
+ methods: {
29407
+ /**
29408
+ * Momentary drive nudge (the robot moves). `protected` — mirrors
29409
+ * `ptz.continuousMove` so the Viewer navigation panel (and the PTZ-mimic
29410
+ * path) works for any authenticated user, not admin-only. The UI sends
29411
+ * these at ~1 Hz while a control is held; the provider forwards each one to
29412
+ * a single drive write WITHOUT debouncing.
29413
+ */
29414
+ move: method(NavigationMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }),
29415
+ /** Halt all motion immediately (zero drive vector). */
29416
+ stop: method(object({ deviceId: number() }), _void(), { kind: "mutation" }),
29417
+ /** Send the robot to a point on its live map. */
29418
+ goToPoint: method(NavigationPointSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }),
29419
+ /**
29420
+ * Enumerate the discrete controls THIS device supports (data-driven UI +
29421
+ * PTZ mimic). Camera-probed subset of {@link NAVIGATION_ACTION_CATALOG}.
29422
+ */
29423
+ listActions: method(object({ deviceId: number() }), array(NavigationActionEntrySchema)),
29424
+ /**
29425
+ * Run one discrete action (a `kind:'action'` dictionary entry). Invalid /
29426
+ * unsupported action ids are rejected by the provider.
29427
+ */
29428
+ runAction: method(object({
29429
+ deviceId: number(),
29430
+ actionId: NavigationActionIdSchema
29431
+ }), _void(), { kind: "mutation" }),
29432
+ /** Play a sound by its wire id (the `soundId` of a `kind:'sound'` entry). */
29433
+ playSound: method(object({
29434
+ deviceId: number(),
29435
+ soundId: number().int()
29436
+ }), _void(), { kind: "mutation" }),
29437
+ /**
29438
+ * Turn the on-camera fill light on / off (the `OpenFullLight` control —
29439
+ * works anytime, no active stream required).
29440
+ */
29441
+ setLightOn: method(object({
29442
+ deviceId: number(),
29443
+ on: boolean()
29444
+ }), _void(), { kind: "mutation" }),
29445
+ /**
29446
+ * Set the fill-light mode (auto vs manual). `manual` optionally carries the
29447
+ * initial `level`. The auto/manual + level control is a CAMERA-service
29448
+ * action that generally needs an active camera stream/monitor session — the
29449
+ * UI shows the manual level slider ONLY when `mode === 'manual'`.
29450
+ */
29451
+ setLightMode: method(object({
29452
+ deviceId: number(),
29453
+ mode: NavigationLightModeSchema,
29454
+ level: number().min(40).max(100).optional()
29455
+ }), _void(), { kind: "mutation" }),
29456
+ /** Set the MANUAL fill-light level (40..100). Implies `manual` mode. */
29457
+ setLightLevel: method(object({
29458
+ deviceId: number(),
29459
+ level: number().min(40).max(100)
29460
+ }), _void(), { kind: "mutation" }),
29461
+ /**
29462
+ * Per-device FEATURE-FLAG report for the general primitives — drives which
29463
+ * controls the UI shows (the per-entry flags for the dictionary come back on
29464
+ * `listActions`).
29465
+ */
29466
+ getFeatures: method(object({ deviceId: number() }), NavigationFeaturesSchema)
29467
+ },
29468
+ events: { onStatusChanged: { data: object({
29469
+ deviceId: number(),
29470
+ status: NavigationStatusSchema
29471
+ }) } },
29472
+ status: {
29473
+ schema: NavigationStatusSchema,
29474
+ kind: "push"
29475
+ },
29476
+ /**
29477
+ * Runtime-state slice mirrored by the kernel. The navigation panel watches it
29478
+ * for live mode / follow / flash changes.
29479
+ */
29480
+ runtimeState: NavigationRuntimeStateSchema,
29481
+ /**
29482
+ * Runtime-state durability: **session** — like `vacuum-control`, a restored
29483
+ * `mode: cleaning` / `following: true` is a robot that is not actually doing
29484
+ * that. The live handle re-publishes on connect.
29485
+ *
29486
+ * See `RuntimeStateDurability`. Enforced by
29487
+ * `scripts/check-runtime-state-durability.ts`.
29488
+ */
29489
+ durability: "session"
29490
+ };
29121
29491
  DeviceType.Camera, DeviceType.Sensor, DeviceType.Switch, method(object({ deviceId: number().int().nonnegative() }), object({ success: literal(true) }), {
29122
29492
  kind: "mutation",
29123
29493
  auth: "admin"
@@ -32393,6 +32763,8 @@ var DEVICE_LOCAL_STATE_CAPS = {
32393
32763
  motionTrigger: motionTriggerCapability,
32394
32764
  motionZones: motionZonesCapability,
32395
32765
  nativeObjectDetection: nativeObjectDetectionCapability,
32766
+ navigation: navigationCapability,
32767
+ networkLink: networkLinkCapability,
32396
32768
  notifier: notifierCapability,
32397
32769
  numericSensor: numericSensorCapability,
32398
32770
  petFeeder: petFeederCapability,
@@ -36246,6 +36618,66 @@ Object.freeze({
36246
36618
  addonId: null,
36247
36619
  access: "create"
36248
36620
  },
36621
+ "navigation.getFeatures": {
36622
+ capName: "navigation",
36623
+ capScope: "device",
36624
+ addonId: null,
36625
+ access: "view"
36626
+ },
36627
+ "navigation.goToPoint": {
36628
+ capName: "navigation",
36629
+ capScope: "device",
36630
+ addonId: null,
36631
+ access: "create"
36632
+ },
36633
+ "navigation.listActions": {
36634
+ capName: "navigation",
36635
+ capScope: "device",
36636
+ addonId: null,
36637
+ access: "view"
36638
+ },
36639
+ "navigation.move": {
36640
+ capName: "navigation",
36641
+ capScope: "device",
36642
+ addonId: null,
36643
+ access: "create"
36644
+ },
36645
+ "navigation.playSound": {
36646
+ capName: "navigation",
36647
+ capScope: "device",
36648
+ addonId: null,
36649
+ access: "create"
36650
+ },
36651
+ "navigation.runAction": {
36652
+ capName: "navigation",
36653
+ capScope: "device",
36654
+ addonId: null,
36655
+ access: "create"
36656
+ },
36657
+ "navigation.setLightLevel": {
36658
+ capName: "navigation",
36659
+ capScope: "device",
36660
+ addonId: null,
36661
+ access: "create"
36662
+ },
36663
+ "navigation.setLightMode": {
36664
+ capName: "navigation",
36665
+ capScope: "device",
36666
+ addonId: null,
36667
+ access: "create"
36668
+ },
36669
+ "navigation.setLightOn": {
36670
+ capName: "navigation",
36671
+ capScope: "device",
36672
+ addonId: null,
36673
+ access: "create"
36674
+ },
36675
+ "navigation.stop": {
36676
+ capName: "navigation",
36677
+ capScope: "device",
36678
+ addonId: null,
36679
+ access: "create"
36680
+ },
36249
36681
  "networkAccess.getEndpoint": {
36250
36682
  capName: "network-access",
36251
36683
  capScope: "system",
@@ -40341,6 +40773,56 @@ Object.freeze({
40341
40773
  form: "single",
40342
40774
  optional: false
40343
40775
  }],
40776
+ "navigation.getFeatures": [{
40777
+ name: "deviceId",
40778
+ form: "single",
40779
+ optional: false
40780
+ }],
40781
+ "navigation.goToPoint": [{
40782
+ name: "deviceId",
40783
+ form: "single",
40784
+ optional: false
40785
+ }],
40786
+ "navigation.listActions": [{
40787
+ name: "deviceId",
40788
+ form: "single",
40789
+ optional: false
40790
+ }],
40791
+ "navigation.move": [{
40792
+ name: "deviceId",
40793
+ form: "single",
40794
+ optional: false
40795
+ }],
40796
+ "navigation.playSound": [{
40797
+ name: "deviceId",
40798
+ form: "single",
40799
+ optional: false
40800
+ }],
40801
+ "navigation.runAction": [{
40802
+ name: "deviceId",
40803
+ form: "single",
40804
+ optional: false
40805
+ }],
40806
+ "navigation.setLightLevel": [{
40807
+ name: "deviceId",
40808
+ form: "single",
40809
+ optional: false
40810
+ }],
40811
+ "navigation.setLightMode": [{
40812
+ name: "deviceId",
40813
+ form: "single",
40814
+ optional: false
40815
+ }],
40816
+ "navigation.setLightOn": [{
40817
+ name: "deviceId",
40818
+ form: "single",
40819
+ optional: false
40820
+ }],
40821
+ "navigation.stop": [{
40822
+ name: "deviceId",
40823
+ form: "single",
40824
+ optional: false
40825
+ }],
40344
40826
  "networkQuality.getDeviceStats": [{
40345
40827
  name: "deviceId",
40346
40828
  form: "single",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-import-alexa",
3
- "version": "0.2.68",
3
+ "version": "0.2.70",
4
4
  "description": "Alexa device-import provider for CamStack — imports the smart-home devices in a user's Alexa account via the unofficial alexa-remote2 cookie/token client (the inverse of the Alexa exporter)",
5
5
  "keywords": [
6
6
  "camstack",