@camstack/addon-export-ha-mqtt 1.1.9 → 1.1.11
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.
|
@@ -4679,7 +4679,7 @@ function number(params) {
|
|
|
4679
4679
|
return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
|
|
4680
4680
|
}
|
|
4681
4681
|
//#endregion
|
|
4682
|
-
//#region ../types/dist/sleep-
|
|
4682
|
+
//#region ../types/dist/sleep-C2M2zF7x.mjs
|
|
4683
4683
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4684
4684
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4685
4685
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -6247,6 +6247,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
6247
6247
|
DeviceType["Switch"] = "switch";
|
|
6248
6248
|
DeviceType["Sensor"] = "sensor";
|
|
6249
6249
|
DeviceType["Thermostat"] = "thermostat";
|
|
6250
|
+
/** Air-conditioner / heat-pump climate device (HVAC) — shares the
|
|
6251
|
+
* `climate-control` cap surface with `Thermostat` but renders a
|
|
6252
|
+
* dedicated AC-appropriate control UI (mode chips, fan speed,
|
|
6253
|
+
* independent vertical/horizontal swing). Sources: native Gree, and
|
|
6254
|
+
* reusable by other AC integrations. */
|
|
6255
|
+
DeviceType["Climate"] = "climate";
|
|
6250
6256
|
DeviceType["Button"] = "button";
|
|
6251
6257
|
/** Generic stateless event emitter — carries a device's EXACT declared
|
|
6252
6258
|
* event vocabulary verbatim (no normalization). Installed with the
|
|
@@ -8401,7 +8407,7 @@ object({
|
|
|
8401
8407
|
/** Ms epoch when the slice was last updated (push or command). */
|
|
8402
8408
|
lastFetchedAt: number$1()
|
|
8403
8409
|
});
|
|
8404
|
-
DeviceType.Thermostat, method(object({
|
|
8410
|
+
DeviceType.Thermostat, DeviceType.Climate, method(object({
|
|
8405
8411
|
deviceId: number$1().int().nonnegative(),
|
|
8406
8412
|
mode: HvacModeSchema
|
|
8407
8413
|
}), _void(), {
|
|
@@ -11086,10 +11092,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
11086
11092
|
id: string(),
|
|
11087
11093
|
name: string(),
|
|
11088
11094
|
type: string()
|
|
11089
|
-
}))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
|
|
11095
|
+
}))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
11090
11096
|
kind: "mutation",
|
|
11091
11097
|
auth: "admin"
|
|
11092
|
-
}), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11098
|
+
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11093
11099
|
kind: "mutation",
|
|
11094
11100
|
auth: "admin"
|
|
11095
11101
|
}), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
|
|
@@ -12835,7 +12841,10 @@ method(object({
|
|
|
12835
12841
|
}), FieldProbeResultSchema, {
|
|
12836
12842
|
kind: "mutation",
|
|
12837
12843
|
auth: "admin"
|
|
12838
|
-
}), method(
|
|
12844
|
+
}), method(object({
|
|
12845
|
+
addonId: string(),
|
|
12846
|
+
integrationId: string()
|
|
12847
|
+
}), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
|
|
12839
12848
|
addonId: string(),
|
|
12840
12849
|
integrationId: string()
|
|
12841
12850
|
}), AdoptionStatusSchema, {
|
|
@@ -12850,7 +12859,24 @@ method(object({
|
|
|
12850
12859
|
}), method(ResyncInputSchema, ResyncResultSchema, {
|
|
12851
12860
|
kind: "mutation",
|
|
12852
12861
|
auth: "admin"
|
|
12862
|
+
}), method(object({}), object({ providers: array(object({
|
|
12863
|
+
addonId: string(),
|
|
12864
|
+
label: string()
|
|
12865
|
+
})).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
|
|
12866
|
+
addonId: string(),
|
|
12867
|
+
label: string(),
|
|
12868
|
+
candidates: array(DiscoveryCandidateSchema).readonly(),
|
|
12869
|
+
error: string().nullable()
|
|
12870
|
+
})).readonly() }), {
|
|
12871
|
+
kind: "mutation",
|
|
12872
|
+
auth: "admin"
|
|
12853
12873
|
}), method(object({
|
|
12874
|
+
addonId: string(),
|
|
12875
|
+
params: record(string(), unknown()).optional()
|
|
12876
|
+
}), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
|
|
12877
|
+
kind: "mutation",
|
|
12878
|
+
auth: "admin"
|
|
12879
|
+
}), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
|
|
12854
12880
|
deviceId: number$1(),
|
|
12855
12881
|
key: string(),
|
|
12856
12882
|
value: unknown()
|
|
@@ -15502,6 +15528,17 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
15502
15528
|
iconUrl: string().nullable(),
|
|
15503
15529
|
color: string(),
|
|
15504
15530
|
instanceMode: string(),
|
|
15531
|
+
/**
|
|
15532
|
+
* Integration wizard `mode` (LOCKED MODEL): `standalone` (create
|
|
15533
|
+
* immediately then add devices, no config step/button), `account` (config
|
|
15534
|
+
* step), or `broker` (broker step). Derived server-side by
|
|
15535
|
+
* `getAvailableTypes` when the addon manifest omits an explicit `mode`.
|
|
15536
|
+
*/
|
|
15537
|
+
mode: _enum([
|
|
15538
|
+
"standalone",
|
|
15539
|
+
"account",
|
|
15540
|
+
"broker"
|
|
15541
|
+
]),
|
|
15505
15542
|
discoveryMode: string(),
|
|
15506
15543
|
/**
|
|
15507
15544
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
@@ -17962,6 +17999,12 @@ Object.freeze({
|
|
|
17962
17999
|
addonId: null,
|
|
17963
18000
|
access: "create"
|
|
17964
18001
|
},
|
|
18002
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
18003
|
+
capName: "device-manager",
|
|
18004
|
+
capScope: "system",
|
|
18005
|
+
addonId: null,
|
|
18006
|
+
access: "view"
|
|
18007
|
+
},
|
|
17965
18008
|
"deviceManager.adoptionListCandidates": {
|
|
17966
18009
|
capName: "device-manager",
|
|
17967
18010
|
capScope: "system",
|
|
@@ -18010,12 +18053,30 @@ Object.freeze({
|
|
|
18010
18053
|
addonId: null,
|
|
18011
18054
|
access: "create"
|
|
18012
18055
|
},
|
|
18056
|
+
"deviceManager.discoverAllProviders": {
|
|
18057
|
+
capName: "device-manager",
|
|
18058
|
+
capScope: "system",
|
|
18059
|
+
addonId: null,
|
|
18060
|
+
access: "create"
|
|
18061
|
+
},
|
|
18013
18062
|
"deviceManager.discoverDevices": {
|
|
18014
18063
|
capName: "device-manager",
|
|
18015
18064
|
capScope: "system",
|
|
18016
18065
|
addonId: null,
|
|
18017
18066
|
access: "create"
|
|
18018
18067
|
},
|
|
18068
|
+
"deviceManager.discoverProvider": {
|
|
18069
|
+
capName: "device-manager",
|
|
18070
|
+
capScope: "system",
|
|
18071
|
+
addonId: null,
|
|
18072
|
+
access: "create"
|
|
18073
|
+
},
|
|
18074
|
+
"deviceManager.discoveryProviders": {
|
|
18075
|
+
capName: "device-manager",
|
|
18076
|
+
capScope: "system",
|
|
18077
|
+
addonId: null,
|
|
18078
|
+
access: "view"
|
|
18079
|
+
},
|
|
18019
18080
|
"deviceManager.enable": {
|
|
18020
18081
|
capName: "device-manager",
|
|
18021
18082
|
capScope: "system",
|
|
@@ -18166,6 +18227,18 @@ Object.freeze({
|
|
|
18166
18227
|
addonId: null,
|
|
18167
18228
|
access: "create"
|
|
18168
18229
|
},
|
|
18230
|
+
"deviceManager.providerCreationType": {
|
|
18231
|
+
capName: "device-manager",
|
|
18232
|
+
capScope: "system",
|
|
18233
|
+
addonId: null,
|
|
18234
|
+
access: "view"
|
|
18235
|
+
},
|
|
18236
|
+
"deviceManager.providerDiscoveryParamsSchema": {
|
|
18237
|
+
capName: "device-manager",
|
|
18238
|
+
capScope: "system",
|
|
18239
|
+
addonId: null,
|
|
18240
|
+
access: "view"
|
|
18241
|
+
},
|
|
18169
18242
|
"deviceManager.registerDevice": {
|
|
18170
18243
|
capName: "device-manager",
|
|
18171
18244
|
capScope: "system",
|
|
@@ -18382,6 +18455,18 @@ Object.freeze({
|
|
|
18382
18455
|
addonId: null,
|
|
18383
18456
|
access: "view"
|
|
18384
18457
|
},
|
|
18458
|
+
"deviceProvider.getDiscoveryParamsSchema": {
|
|
18459
|
+
capName: "device-provider",
|
|
18460
|
+
capScope: "system",
|
|
18461
|
+
addonId: null,
|
|
18462
|
+
access: "view"
|
|
18463
|
+
},
|
|
18464
|
+
"deviceProvider.getManualCreationType": {
|
|
18465
|
+
capName: "device-provider",
|
|
18466
|
+
capScope: "system",
|
|
18467
|
+
addonId: null,
|
|
18468
|
+
access: "view"
|
|
18469
|
+
},
|
|
18385
18470
|
"deviceProvider.getStatus": {
|
|
18386
18471
|
capName: "device-provider",
|
|
18387
18472
|
capScope: "system",
|
|
@@ -4677,7 +4677,7 @@ function number(params) {
|
|
|
4677
4677
|
return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
|
|
4678
4678
|
}
|
|
4679
4679
|
//#endregion
|
|
4680
|
-
//#region ../types/dist/sleep-
|
|
4680
|
+
//#region ../types/dist/sleep-C2M2zF7x.mjs
|
|
4681
4681
|
var EventCategory = /* @__PURE__ */ function(EventCategory) {
|
|
4682
4682
|
EventCategory["SystemBoot"] = "system.boot";
|
|
4683
4683
|
EventCategory["SystemAddonsReady"] = "system.addons-ready";
|
|
@@ -6245,6 +6245,12 @@ var DeviceType = /* @__PURE__ */ function(DeviceType) {
|
|
|
6245
6245
|
DeviceType["Switch"] = "switch";
|
|
6246
6246
|
DeviceType["Sensor"] = "sensor";
|
|
6247
6247
|
DeviceType["Thermostat"] = "thermostat";
|
|
6248
|
+
/** Air-conditioner / heat-pump climate device (HVAC) — shares the
|
|
6249
|
+
* `climate-control` cap surface with `Thermostat` but renders a
|
|
6250
|
+
* dedicated AC-appropriate control UI (mode chips, fan speed,
|
|
6251
|
+
* independent vertical/horizontal swing). Sources: native Gree, and
|
|
6252
|
+
* reusable by other AC integrations. */
|
|
6253
|
+
DeviceType["Climate"] = "climate";
|
|
6248
6254
|
DeviceType["Button"] = "button";
|
|
6249
6255
|
/** Generic stateless event emitter — carries a device's EXACT declared
|
|
6250
6256
|
* event vocabulary verbatim (no normalization). Installed with the
|
|
@@ -8399,7 +8405,7 @@ object({
|
|
|
8399
8405
|
/** Ms epoch when the slice was last updated (push or command). */
|
|
8400
8406
|
lastFetchedAt: number$1()
|
|
8401
8407
|
});
|
|
8402
|
-
DeviceType.Thermostat, method(object({
|
|
8408
|
+
DeviceType.Thermostat, DeviceType.Climate, method(object({
|
|
8403
8409
|
deviceId: number$1().int().nonnegative(),
|
|
8404
8410
|
mode: HvacModeSchema
|
|
8405
8411
|
}), _void(), {
|
|
@@ -11084,10 +11090,10 @@ method(_void(), _void(), { kind: "mutation" }), method(_void(), _void(), { kind:
|
|
|
11084
11090
|
id: string(),
|
|
11085
11091
|
name: string(),
|
|
11086
11092
|
type: string()
|
|
11087
|
-
}))), method(object({}), boolean()), method(object({}), array(DiscoveryCandidateSchema), {
|
|
11093
|
+
}))), method(object({}), boolean()), method(object({ params: record(string(), unknown()).optional() }), array(DiscoveryCandidateSchema), {
|
|
11088
11094
|
kind: "mutation",
|
|
11089
11095
|
auth: "admin"
|
|
11090
|
-
}), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11096
|
+
}), method(object({}), CreationSchemaOutputSchema), method(object({}), object({ deviceType: _enum(DeviceType).nullable() })), method(object({ candidate: DiscoveryCandidateSchema }), DeviceSummarySchema, {
|
|
11091
11097
|
kind: "mutation",
|
|
11092
11098
|
auth: "admin"
|
|
11093
11099
|
}), method(object({}), boolean()), method(object({ type: _enum(DeviceType) }), CreationSchemaOutputSchema), method(object({
|
|
@@ -12833,7 +12839,10 @@ method(object({
|
|
|
12833
12839
|
}), FieldProbeResultSchema, {
|
|
12834
12840
|
kind: "mutation",
|
|
12835
12841
|
auth: "admin"
|
|
12836
|
-
}), method(
|
|
12842
|
+
}), method(object({
|
|
12843
|
+
addonId: string(),
|
|
12844
|
+
integrationId: string()
|
|
12845
|
+
}), object({ filters: array(AdoptionFilterSchema) }), { auth: "admin" }), method(ListCandidatesInputSchema.extend({ addonId: string() }), ListCandidatesOutputSchema, { auth: "admin" }), method(object({
|
|
12837
12846
|
addonId: string(),
|
|
12838
12847
|
integrationId: string()
|
|
12839
12848
|
}), AdoptionStatusSchema, {
|
|
@@ -12848,7 +12857,24 @@ method(object({
|
|
|
12848
12857
|
}), method(ResyncInputSchema, ResyncResultSchema, {
|
|
12849
12858
|
kind: "mutation",
|
|
12850
12859
|
auth: "admin"
|
|
12860
|
+
}), method(object({}), object({ providers: array(object({
|
|
12861
|
+
addonId: string(),
|
|
12862
|
+
label: string()
|
|
12863
|
+
})).readonly() }), { auth: "admin" }), method(object({}), object({ groups: array(object({
|
|
12864
|
+
addonId: string(),
|
|
12865
|
+
label: string(),
|
|
12866
|
+
candidates: array(DiscoveryCandidateSchema).readonly(),
|
|
12867
|
+
error: string().nullable()
|
|
12868
|
+
})).readonly() }), {
|
|
12869
|
+
kind: "mutation",
|
|
12870
|
+
auth: "admin"
|
|
12851
12871
|
}), method(object({
|
|
12872
|
+
addonId: string(),
|
|
12873
|
+
params: record(string(), unknown()).optional()
|
|
12874
|
+
}), object({ candidates: array(DiscoveryCandidateSchema).readonly() }), {
|
|
12875
|
+
kind: "mutation",
|
|
12876
|
+
auth: "admin"
|
|
12877
|
+
}), method(object({ addonId: string() }), object({ deviceType: _enum(DeviceType).nullable() }), { auth: "admin" }), method(object({ addonId: string() }), unknown(), { auth: "admin" }), method(object({
|
|
12852
12878
|
deviceId: number$1(),
|
|
12853
12879
|
key: string(),
|
|
12854
12880
|
value: unknown()
|
|
@@ -15500,6 +15526,17 @@ var AvailableIntegrationTypeSchema = object({
|
|
|
15500
15526
|
iconUrl: string().nullable(),
|
|
15501
15527
|
color: string(),
|
|
15502
15528
|
instanceMode: string(),
|
|
15529
|
+
/**
|
|
15530
|
+
* Integration wizard `mode` (LOCKED MODEL): `standalone` (create
|
|
15531
|
+
* immediately then add devices, no config step/button), `account` (config
|
|
15532
|
+
* step), or `broker` (broker step). Derived server-side by
|
|
15533
|
+
* `getAvailableTypes` when the addon manifest omits an explicit `mode`.
|
|
15534
|
+
*/
|
|
15535
|
+
mode: _enum([
|
|
15536
|
+
"standalone",
|
|
15537
|
+
"account",
|
|
15538
|
+
"broker"
|
|
15539
|
+
]),
|
|
15503
15540
|
discoveryMode: string(),
|
|
15504
15541
|
/**
|
|
15505
15542
|
* Which integration-marker cap the addon declared, so the wizard can
|
|
@@ -17960,6 +17997,12 @@ Object.freeze({
|
|
|
17960
17997
|
addonId: null,
|
|
17961
17998
|
access: "create"
|
|
17962
17999
|
},
|
|
18000
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
18001
|
+
capName: "device-manager",
|
|
18002
|
+
capScope: "system",
|
|
18003
|
+
addonId: null,
|
|
18004
|
+
access: "view"
|
|
18005
|
+
},
|
|
17963
18006
|
"deviceManager.adoptionListCandidates": {
|
|
17964
18007
|
capName: "device-manager",
|
|
17965
18008
|
capScope: "system",
|
|
@@ -18008,12 +18051,30 @@ Object.freeze({
|
|
|
18008
18051
|
addonId: null,
|
|
18009
18052
|
access: "create"
|
|
18010
18053
|
},
|
|
18054
|
+
"deviceManager.discoverAllProviders": {
|
|
18055
|
+
capName: "device-manager",
|
|
18056
|
+
capScope: "system",
|
|
18057
|
+
addonId: null,
|
|
18058
|
+
access: "create"
|
|
18059
|
+
},
|
|
18011
18060
|
"deviceManager.discoverDevices": {
|
|
18012
18061
|
capName: "device-manager",
|
|
18013
18062
|
capScope: "system",
|
|
18014
18063
|
addonId: null,
|
|
18015
18064
|
access: "create"
|
|
18016
18065
|
},
|
|
18066
|
+
"deviceManager.discoverProvider": {
|
|
18067
|
+
capName: "device-manager",
|
|
18068
|
+
capScope: "system",
|
|
18069
|
+
addonId: null,
|
|
18070
|
+
access: "create"
|
|
18071
|
+
},
|
|
18072
|
+
"deviceManager.discoveryProviders": {
|
|
18073
|
+
capName: "device-manager",
|
|
18074
|
+
capScope: "system",
|
|
18075
|
+
addonId: null,
|
|
18076
|
+
access: "view"
|
|
18077
|
+
},
|
|
18017
18078
|
"deviceManager.enable": {
|
|
18018
18079
|
capName: "device-manager",
|
|
18019
18080
|
capScope: "system",
|
|
@@ -18164,6 +18225,18 @@ Object.freeze({
|
|
|
18164
18225
|
addonId: null,
|
|
18165
18226
|
access: "create"
|
|
18166
18227
|
},
|
|
18228
|
+
"deviceManager.providerCreationType": {
|
|
18229
|
+
capName: "device-manager",
|
|
18230
|
+
capScope: "system",
|
|
18231
|
+
addonId: null,
|
|
18232
|
+
access: "view"
|
|
18233
|
+
},
|
|
18234
|
+
"deviceManager.providerDiscoveryParamsSchema": {
|
|
18235
|
+
capName: "device-manager",
|
|
18236
|
+
capScope: "system",
|
|
18237
|
+
addonId: null,
|
|
18238
|
+
access: "view"
|
|
18239
|
+
},
|
|
18167
18240
|
"deviceManager.registerDevice": {
|
|
18168
18241
|
capName: "device-manager",
|
|
18169
18242
|
capScope: "system",
|
|
@@ -18380,6 +18453,18 @@ Object.freeze({
|
|
|
18380
18453
|
addonId: null,
|
|
18381
18454
|
access: "view"
|
|
18382
18455
|
},
|
|
18456
|
+
"deviceProvider.getDiscoveryParamsSchema": {
|
|
18457
|
+
capName: "device-provider",
|
|
18458
|
+
capScope: "system",
|
|
18459
|
+
addonId: null,
|
|
18460
|
+
access: "view"
|
|
18461
|
+
},
|
|
18462
|
+
"deviceProvider.getManualCreationType": {
|
|
18463
|
+
capName: "device-provider",
|
|
18464
|
+
capScope: "system",
|
|
18465
|
+
addonId: null,
|
|
18466
|
+
access: "view"
|
|
18467
|
+
},
|
|
18383
18468
|
"deviceProvider.getStatus": {
|
|
18384
18469
|
capName: "device-provider",
|
|
18385
18470
|
capScope: "system",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-export-ha-mqtt",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.11",
|
|
4
4
|
"description": "HomeAssistant MQTT discovery exporter for CamStack devices. Publishes discovery topics so HA auto-creates entities for exposed cameras/switches/intercoms/sensors.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|