@camstack/addon-provider-petkit 0.2.127 → 0.2.128
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
|
@@ -6507,7 +6507,7 @@ var ZodIssueCode = {
|
|
|
6507
6507
|
var ZodFirstPartyTypeKind;
|
|
6508
6508
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6509
6509
|
//#endregion
|
|
6510
|
-
//#region ../types/dist/sleep-
|
|
6510
|
+
//#region ../types/dist/sleep-BegKjwUu.mjs
|
|
6511
6511
|
/**
|
|
6512
6512
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6513
6513
|
* window to float samples (D455).
|
|
@@ -18651,7 +18651,11 @@ var deviceDiscoveryCapability = {
|
|
|
18651
18651
|
};
|
|
18652
18652
|
/**
|
|
18653
18653
|
* `device-adoption` — generic discovery + adoption surface,
|
|
18654
|
-
* system-scoped
|
|
18654
|
+
* system-scoped collection (one provider per integration addon), routed
|
|
18655
|
+
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
18656
|
+
* pin model as `connection-test`. The admin UI keeps using
|
|
18657
|
+
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
18658
|
+
* successor to `ha-discovery`:
|
|
18655
18659
|
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
18656
18660
|
* internally) rather than a connection-specific `brokerId`, and it
|
|
18657
18661
|
* REUSES the shared `DiscoveredChildDevice` candidate type from
|
|
@@ -18816,7 +18820,7 @@ var ResyncResultSchema = object({
|
|
|
18816
18820
|
var deviceAdoptionCapability = {
|
|
18817
18821
|
name: "device-adoption",
|
|
18818
18822
|
scope: "system",
|
|
18819
|
-
mode: "
|
|
18823
|
+
mode: "collection",
|
|
18820
18824
|
status: {
|
|
18821
18825
|
schema: AdoptionStatusSchema,
|
|
18822
18826
|
kind: "poll"
|
|
@@ -56373,6 +56377,14 @@ var DishwasherStatusSchema = object({
|
|
|
56373
56377
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56374
56378
|
halfLoad: boolean(),
|
|
56375
56379
|
hygienePlus: boolean(),
|
|
56380
|
+
/** Extra dry option when the appliance exposes it. */
|
|
56381
|
+
extraDry: boolean(),
|
|
56382
|
+
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
56383
|
+
intensiveZone: boolean(),
|
|
56384
|
+
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
56385
|
+
varioSpeedPlus: boolean(),
|
|
56386
|
+
/** Child lock (controls disabled on the appliance). */
|
|
56387
|
+
childLock: boolean(),
|
|
56376
56388
|
errorCode: number().nullable(),
|
|
56377
56389
|
errorLabel: string().nullable(),
|
|
56378
56390
|
lastFetchedAt: number()
|
|
@@ -56424,6 +56436,34 @@ var dishwasherCapability = {
|
|
|
56424
56436
|
kind: "mutation",
|
|
56425
56437
|
auth: "protected"
|
|
56426
56438
|
}),
|
|
56439
|
+
setExtraDry: method(object({
|
|
56440
|
+
deviceId: number().int().nonnegative(),
|
|
56441
|
+
on: boolean()
|
|
56442
|
+
}), _void(), {
|
|
56443
|
+
kind: "mutation",
|
|
56444
|
+
auth: "protected"
|
|
56445
|
+
}),
|
|
56446
|
+
setIntensiveZone: method(object({
|
|
56447
|
+
deviceId: number().int().nonnegative(),
|
|
56448
|
+
on: boolean()
|
|
56449
|
+
}), _void(), {
|
|
56450
|
+
kind: "mutation",
|
|
56451
|
+
auth: "protected"
|
|
56452
|
+
}),
|
|
56453
|
+
setVarioSpeedPlus: method(object({
|
|
56454
|
+
deviceId: number().int().nonnegative(),
|
|
56455
|
+
on: boolean()
|
|
56456
|
+
}), _void(), {
|
|
56457
|
+
kind: "mutation",
|
|
56458
|
+
auth: "protected"
|
|
56459
|
+
}),
|
|
56460
|
+
setChildLock: method(object({
|
|
56461
|
+
deviceId: number().int().nonnegative(),
|
|
56462
|
+
on: boolean()
|
|
56463
|
+
}), _void(), {
|
|
56464
|
+
kind: "mutation",
|
|
56465
|
+
auth: "protected"
|
|
56466
|
+
}),
|
|
56427
56467
|
setOption: method(object({
|
|
56428
56468
|
deviceId: number().int().nonnegative(),
|
|
56429
56469
|
key: string().min(1),
|
|
@@ -70396,6 +70436,18 @@ Object.freeze({
|
|
|
70396
70436
|
addonId: null,
|
|
70397
70437
|
access: "create"
|
|
70398
70438
|
},
|
|
70439
|
+
"dishwasher.setChildLock": {
|
|
70440
|
+
capName: "dishwasher",
|
|
70441
|
+
capScope: "device",
|
|
70442
|
+
addonId: null,
|
|
70443
|
+
access: "create"
|
|
70444
|
+
},
|
|
70445
|
+
"dishwasher.setExtraDry": {
|
|
70446
|
+
capName: "dishwasher",
|
|
70447
|
+
capScope: "device",
|
|
70448
|
+
addonId: null,
|
|
70449
|
+
access: "create"
|
|
70450
|
+
},
|
|
70399
70451
|
"dishwasher.setHalfLoad": {
|
|
70400
70452
|
capName: "dishwasher",
|
|
70401
70453
|
capScope: "device",
|
|
@@ -70408,6 +70460,12 @@ Object.freeze({
|
|
|
70408
70460
|
addonId: null,
|
|
70409
70461
|
access: "create"
|
|
70410
70462
|
},
|
|
70463
|
+
"dishwasher.setIntensiveZone": {
|
|
70464
|
+
capName: "dishwasher",
|
|
70465
|
+
capScope: "device",
|
|
70466
|
+
addonId: null,
|
|
70467
|
+
access: "create"
|
|
70468
|
+
},
|
|
70411
70469
|
"dishwasher.setOption": {
|
|
70412
70470
|
capName: "dishwasher",
|
|
70413
70471
|
capScope: "device",
|
|
@@ -70426,6 +70484,12 @@ Object.freeze({
|
|
|
70426
70484
|
addonId: null,
|
|
70427
70485
|
access: "create"
|
|
70428
70486
|
},
|
|
70487
|
+
"dishwasher.setVarioSpeedPlus": {
|
|
70488
|
+
capName: "dishwasher",
|
|
70489
|
+
capScope: "device",
|
|
70490
|
+
addonId: null,
|
|
70491
|
+
access: "create"
|
|
70492
|
+
},
|
|
70429
70493
|
"dishwasher.start": {
|
|
70430
70494
|
capName: "dishwasher",
|
|
70431
70495
|
capScope: "device",
|
|
@@ -77075,6 +77139,16 @@ Object.freeze({
|
|
|
77075
77139
|
form: "single",
|
|
77076
77140
|
optional: false
|
|
77077
77141
|
}],
|
|
77142
|
+
"dishwasher.setChildLock": [{
|
|
77143
|
+
name: "deviceId",
|
|
77144
|
+
form: "single",
|
|
77145
|
+
optional: false
|
|
77146
|
+
}],
|
|
77147
|
+
"dishwasher.setExtraDry": [{
|
|
77148
|
+
name: "deviceId",
|
|
77149
|
+
form: "single",
|
|
77150
|
+
optional: false
|
|
77151
|
+
}],
|
|
77078
77152
|
"dishwasher.setHalfLoad": [{
|
|
77079
77153
|
name: "deviceId",
|
|
77080
77154
|
form: "single",
|
|
@@ -77085,6 +77159,11 @@ Object.freeze({
|
|
|
77085
77159
|
form: "single",
|
|
77086
77160
|
optional: false
|
|
77087
77161
|
}],
|
|
77162
|
+
"dishwasher.setIntensiveZone": [{
|
|
77163
|
+
name: "deviceId",
|
|
77164
|
+
form: "single",
|
|
77165
|
+
optional: false
|
|
77166
|
+
}],
|
|
77088
77167
|
"dishwasher.setOption": [{
|
|
77089
77168
|
name: "deviceId",
|
|
77090
77169
|
form: "single",
|
|
@@ -77100,6 +77179,11 @@ Object.freeze({
|
|
|
77100
77179
|
form: "single",
|
|
77101
77180
|
optional: false
|
|
77102
77181
|
}],
|
|
77182
|
+
"dishwasher.setVarioSpeedPlus": [{
|
|
77183
|
+
name: "deviceId",
|
|
77184
|
+
form: "single",
|
|
77185
|
+
optional: false
|
|
77186
|
+
}],
|
|
77103
77187
|
"dishwasher.start": [{
|
|
77104
77188
|
name: "deviceId",
|
|
77105
77189
|
form: "single",
|
package/dist/addon.mjs
CHANGED
|
@@ -6506,7 +6506,7 @@ var ZodIssueCode = {
|
|
|
6506
6506
|
var ZodFirstPartyTypeKind;
|
|
6507
6507
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
6508
6508
|
//#endregion
|
|
6509
|
-
//#region ../types/dist/sleep-
|
|
6509
|
+
//#region ../types/dist/sleep-BegKjwUu.mjs
|
|
6510
6510
|
/**
|
|
6511
6511
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
6512
6512
|
* window to float samples (D455).
|
|
@@ -18650,7 +18650,11 @@ var deviceDiscoveryCapability = {
|
|
|
18650
18650
|
};
|
|
18651
18651
|
/**
|
|
18652
18652
|
* `device-adoption` — generic discovery + adoption surface,
|
|
18653
|
-
* system-scoped
|
|
18653
|
+
* system-scoped collection (one provider per integration addon), routed
|
|
18654
|
+
* by explicit `{ addonId }` on direct `deviceAdoption.*` calls — the same
|
|
18655
|
+
* pin model as `connection-test`. The admin UI keeps using
|
|
18656
|
+
* `deviceManager.adoption*` (which already threads `addonId`). The de-HA-ified
|
|
18657
|
+
* successor to `ha-discovery`:
|
|
18654
18658
|
* keyed by `integrationId` (the addon resolves integrationId → broker
|
|
18655
18659
|
* internally) rather than a connection-specific `brokerId`, and it
|
|
18656
18660
|
* REUSES the shared `DiscoveredChildDevice` candidate type from
|
|
@@ -18815,7 +18819,7 @@ var ResyncResultSchema = object({
|
|
|
18815
18819
|
var deviceAdoptionCapability = {
|
|
18816
18820
|
name: "device-adoption",
|
|
18817
18821
|
scope: "system",
|
|
18818
|
-
mode: "
|
|
18822
|
+
mode: "collection",
|
|
18819
18823
|
status: {
|
|
18820
18824
|
schema: AdoptionStatusSchema,
|
|
18821
18825
|
kind: "poll"
|
|
@@ -56372,6 +56376,14 @@ var DishwasherStatusSchema = object({
|
|
|
56372
56376
|
rinseAidLevel: DishwasherConsumableLevelSchema.nullable(),
|
|
56373
56377
|
halfLoad: boolean(),
|
|
56374
56378
|
hygienePlus: boolean(),
|
|
56379
|
+
/** Extra dry option when the appliance exposes it. */
|
|
56380
|
+
extraDry: boolean(),
|
|
56381
|
+
/** Intensive zone (lower basket) when the appliance exposes it. */
|
|
56382
|
+
intensiveZone: boolean(),
|
|
56383
|
+
/** VarioSpeed / VarioSpeed+ when the appliance exposes it. */
|
|
56384
|
+
varioSpeedPlus: boolean(),
|
|
56385
|
+
/** Child lock (controls disabled on the appliance). */
|
|
56386
|
+
childLock: boolean(),
|
|
56375
56387
|
errorCode: number().nullable(),
|
|
56376
56388
|
errorLabel: string().nullable(),
|
|
56377
56389
|
lastFetchedAt: number()
|
|
@@ -56423,6 +56435,34 @@ var dishwasherCapability = {
|
|
|
56423
56435
|
kind: "mutation",
|
|
56424
56436
|
auth: "protected"
|
|
56425
56437
|
}),
|
|
56438
|
+
setExtraDry: method(object({
|
|
56439
|
+
deviceId: number().int().nonnegative(),
|
|
56440
|
+
on: boolean()
|
|
56441
|
+
}), _void(), {
|
|
56442
|
+
kind: "mutation",
|
|
56443
|
+
auth: "protected"
|
|
56444
|
+
}),
|
|
56445
|
+
setIntensiveZone: method(object({
|
|
56446
|
+
deviceId: number().int().nonnegative(),
|
|
56447
|
+
on: boolean()
|
|
56448
|
+
}), _void(), {
|
|
56449
|
+
kind: "mutation",
|
|
56450
|
+
auth: "protected"
|
|
56451
|
+
}),
|
|
56452
|
+
setVarioSpeedPlus: method(object({
|
|
56453
|
+
deviceId: number().int().nonnegative(),
|
|
56454
|
+
on: boolean()
|
|
56455
|
+
}), _void(), {
|
|
56456
|
+
kind: "mutation",
|
|
56457
|
+
auth: "protected"
|
|
56458
|
+
}),
|
|
56459
|
+
setChildLock: method(object({
|
|
56460
|
+
deviceId: number().int().nonnegative(),
|
|
56461
|
+
on: boolean()
|
|
56462
|
+
}), _void(), {
|
|
56463
|
+
kind: "mutation",
|
|
56464
|
+
auth: "protected"
|
|
56465
|
+
}),
|
|
56426
56466
|
setOption: method(object({
|
|
56427
56467
|
deviceId: number().int().nonnegative(),
|
|
56428
56468
|
key: string().min(1),
|
|
@@ -70395,6 +70435,18 @@ Object.freeze({
|
|
|
70395
70435
|
addonId: null,
|
|
70396
70436
|
access: "create"
|
|
70397
70437
|
},
|
|
70438
|
+
"dishwasher.setChildLock": {
|
|
70439
|
+
capName: "dishwasher",
|
|
70440
|
+
capScope: "device",
|
|
70441
|
+
addonId: null,
|
|
70442
|
+
access: "create"
|
|
70443
|
+
},
|
|
70444
|
+
"dishwasher.setExtraDry": {
|
|
70445
|
+
capName: "dishwasher",
|
|
70446
|
+
capScope: "device",
|
|
70447
|
+
addonId: null,
|
|
70448
|
+
access: "create"
|
|
70449
|
+
},
|
|
70398
70450
|
"dishwasher.setHalfLoad": {
|
|
70399
70451
|
capName: "dishwasher",
|
|
70400
70452
|
capScope: "device",
|
|
@@ -70407,6 +70459,12 @@ Object.freeze({
|
|
|
70407
70459
|
addonId: null,
|
|
70408
70460
|
access: "create"
|
|
70409
70461
|
},
|
|
70462
|
+
"dishwasher.setIntensiveZone": {
|
|
70463
|
+
capName: "dishwasher",
|
|
70464
|
+
capScope: "device",
|
|
70465
|
+
addonId: null,
|
|
70466
|
+
access: "create"
|
|
70467
|
+
},
|
|
70410
70468
|
"dishwasher.setOption": {
|
|
70411
70469
|
capName: "dishwasher",
|
|
70412
70470
|
capScope: "device",
|
|
@@ -70425,6 +70483,12 @@ Object.freeze({
|
|
|
70425
70483
|
addonId: null,
|
|
70426
70484
|
access: "create"
|
|
70427
70485
|
},
|
|
70486
|
+
"dishwasher.setVarioSpeedPlus": {
|
|
70487
|
+
capName: "dishwasher",
|
|
70488
|
+
capScope: "device",
|
|
70489
|
+
addonId: null,
|
|
70490
|
+
access: "create"
|
|
70491
|
+
},
|
|
70428
70492
|
"dishwasher.start": {
|
|
70429
70493
|
capName: "dishwasher",
|
|
70430
70494
|
capScope: "device",
|
|
@@ -77074,6 +77138,16 @@ Object.freeze({
|
|
|
77074
77138
|
form: "single",
|
|
77075
77139
|
optional: false
|
|
77076
77140
|
}],
|
|
77141
|
+
"dishwasher.setChildLock": [{
|
|
77142
|
+
name: "deviceId",
|
|
77143
|
+
form: "single",
|
|
77144
|
+
optional: false
|
|
77145
|
+
}],
|
|
77146
|
+
"dishwasher.setExtraDry": [{
|
|
77147
|
+
name: "deviceId",
|
|
77148
|
+
form: "single",
|
|
77149
|
+
optional: false
|
|
77150
|
+
}],
|
|
77077
77151
|
"dishwasher.setHalfLoad": [{
|
|
77078
77152
|
name: "deviceId",
|
|
77079
77153
|
form: "single",
|
|
@@ -77084,6 +77158,11 @@ Object.freeze({
|
|
|
77084
77158
|
form: "single",
|
|
77085
77159
|
optional: false
|
|
77086
77160
|
}],
|
|
77161
|
+
"dishwasher.setIntensiveZone": [{
|
|
77162
|
+
name: "deviceId",
|
|
77163
|
+
form: "single",
|
|
77164
|
+
optional: false
|
|
77165
|
+
}],
|
|
77087
77166
|
"dishwasher.setOption": [{
|
|
77088
77167
|
name: "deviceId",
|
|
77089
77168
|
form: "single",
|
|
@@ -77099,6 +77178,11 @@ Object.freeze({
|
|
|
77099
77178
|
form: "single",
|
|
77100
77179
|
optional: false
|
|
77101
77180
|
}],
|
|
77181
|
+
"dishwasher.setVarioSpeedPlus": [{
|
|
77182
|
+
name: "deviceId",
|
|
77183
|
+
form: "single",
|
|
77184
|
+
optional: false
|
|
77185
|
+
}],
|
|
77102
77186
|
"dishwasher.start": [{
|
|
77103
77187
|
name: "deviceId",
|
|
77104
77188
|
form: "single",
|
package/package.json
CHANGED