@camstack/addon-provider-mqtt-ha 0.1.5 → 0.1.6
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 +87 -3
- package/dist/addon.mjs +87 -3
- package/package.json +1 -1
package/dist/addon.js
CHANGED
|
@@ -5439,7 +5439,7 @@ var ZodIssueCode = {
|
|
|
5439
5439
|
var ZodFirstPartyTypeKind;
|
|
5440
5440
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5441
5441
|
//#endregion
|
|
5442
|
-
//#region ../types/dist/sleep-
|
|
5442
|
+
//#region ../types/dist/sleep-BegKjwUu.mjs
|
|
5443
5443
|
/**
|
|
5444
5444
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5445
5445
|
* window to float samples (D455).
|
|
@@ -17583,7 +17583,11 @@ var deviceDiscoveryCapability = {
|
|
|
17583
17583
|
};
|
|
17584
17584
|
/**
|
|
17585
17585
|
* `device-adoption` — generic discovery + adoption surface,
|
|
17586
|
-
* system-scoped
|
|
17586
|
+
* system-scoped collection (one provider per integration addon), routed
|
|
17587
|
+
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
17588
|
+
* pin model as `connection-test`. The admin UI keeps using
|
|
17589
|
+
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
17590
|
+
* successor to `ha-discovery`:
|
|
17587
17591
|
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
17588
17592
|
* internally) rather than a connection-specific `brokerId`, and it
|
|
17589
17593
|
* REUSES the shared `DiscoveredChildDevice` candidate type from
|
|
@@ -17748,7 +17752,7 @@ var ResyncResultSchema = object({
|
|
|
17748
17752
|
var deviceAdoptionCapability = {
|
|
17749
17753
|
name: "device-adoption",
|
|
17750
17754
|
scope: "system",
|
|
17751
|
-
mode: "
|
|
17755
|
+
mode: "collection",
|
|
17752
17756
|
status: {
|
|
17753
17757
|
schema: AdoptionStatusSchema,
|
|
17754
17758
|
kind: "poll"
|
|
@@ -55297,6 +55301,14 @@ var DishwasherStatusSchema = object({
|
|
|
55297
55301
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55298
55302
|
halfLoad: boolean(),
|
|
55299
55303
|
hygienePlus: boolean(),
|
|
55304
|
+
/** Extra dry option when the appliance exposes it. */
|
|
55305
|
+
extraDry: boolean(),
|
|
55306
|
+
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
55307
|
+
intensiveZone: boolean(),
|
|
55308
|
+
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
55309
|
+
varioSpeedPlus: boolean(),
|
|
55310
|
+
/** Child lock (controls disabled on the appliance). */
|
|
55311
|
+
childLock: boolean(),
|
|
55300
55312
|
errorCode: number().nullable(),
|
|
55301
55313
|
errorLabel: string().nullable(),
|
|
55302
55314
|
lastFetchedAt: number()
|
|
@@ -55348,6 +55360,34 @@ var dishwasherCapability = {
|
|
|
55348
55360
|
kind: "mutation",
|
|
55349
55361
|
auth: "protected"
|
|
55350
55362
|
}),
|
|
55363
|
+
setExtraDry: method(object({
|
|
55364
|
+
deviceId: number().int().nonnegative(),
|
|
55365
|
+
on: boolean()
|
|
55366
|
+
}), _void(), {
|
|
55367
|
+
kind: "mutation",
|
|
55368
|
+
auth: "protected"
|
|
55369
|
+
}),
|
|
55370
|
+
setIntensiveZone: method(object({
|
|
55371
|
+
deviceId: number().int().nonnegative(),
|
|
55372
|
+
on: boolean()
|
|
55373
|
+
}), _void(), {
|
|
55374
|
+
kind: "mutation",
|
|
55375
|
+
auth: "protected"
|
|
55376
|
+
}),
|
|
55377
|
+
setVarioSpeedPlus: method(object({
|
|
55378
|
+
deviceId: number().int().nonnegative(),
|
|
55379
|
+
on: boolean()
|
|
55380
|
+
}), _void(), {
|
|
55381
|
+
kind: "mutation",
|
|
55382
|
+
auth: "protected"
|
|
55383
|
+
}),
|
|
55384
|
+
setChildLock: method(object({
|
|
55385
|
+
deviceId: number().int().nonnegative(),
|
|
55386
|
+
on: boolean()
|
|
55387
|
+
}), _void(), {
|
|
55388
|
+
kind: "mutation",
|
|
55389
|
+
auth: "protected"
|
|
55390
|
+
}),
|
|
55351
55391
|
setOption: method(object({
|
|
55352
55392
|
deviceId: number().int().nonnegative(),
|
|
55353
55393
|
key: string().min(1),
|
|
@@ -69320,6 +69360,18 @@ Object.freeze({
|
|
|
69320
69360
|
addonId: null,
|
|
69321
69361
|
access: "create"
|
|
69322
69362
|
},
|
|
69363
|
+
"dishwasher.setChildLock": {
|
|
69364
|
+
capName: "dishwasher",
|
|
69365
|
+
capScope: "device",
|
|
69366
|
+
addonId: null,
|
|
69367
|
+
access: "create"
|
|
69368
|
+
},
|
|
69369
|
+
"dishwasher.setExtraDry": {
|
|
69370
|
+
capName: "dishwasher",
|
|
69371
|
+
capScope: "device",
|
|
69372
|
+
addonId: null,
|
|
69373
|
+
access: "create"
|
|
69374
|
+
},
|
|
69323
69375
|
"dishwasher.setHalfLoad": {
|
|
69324
69376
|
capName: "dishwasher",
|
|
69325
69377
|
capScope: "device",
|
|
@@ -69332,6 +69384,12 @@ Object.freeze({
|
|
|
69332
69384
|
addonId: null,
|
|
69333
69385
|
access: "create"
|
|
69334
69386
|
},
|
|
69387
|
+
"dishwasher.setIntensiveZone": {
|
|
69388
|
+
capName: "dishwasher",
|
|
69389
|
+
capScope: "device",
|
|
69390
|
+
addonId: null,
|
|
69391
|
+
access: "create"
|
|
69392
|
+
},
|
|
69335
69393
|
"dishwasher.setOption": {
|
|
69336
69394
|
capName: "dishwasher",
|
|
69337
69395
|
capScope: "device",
|
|
@@ -69350,6 +69408,12 @@ Object.freeze({
|
|
|
69350
69408
|
addonId: null,
|
|
69351
69409
|
access: "create"
|
|
69352
69410
|
},
|
|
69411
|
+
"dishwasher.setVarioSpeedPlus": {
|
|
69412
|
+
capName: "dishwasher",
|
|
69413
|
+
capScope: "device",
|
|
69414
|
+
addonId: null,
|
|
69415
|
+
access: "create"
|
|
69416
|
+
},
|
|
69353
69417
|
"dishwasher.start": {
|
|
69354
69418
|
capName: "dishwasher",
|
|
69355
69419
|
capScope: "device",
|
|
@@ -75999,6 +76063,16 @@ Object.freeze({
|
|
|
75999
76063
|
form: "single",
|
|
76000
76064
|
optional: false
|
|
76001
76065
|
}],
|
|
76066
|
+
"dishwasher.setChildLock": [{
|
|
76067
|
+
name: "deviceId",
|
|
76068
|
+
form: "single",
|
|
76069
|
+
optional: false
|
|
76070
|
+
}],
|
|
76071
|
+
"dishwasher.setExtraDry": [{
|
|
76072
|
+
name: "deviceId",
|
|
76073
|
+
form: "single",
|
|
76074
|
+
optional: false
|
|
76075
|
+
}],
|
|
76002
76076
|
"dishwasher.setHalfLoad": [{
|
|
76003
76077
|
name: "deviceId",
|
|
76004
76078
|
form: "single",
|
|
@@ -76009,6 +76083,11 @@ Object.freeze({
|
|
|
76009
76083
|
form: "single",
|
|
76010
76084
|
optional: false
|
|
76011
76085
|
}],
|
|
76086
|
+
"dishwasher.setIntensiveZone": [{
|
|
76087
|
+
name: "deviceId",
|
|
76088
|
+
form: "single",
|
|
76089
|
+
optional: false
|
|
76090
|
+
}],
|
|
76012
76091
|
"dishwasher.setOption": [{
|
|
76013
76092
|
name: "deviceId",
|
|
76014
76093
|
form: "single",
|
|
@@ -76024,6 +76103,11 @@ Object.freeze({
|
|
|
76024
76103
|
form: "single",
|
|
76025
76104
|
optional: false
|
|
76026
76105
|
}],
|
|
76106
|
+
"dishwasher.setVarioSpeedPlus": [{
|
|
76107
|
+
name: "deviceId",
|
|
76108
|
+
form: "single",
|
|
76109
|
+
optional: false
|
|
76110
|
+
}],
|
|
76027
76111
|
"dishwasher.start": [{
|
|
76028
76112
|
name: "deviceId",
|
|
76029
76113
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -5440,7 +5440,7 @@ var ZodIssueCode = {
|
|
|
5440
5440
|
var ZodFirstPartyTypeKind;
|
|
5441
5441
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5442
5442
|
//#endregion
|
|
5443
|
-
//#region ../types/dist/sleep-
|
|
5443
|
+
//#region ../types/dist/sleep-BegKjwUu.mjs
|
|
5444
5444
|
/**
|
|
5445
5445
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5446
5446
|
* window to float samples (D455).
|
|
@@ -17584,7 +17584,11 @@ var deviceDiscoveryCapability = {
|
|
|
17584
17584
|
};
|
|
17585
17585
|
/**
|
|
17586
17586
|
* `device-adoption` — generic discovery + adoption surface,
|
|
17587
|
-
* system-scoped
|
|
17587
|
+
* system-scoped collection (one provider per integration addon), routed
|
|
17588
|
+
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
17589
|
+
* pin model as `connection-test`. The admin UI keeps using
|
|
17590
|
+
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
17591
|
+
* successor to `ha-discovery`:
|
|
17588
17592
|
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
17589
17593
|
* internally) rather than a connection-specific `brokerId`, and it
|
|
17590
17594
|
* REUSES the shared `DiscoveredChildDevice` candidate type from
|
|
@@ -17749,7 +17753,7 @@ var ResyncResultSchema = object({
|
|
|
17749
17753
|
var deviceAdoptionCapability = {
|
|
17750
17754
|
name: "device-adoption",
|
|
17751
17755
|
scope: "system",
|
|
17752
|
-
mode: "
|
|
17756
|
+
mode: "collection",
|
|
17753
17757
|
status: {
|
|
17754
17758
|
schema: AdoptionStatusSchema,
|
|
17755
17759
|
kind: "poll"
|
|
@@ -55298,6 +55302,14 @@ var DishwasherStatusSchema = object({
|
|
|
55298
55302
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
55299
55303
|
halfLoad: boolean(),
|
|
55300
55304
|
hygienePlus: boolean(),
|
|
55305
|
+
/** Extra dry option when the appliance exposes it. */
|
|
55306
|
+
extraDry: boolean(),
|
|
55307
|
+
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
55308
|
+
intensiveZone: boolean(),
|
|
55309
|
+
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
55310
|
+
varioSpeedPlus: boolean(),
|
|
55311
|
+
/** Child lock (controls disabled on the appliance). */
|
|
55312
|
+
childLock: boolean(),
|
|
55301
55313
|
errorCode: number().nullable(),
|
|
55302
55314
|
errorLabel: string().nullable(),
|
|
55303
55315
|
lastFetchedAt: number()
|
|
@@ -55349,6 +55361,34 @@ var dishwasherCapability = {
|
|
|
55349
55361
|
kind: "mutation",
|
|
55350
55362
|
auth: "protected"
|
|
55351
55363
|
}),
|
|
55364
|
+
setExtraDry: method(object({
|
|
55365
|
+
deviceId: number().int().nonnegative(),
|
|
55366
|
+
on: boolean()
|
|
55367
|
+
}), _void(), {
|
|
55368
|
+
kind: "mutation",
|
|
55369
|
+
auth: "protected"
|
|
55370
|
+
}),
|
|
55371
|
+
setIntensiveZone: method(object({
|
|
55372
|
+
deviceId: number().int().nonnegative(),
|
|
55373
|
+
on: boolean()
|
|
55374
|
+
}), _void(), {
|
|
55375
|
+
kind: "mutation",
|
|
55376
|
+
auth: "protected"
|
|
55377
|
+
}),
|
|
55378
|
+
setVarioSpeedPlus: method(object({
|
|
55379
|
+
deviceId: number().int().nonnegative(),
|
|
55380
|
+
on: boolean()
|
|
55381
|
+
}), _void(), {
|
|
55382
|
+
kind: "mutation",
|
|
55383
|
+
auth: "protected"
|
|
55384
|
+
}),
|
|
55385
|
+
setChildLock: method(object({
|
|
55386
|
+
deviceId: number().int().nonnegative(),
|
|
55387
|
+
on: boolean()
|
|
55388
|
+
}), _void(), {
|
|
55389
|
+
kind: "mutation",
|
|
55390
|
+
auth: "protected"
|
|
55391
|
+
}),
|
|
55352
55392
|
setOption: method(object({
|
|
55353
55393
|
deviceId: number().int().nonnegative(),
|
|
55354
55394
|
key: string().min(1),
|
|
@@ -69321,6 +69361,18 @@ Object.freeze({
|
|
|
69321
69361
|
addonId: null,
|
|
69322
69362
|
access: "create"
|
|
69323
69363
|
},
|
|
69364
|
+
"dishwasher.setChildLock": {
|
|
69365
|
+
capName: "dishwasher",
|
|
69366
|
+
capScope: "device",
|
|
69367
|
+
addonId: null,
|
|
69368
|
+
access: "create"
|
|
69369
|
+
},
|
|
69370
|
+
"dishwasher.setExtraDry": {
|
|
69371
|
+
capName: "dishwasher",
|
|
69372
|
+
capScope: "device",
|
|
69373
|
+
addonId: null,
|
|
69374
|
+
access: "create"
|
|
69375
|
+
},
|
|
69324
69376
|
"dishwasher.setHalfLoad": {
|
|
69325
69377
|
capName: "dishwasher",
|
|
69326
69378
|
capScope: "device",
|
|
@@ -69333,6 +69385,12 @@ Object.freeze({
|
|
|
69333
69385
|
addonId: null,
|
|
69334
69386
|
access: "create"
|
|
69335
69387
|
},
|
|
69388
|
+
"dishwasher.setIntensiveZone": {
|
|
69389
|
+
capName: "dishwasher",
|
|
69390
|
+
capScope: "device",
|
|
69391
|
+
addonId: null,
|
|
69392
|
+
access: "create"
|
|
69393
|
+
},
|
|
69336
69394
|
"dishwasher.setOption": {
|
|
69337
69395
|
capName: "dishwasher",
|
|
69338
69396
|
capScope: "device",
|
|
@@ -69351,6 +69409,12 @@ Object.freeze({
|
|
|
69351
69409
|
addonId: null,
|
|
69352
69410
|
access: "create"
|
|
69353
69411
|
},
|
|
69412
|
+
"dishwasher.setVarioSpeedPlus": {
|
|
69413
|
+
capName: "dishwasher",
|
|
69414
|
+
capScope: "device",
|
|
69415
|
+
addonId: null,
|
|
69416
|
+
access: "create"
|
|
69417
|
+
},
|
|
69354
69418
|
"dishwasher.start": {
|
|
69355
69419
|
capName: "dishwasher",
|
|
69356
69420
|
capScope: "device",
|
|
@@ -76000,6 +76064,16 @@ Object.freeze({
|
|
|
76000
76064
|
form: "single",
|
|
76001
76065
|
optional: false
|
|
76002
76066
|
}],
|
|
76067
|
+
"dishwasher.setChildLock": [{
|
|
76068
|
+
name: "deviceId",
|
|
76069
|
+
form: "single",
|
|
76070
|
+
optional: false
|
|
76071
|
+
}],
|
|
76072
|
+
"dishwasher.setExtraDry": [{
|
|
76073
|
+
name: "deviceId",
|
|
76074
|
+
form: "single",
|
|
76075
|
+
optional: false
|
|
76076
|
+
}],
|
|
76003
76077
|
"dishwasher.setHalfLoad": [{
|
|
76004
76078
|
name: "deviceId",
|
|
76005
76079
|
form: "single",
|
|
@@ -76010,6 +76084,11 @@ Object.freeze({
|
|
|
76010
76084
|
form: "single",
|
|
76011
76085
|
optional: false
|
|
76012
76086
|
}],
|
|
76087
|
+
"dishwasher.setIntensiveZone": [{
|
|
76088
|
+
name: "deviceId",
|
|
76089
|
+
form: "single",
|
|
76090
|
+
optional: false
|
|
76091
|
+
}],
|
|
76013
76092
|
"dishwasher.setOption": [{
|
|
76014
76093
|
name: "deviceId",
|
|
76015
76094
|
form: "single",
|
|
@@ -76025,6 +76104,11 @@ Object.freeze({
|
|
|
76025
76104
|
form: "single",
|
|
76026
76105
|
optional: false
|
|
76027
76106
|
}],
|
|
76107
|
+
"dishwasher.setVarioSpeedPlus": [{
|
|
76108
|
+
name: "deviceId",
|
|
76109
|
+
form: "single",
|
|
76110
|
+
optional: false
|
|
76111
|
+
}],
|
|
76028
76112
|
"dishwasher.start": [{
|
|
76029
76113
|
name: "deviceId",
|
|
76030
76114
|
form: "single",
|
package/package.json
CHANGED