@camstack/addon-export-alexa 1.2.66 → 1.2.68
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.
|
@@ -12842,7 +12842,26 @@ var DiscoveryCandidateSchema = object({
|
|
|
12842
12842
|
* identity ahead of adoption. Rendering metadata (unit, precision)
|
|
12843
12843
|
* flows live through the cap STATUS SLICE after adoption.
|
|
12844
12844
|
*/
|
|
12845
|
-
sourceInfo: SourceInfoSchema.optional()
|
|
12845
|
+
sourceInfo: SourceInfoSchema.optional(),
|
|
12846
|
+
/**
|
|
12847
|
+
* Set when this candidate is a device the provider ALREADY owns.
|
|
12848
|
+
*
|
|
12849
|
+
* A scan cannot generally produce the identity a device was onboarded under
|
|
12850
|
+
* (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
|
|
12851
|
+
* comparison never matches and an owned device looks addable. Re-adopting one
|
|
12852
|
+
* overwrites its config with scan-derived values — that is how a Home Hub's
|
|
12853
|
+
* Baichuan port was overwritten with its ONVIF port, taking the hub and its
|
|
12854
|
+
* three child cameras offline for four hours.
|
|
12855
|
+
*
|
|
12856
|
+
* A provider that can recognise its own devices says so here. Absent means
|
|
12857
|
+
* "not recognised", which is not the same as "known to be new" — a provider
|
|
12858
|
+
* that cannot tell simply never sets it.
|
|
12859
|
+
*/
|
|
12860
|
+
alreadyOnboarded: boolean().optional(),
|
|
12861
|
+
/** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
|
|
12862
|
+
onboardedDeviceId: number().optional(),
|
|
12863
|
+
/** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
|
|
12864
|
+
onboardedName: string().optional()
|
|
12846
12865
|
});
|
|
12847
12866
|
/**
|
|
12848
12867
|
* Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
|
|
@@ -12815,7 +12815,26 @@ var DiscoveryCandidateSchema = object({
|
|
|
12815
12815
|
* identity ahead of adoption. Rendering metadata (unit, precision)
|
|
12816
12816
|
* flows live through the cap STATUS SLICE after adoption.
|
|
12817
12817
|
*/
|
|
12818
|
-
sourceInfo: SourceInfoSchema.optional()
|
|
12818
|
+
sourceInfo: SourceInfoSchema.optional(),
|
|
12819
|
+
/**
|
|
12820
|
+
* Set when this candidate is a device the provider ALREADY owns.
|
|
12821
|
+
*
|
|
12822
|
+
* A scan cannot generally produce the identity a device was onboarded under
|
|
12823
|
+
* (Reolink keys on `mac-<mac>`, learned at adopt time), so a stableId
|
|
12824
|
+
* comparison never matches and an owned device looks addable. Re-adopting one
|
|
12825
|
+
* overwrites its config with scan-derived values — that is how a Home Hub's
|
|
12826
|
+
* Baichuan port was overwritten with its ONVIF port, taking the hub and its
|
|
12827
|
+
* three child cameras offline for four hours.
|
|
12828
|
+
*
|
|
12829
|
+
* A provider that can recognise its own devices says so here. Absent means
|
|
12830
|
+
* "not recognised", which is not the same as "known to be new" — a provider
|
|
12831
|
+
* that cannot tell simply never sets it.
|
|
12832
|
+
*/
|
|
12833
|
+
alreadyOnboarded: boolean().optional(),
|
|
12834
|
+
/** Numeric id of the device this candidate was matched to. Set with `alreadyOnboarded`. */
|
|
12835
|
+
onboardedDeviceId: number().optional(),
|
|
12836
|
+
/** Operator-facing name of the matched device, so the UI can say WHICH one it is. */
|
|
12837
|
+
onboardedName: string().optional()
|
|
12819
12838
|
});
|
|
12820
12839
|
/**
|
|
12821
12840
|
* Flat device summary returned by `createDevice` / `adoptDiscoveredDevice`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-alexa",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.68",
|
|
4
4
|
"description": "Alexa Smart Home Skill export — hub-side OAuth provider + directive handler. The companion AWS Lambda forwards Alexa directives to this addon's /addon/export-alexa/directive endpoint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|