@camstack/addon-provider-tuya 0.2.112 → 0.2.114

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
@@ -6180,7 +6180,7 @@ var ZodIssueCode = {
6180
6180
  var ZodFirstPartyTypeKind;
6181
6181
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6182
6182
  //#endregion
6183
- //#region ../types/dist/sleep-vl6nBE8d.mjs
6183
+ //#region ../types/dist/sleep-Bs3xPtSh.mjs
6184
6184
  /**
6185
6185
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6186
6186
  * window to float samples (D455).
@@ -12670,6 +12670,24 @@ var GetStreamWithCodecInputSchema = object({
12670
12670
  });
12671
12671
  var RtpSourceSchema = object({
12672
12672
  url: string(),
12673
+ /**
12674
+ * The SENTRY counterpart of {@link url} — the dial that asks for the stream
12675
+ * WITHOUT asking for the camera — or `null` when this camera offers none.
12676
+ *
12677
+ * The broker answers it because the broker is the only thing that can:
12678
+ * eligibility is `sentryEligible` (a BATTERY camera that DECLARES the signals
12679
+ * cap), asked of facts only the broker holds. A consumer re-deriving it from
12680
+ * cap bindings would be a second authority, and two authorities on the same
12681
+ * question is how a composite camera ends up dialling a sleeping camera
12682
+ * because its own copy of the rule was a release behind.
12683
+ *
12684
+ * `null` is a real answer and is never a live url in disguise: a consumer
12685
+ * that silently fell back to {@link url} would perform exactly the wake this
12686
+ * field exists to prevent. Only a PASSTHROUGH acquisition can offer one — a
12687
+ * transcode hands back an egress the broker is feeding itself, which has no
12688
+ * sentry counterpart.
12689
+ */
12690
+ sentryUrl: string().nullable().optional(),
12673
12691
  videoCodec: _enum(["H264", "H265"]),
12674
12692
  audioCodec: string(),
12675
12693
  resolution: object({
@@ -29716,6 +29734,114 @@ var motionTriggerCapability = {
29716
29734
  durability: "session"
29717
29735
  };
29718
29736
  /**
29737
+ * camera-grid-layout — the geometry of a COMPOSITE camera, on the camera's own
29738
+ * page.
29739
+ *
29740
+ * ## Why this is a capability and not an addon settings schema
29741
+ *
29742
+ * It was one, and it did not render. The addon declared the editor as a
29743
+ * `type: 'widget'` field inside its own `deviceSettingsSchema()`; the hub
29744
+ * returned that section correctly and `ConfigFormField` renders `type:'widget'`
29745
+ * perfectly well — and nothing ever asked camera-grid for it. The Cluster →
29746
+ * Pipeline → Device Overrides page interrogates a HAND-WRITTEN list of four
29747
+ * addons (`PIPELINE_CLUSTER_DEVICE_ADDONS`), whose own comment says an addon
29748
+ * not on it "falls off silently".
29749
+ *
29750
+ * Adding a fifth name to that list would have been the wrong fix twice over:
29751
+ * that page is per-camera DETECTION tuning, and a grid's geometry belongs
29752
+ * beside PTZ and motion zones on the camera itself — which is exactly where the
29753
+ * framework already puts a widget, when the widget is declared on a CAPABILITY.
29754
+ * `deviceConfig.ui` is the mechanism (`motion-zones`, `ptz`, `ptz-autotrack`
29755
+ * all use it): the framework emits the structural section and the widget
29756
+ * self-persists through the cap's own mutations.
29757
+ *
29758
+ * ## Why one addon may implement it
29759
+ *
29760
+ * It is a device-scoped NATIVE cap, registered by the grid camera device
29761
+ * itself. Nothing else declares a composite camera, so nothing else has a
29762
+ * layout — and the device-scoped route means the widget asks THE camera, not
29763
+ * "the camera-grid addon", which is what let the old custom-action pair be
29764
+ * reached only by a caller that already knew the addon id.
29765
+ *
29766
+ * ## The tab
29767
+ *
29768
+ * `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
29769
+ * is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
29770
+ * entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
29771
+ * label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
29772
+ * next to "PTZ").
29773
+ */
29774
+ /** A rectangle in normalized [0,1] coordinates of whatever contains it. */
29775
+ var GridNormalizedRectSchema = object({
29776
+ x: number().min(0).max(1),
29777
+ y: number().min(0).max(1),
29778
+ width: number().gt(0).max(1),
29779
+ height: number().gt(0).max(1)
29780
+ });
29781
+ /**
29782
+ * One source camera, the part of its picture taken, and where that part lands.
29783
+ *
29784
+ * Both rectangles are NORMALIZED (D519): a source camera can change resolution
29785
+ * — a profile switch, a firmware update, a substream that comes back different
29786
+ * — and a stored PIXEL rectangle would quietly start cutting the wrong region,
29787
+ * which is the class of bug nobody files.
29788
+ */
29789
+ var GridLayoutCellSchema = object({
29790
+ deviceId: number().int().positive(),
29791
+ /** The part of the SOURCE taken, normalized against the source. */
29792
+ source: GridNormalizedRectSchema,
29793
+ /** Where it lands, normalized against the CANVAS. */
29794
+ cell: GridNormalizedRectSchema
29795
+ });
29796
+ /**
29797
+ * Which profiles this grid can actually compose, and why not.
29798
+ *
29799
+ * A grid's `high` composes its sources' `high` and its `low` their `low`, so a
29800
+ * profile is on offer only when EVERY source can serve it. The refusal NAMES
29801
+ * the sources, because "this grid has no low" is not a finding — "615 has no
29802
+ * low" is, and it is the one an operator can act on.
29803
+ */
29804
+ var GridProfileOfferSchema = object({
29805
+ profile: _enum([
29806
+ "high",
29807
+ "mid",
29808
+ "low"
29809
+ ]),
29810
+ offered: boolean(),
29811
+ /** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
29812
+ missingSources: array(number().int().positive())
29813
+ });
29814
+ var GridLayoutViewSchema = object({
29815
+ /** The persisted grid row this camera was declared from. */
29816
+ instanceId: string(),
29817
+ deviceId: number().int().nonnegative(),
29818
+ name: string(),
29819
+ /** The canvas the operator laid out — this grid's `high`. mid/low are scaled from it. */
29820
+ width: number().int(),
29821
+ height: number().int(),
29822
+ fps: number().int(),
29823
+ cells: array(GridLayoutCellSchema),
29824
+ /** What the catalog will publish, and what it refuses to. Read-only. */
29825
+ profiles: array(GridProfileOfferSchema)
29826
+ });
29827
+ var GridLayoutPatchSchema = object({
29828
+ deviceId: number().int().nonnegative(),
29829
+ name: string().min(1).max(160).optional(),
29830
+ width: number().int().min(160).max(7680).optional(),
29831
+ height: number().int().min(120).max(4320).optional(),
29832
+ fps: number().int().min(1).max(60).optional(),
29833
+ /**
29834
+ * The whole cell list at once. A per-cell patch would need an ordering the
29835
+ * editor does not have, and a half-applied layout is a picture nobody asked
29836
+ * for.
29837
+ */
29838
+ cells: array(GridLayoutCellSchema).max(16)
29839
+ });
29840
+ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }), method(GridLayoutPatchSchema, GridLayoutViewSchema, {
29841
+ kind: "mutation",
29842
+ auth: "admin"
29843
+ });
29844
+ /**
29719
29845
  * Motion-zones share the same MaskShape vocabulary as privacy-mask — the
29720
29846
  * on-camera motion-detection mask is a single `grid` region (a row-major
29721
29847
  * boolean cell lattice the camera's onboard VMD evaluates). Composing it as
@@ -31874,6 +32000,26 @@ var PtzHomePresetSchema = object({
31874
32000
  "none"
31875
32001
  ])
31876
32002
  });
32003
+ /**
32004
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
32005
+ * after how long.
32006
+ *
32007
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
32008
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
32009
+ * written by the same command. Reading them apart means two round-trips that
32010
+ * can disagree.
32011
+ *
32012
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
32013
+ * the behaviour switched off, which is exactly what the vendor app leaves when
32014
+ * you turn the guard point off without clearing it. The first version of this
32015
+ * cap reported only the delay, so that state was invisible — a camera could be
32016
+ * configured to return after 68 seconds with no way to say whether it should
32017
+ * return at all.
32018
+ */
32019
+ var PtzHomeReturnSchema = object({
32020
+ enabled: boolean(),
32021
+ seconds: number().int()
32022
+ });
31877
32023
  DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
31878
32024
  deviceId: number(),
31879
32025
  presetId: string()
@@ -31899,8 +32045,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
31899
32045
  }), method(object({ deviceId: number() }), _void(), {
31900
32046
  kind: "mutation",
31901
32047
  auth: "admin"
31902
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
32048
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
31903
32049
  deviceId: number(),
32050
+ enabled: boolean(),
31904
32051
  seconds: number().int().min(0).max(3600)
31905
32052
  }), _void(), {
31906
32053
  kind: "mutation",
@@ -37421,6 +37568,18 @@ Object.freeze({
37421
37568
  addonId: null,
37422
37569
  access: "view"
37423
37570
  },
37571
+ "cameraGridLayout.getLayout": {
37572
+ capName: "camera-grid-layout",
37573
+ capScope: "device",
37574
+ addonId: null,
37575
+ access: "view"
37576
+ },
37577
+ "cameraGridLayout.saveLayout": {
37578
+ capName: "camera-grid-layout",
37579
+ capScope: "device",
37580
+ addonId: null,
37581
+ access: "create"
37582
+ },
37424
37583
  "cameraStreams.getBrokerStreams": {
37425
37584
  capName: "camera-streams",
37426
37585
  capScope: "device",
@@ -41171,7 +41330,7 @@ Object.freeze({
41171
41330
  addonId: null,
41172
41331
  access: "view"
41173
41332
  },
41174
- "ptz.getHomeReturnSeconds": {
41333
+ "ptz.getHomeReturn": {
41175
41334
  capName: "ptz",
41176
41335
  capScope: "device",
41177
41336
  addonId: null,
@@ -41231,7 +41390,7 @@ Object.freeze({
41231
41390
  addonId: null,
41232
41391
  access: "create"
41233
41392
  },
41234
- "ptz.setHomeReturnSeconds": {
41393
+ "ptz.setHomeReturn": {
41235
41394
  capName: "ptz",
41236
41395
  capScope: "device",
41237
41396
  addonId: null,
@@ -43120,6 +43279,21 @@ Object.freeze({
43120
43279
  form: "single",
43121
43280
  optional: false
43122
43281
  }],
43282
+ "cameraGridLayout.getLayout": [{
43283
+ name: "deviceId",
43284
+ form: "single",
43285
+ optional: false
43286
+ }],
43287
+ "cameraGridLayout.saveLayout": [{
43288
+ name: "cells",
43289
+ form: "object-array",
43290
+ optional: false,
43291
+ itemField: "deviceId"
43292
+ }, {
43293
+ name: "deviceId",
43294
+ form: "single",
43295
+ optional: false
43296
+ }],
43123
43297
  "cameraStreams.getBrokerStreams": [{
43124
43298
  name: "deviceId",
43125
43299
  form: "single",
@@ -44420,7 +44594,7 @@ Object.freeze({
44420
44594
  form: "single",
44421
44595
  optional: false
44422
44596
  }],
44423
- "ptz.getHomeReturnSeconds": [{
44597
+ "ptz.getHomeReturn": [{
44424
44598
  name: "deviceId",
44425
44599
  form: "single",
44426
44600
  optional: false
@@ -44470,7 +44644,7 @@ Object.freeze({
44470
44644
  form: "single",
44471
44645
  optional: false
44472
44646
  }],
44473
- "ptz.setHomeReturnSeconds": [{
44647
+ "ptz.setHomeReturn": [{
44474
44648
  name: "deviceId",
44475
44649
  form: "single",
44476
44650
  optional: false
package/dist/addon.mjs CHANGED
@@ -6179,7 +6179,7 @@ var ZodIssueCode = {
6179
6179
  var ZodFirstPartyTypeKind;
6180
6180
  ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
6181
6181
  //#endregion
6182
- //#region ../types/dist/sleep-vl6nBE8d.mjs
6182
+ //#region ../types/dist/sleep-Bs3xPtSh.mjs
6183
6183
  /**
6184
6184
  * The audio chunk plane's byte format, and the ONE expansion from a coded
6185
6185
  * window to float samples (D455).
@@ -12669,6 +12669,24 @@ var GetStreamWithCodecInputSchema = object({
12669
12669
  });
12670
12670
  var RtpSourceSchema = object({
12671
12671
  url: string(),
12672
+ /**
12673
+ * The SENTRY counterpart of {@link url} — the dial that asks for the stream
12674
+ * WITHOUT asking for the camera — or `null` when this camera offers none.
12675
+ *
12676
+ * The broker answers it because the broker is the only thing that can:
12677
+ * eligibility is `sentryEligible` (a BATTERY camera that DECLARES the signals
12678
+ * cap), asked of facts only the broker holds. A consumer re-deriving it from
12679
+ * cap bindings would be a second authority, and two authorities on the same
12680
+ * question is how a composite camera ends up dialling a sleeping camera
12681
+ * because its own copy of the rule was a release behind.
12682
+ *
12683
+ * `null` is a real answer and is never a live url in disguise: a consumer
12684
+ * that silently fell back to {@link url} would perform exactly the wake this
12685
+ * field exists to prevent. Only a PASSTHROUGH acquisition can offer one — a
12686
+ * transcode hands back an egress the broker is feeding itself, which has no
12687
+ * sentry counterpart.
12688
+ */
12689
+ sentryUrl: string().nullable().optional(),
12672
12690
  videoCodec: _enum(["H264", "H265"]),
12673
12691
  audioCodec: string(),
12674
12692
  resolution: object({
@@ -29715,6 +29733,114 @@ var motionTriggerCapability = {
29715
29733
  durability: "session"
29716
29734
  };
29717
29735
  /**
29736
+ * camera-grid-layout — the geometry of a COMPOSITE camera, on the camera's own
29737
+ * page.
29738
+ *
29739
+ * ## Why this is a capability and not an addon settings schema
29740
+ *
29741
+ * It was one, and it did not render. The addon declared the editor as a
29742
+ * `type: 'widget'` field inside its own `deviceSettingsSchema()`; the hub
29743
+ * returned that section correctly and `ConfigFormField` renders `type:'widget'`
29744
+ * perfectly well — and nothing ever asked camera-grid for it. The Cluster →
29745
+ * Pipeline → Device Overrides page interrogates a HAND-WRITTEN list of four
29746
+ * addons (`PIPELINE_CLUSTER_DEVICE_ADDONS`), whose own comment says an addon
29747
+ * not on it "falls off silently".
29748
+ *
29749
+ * Adding a fifth name to that list would have been the wrong fix twice over:
29750
+ * that page is per-camera DETECTION tuning, and a grid's geometry belongs
29751
+ * beside PTZ and motion zones on the camera itself — which is exactly where the
29752
+ * framework already puts a widget, when the widget is declared on a CAPABILITY.
29753
+ * `deviceConfig.ui` is the mechanism (`motion-zones`, `ptz`, `ptz-autotrack`
29754
+ * all use it): the framework emits the structural section and the widget
29755
+ * self-persists through the cap's own mutations.
29756
+ *
29757
+ * ## Why one addon may implement it
29758
+ *
29759
+ * It is a device-scoped NATIVE cap, registered by the grid camera device
29760
+ * itself. Nothing else declares a composite camera, so nothing else has a
29761
+ * layout — and the device-scoped route means the widget asks THE camera, not
29762
+ * "the camera-grid addon", which is what let the old custom-action pair be
29763
+ * reached only by a caller that already knew the addon id.
29764
+ *
29765
+ * ## The tab
29766
+ *
29767
+ * `streaming`, not a top-tab of its own. A grid's geometry IS what its stream
29768
+ * is, so the Streaming tab is where it belongs; a `grid` top-tab would need an
29769
+ * entry in `WELL_KNOWN_TAB_MAP` or the device page renders the raw id as the
29770
+ * label (measured on the robot camera, 2026-09-06 — a tab called "navigation"
29771
+ * next to "PTZ").
29772
+ */
29773
+ /** A rectangle in normalized [0,1] coordinates of whatever contains it. */
29774
+ var GridNormalizedRectSchema = object({
29775
+ x: number().min(0).max(1),
29776
+ y: number().min(0).max(1),
29777
+ width: number().gt(0).max(1),
29778
+ height: number().gt(0).max(1)
29779
+ });
29780
+ /**
29781
+ * One source camera, the part of its picture taken, and where that part lands.
29782
+ *
29783
+ * Both rectangles are NORMALIZED (D519): a source camera can change resolution
29784
+ * — a profile switch, a firmware update, a substream that comes back different
29785
+ * — and a stored PIXEL rectangle would quietly start cutting the wrong region,
29786
+ * which is the class of bug nobody files.
29787
+ */
29788
+ var GridLayoutCellSchema = object({
29789
+ deviceId: number().int().positive(),
29790
+ /** The part of the SOURCE taken, normalized against the source. */
29791
+ source: GridNormalizedRectSchema,
29792
+ /** Where it lands, normalized against the CANVAS. */
29793
+ cell: GridNormalizedRectSchema
29794
+ });
29795
+ /**
29796
+ * Which profiles this grid can actually compose, and why not.
29797
+ *
29798
+ * A grid's `high` composes its sources' `high` and its `low` their `low`, so a
29799
+ * profile is on offer only when EVERY source can serve it. The refusal NAMES
29800
+ * the sources, because "this grid has no low" is not a finding — "615 has no
29801
+ * low" is, and it is the one an operator can act on.
29802
+ */
29803
+ var GridProfileOfferSchema = object({
29804
+ profile: _enum([
29805
+ "high",
29806
+ "mid",
29807
+ "low"
29808
+ ]),
29809
+ offered: boolean(),
29810
+ /** Sources that cannot serve it. Empty when it is offered, or when there are no cells. */
29811
+ missingSources: array(number().int().positive())
29812
+ });
29813
+ var GridLayoutViewSchema = object({
29814
+ /** The persisted grid row this camera was declared from. */
29815
+ instanceId: string(),
29816
+ deviceId: number().int().nonnegative(),
29817
+ name: string(),
29818
+ /** The canvas the operator laid out — this grid's `high`. mid/low are scaled from it. */
29819
+ width: number().int(),
29820
+ height: number().int(),
29821
+ fps: number().int(),
29822
+ cells: array(GridLayoutCellSchema),
29823
+ /** What the catalog will publish, and what it refuses to. Read-only. */
29824
+ profiles: array(GridProfileOfferSchema)
29825
+ });
29826
+ var GridLayoutPatchSchema = object({
29827
+ deviceId: number().int().nonnegative(),
29828
+ name: string().min(1).max(160).optional(),
29829
+ width: number().int().min(160).max(7680).optional(),
29830
+ height: number().int().min(120).max(4320).optional(),
29831
+ fps: number().int().min(1).max(60).optional(),
29832
+ /**
29833
+ * The whole cell list at once. A per-cell patch would need an ordering the
29834
+ * editor does not have, and a half-applied layout is a picture nobody asked
29835
+ * for.
29836
+ */
29837
+ cells: array(GridLayoutCellSchema).max(16)
29838
+ });
29839
+ DeviceType.Camera, method(object({ deviceId: number().int().nonnegative() }), GridLayoutViewSchema.nullable(), { auth: "admin" }), method(GridLayoutPatchSchema, GridLayoutViewSchema, {
29840
+ kind: "mutation",
29841
+ auth: "admin"
29842
+ });
29843
+ /**
29718
29844
  * Motion-zones share the same MaskShape vocabulary as privacy-mask — the
29719
29845
  * on-camera motion-detection mask is a single `grid` region (a row-major
29720
29846
  * boolean cell lattice the camera's onboard VMD evaluates). Composing it as
@@ -31873,6 +31999,26 @@ var PtzHomePresetSchema = object({
31873
31999
  "none"
31874
32000
  ])
31875
32001
  });
32002
+ /**
32003
+ * The camera's own idle-return behaviour: whether it goes home by itself, and
32004
+ * after how long.
32005
+ *
32006
+ * ONE shape, not two scalars, because on the camera they are ONE fact —
32007
+ * Reolink's guard point carries `benable` and `timeout` in the same element,
32008
+ * written by the same command. Reading them apart means two round-trips that
32009
+ * can disagree.
32010
+ *
32011
+ * `enabled` and `seconds` are INDEPENDENT: a camera can hold a 68 s delay with
32012
+ * the behaviour switched off, which is exactly what the vendor app leaves when
32013
+ * you turn the guard point off without clearing it. The first version of this
32014
+ * cap reported only the delay, so that state was invisible — a camera could be
32015
+ * configured to return after 68 seconds with no way to say whether it should
32016
+ * return at all.
32017
+ */
32018
+ var PtzHomeReturnSchema = object({
32019
+ enabled: boolean(),
32020
+ seconds: number().int()
32021
+ });
31876
32022
  DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(PtzMoveCommandSchema.extend({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), _void(), { kind: "mutation" }), method(object({ deviceId: number() }), array(PtzPresetSchema)), method(object({
31877
32023
  deviceId: number(),
31878
32024
  presetId: string()
@@ -31898,8 +32044,9 @@ DeviceType.Camera, method(PtzMoveCommandSchema.extend({ deviceId: number() }), _
31898
32044
  }), method(object({ deviceId: number() }), _void(), {
31899
32045
  kind: "mutation",
31900
32046
  auth: "admin"
31901
- }), method(object({ deviceId: number() }), number().int().nullable()), method(object({
32047
+ }), method(object({ deviceId: number() }), PtzHomeReturnSchema.nullable()), method(object({
31902
32048
  deviceId: number(),
32049
+ enabled: boolean(),
31903
32050
  seconds: number().int().min(0).max(3600)
31904
32051
  }), _void(), {
31905
32052
  kind: "mutation",
@@ -37420,6 +37567,18 @@ Object.freeze({
37420
37567
  addonId: null,
37421
37568
  access: "view"
37422
37569
  },
37570
+ "cameraGridLayout.getLayout": {
37571
+ capName: "camera-grid-layout",
37572
+ capScope: "device",
37573
+ addonId: null,
37574
+ access: "view"
37575
+ },
37576
+ "cameraGridLayout.saveLayout": {
37577
+ capName: "camera-grid-layout",
37578
+ capScope: "device",
37579
+ addonId: null,
37580
+ access: "create"
37581
+ },
37423
37582
  "cameraStreams.getBrokerStreams": {
37424
37583
  capName: "camera-streams",
37425
37584
  capScope: "device",
@@ -41170,7 +41329,7 @@ Object.freeze({
41170
41329
  addonId: null,
41171
41330
  access: "view"
41172
41331
  },
41173
- "ptz.getHomeReturnSeconds": {
41332
+ "ptz.getHomeReturn": {
41174
41333
  capName: "ptz",
41175
41334
  capScope: "device",
41176
41335
  addonId: null,
@@ -41230,7 +41389,7 @@ Object.freeze({
41230
41389
  addonId: null,
41231
41390
  access: "create"
41232
41391
  },
41233
- "ptz.setHomeReturnSeconds": {
41392
+ "ptz.setHomeReturn": {
41234
41393
  capName: "ptz",
41235
41394
  capScope: "device",
41236
41395
  addonId: null,
@@ -43119,6 +43278,21 @@ Object.freeze({
43119
43278
  form: "single",
43120
43279
  optional: false
43121
43280
  }],
43281
+ "cameraGridLayout.getLayout": [{
43282
+ name: "deviceId",
43283
+ form: "single",
43284
+ optional: false
43285
+ }],
43286
+ "cameraGridLayout.saveLayout": [{
43287
+ name: "cells",
43288
+ form: "object-array",
43289
+ optional: false,
43290
+ itemField: "deviceId"
43291
+ }, {
43292
+ name: "deviceId",
43293
+ form: "single",
43294
+ optional: false
43295
+ }],
43122
43296
  "cameraStreams.getBrokerStreams": [{
43123
43297
  name: "deviceId",
43124
43298
  form: "single",
@@ -44419,7 +44593,7 @@ Object.freeze({
44419
44593
  form: "single",
44420
44594
  optional: false
44421
44595
  }],
44422
- "ptz.getHomeReturnSeconds": [{
44596
+ "ptz.getHomeReturn": [{
44423
44597
  name: "deviceId",
44424
44598
  form: "single",
44425
44599
  optional: false
@@ -44469,7 +44643,7 @@ Object.freeze({
44469
44643
  form: "single",
44470
44644
  optional: false
44471
44645
  }],
44472
- "ptz.setHomeReturnSeconds": [{
44646
+ "ptz.setHomeReturn": [{
44473
44647
  name: "deviceId",
44474
44648
  form: "single",
44475
44649
  optional: false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-tuya",
3
- "version": "0.2.112",
3
+ "version": "0.2.114",
4
4
  "description": "Tuya / Smart Life device-provider addon for CamStack — account-onboarded (Tuya IoT cloud fetch of device localKeys) + LOCAL DP control via the @apocaliss92/nodetuya encrypted-LAN client, exposing switch / water-heater-family kettle entities",
5
5
  "keywords": [
6
6
  "camstack",