@camstack/addon-export-ha-mqtt 1.1.10 → 1.1.12
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()
|
|
@@ -17973,6 +17999,12 @@ Object.freeze({
|
|
|
17973
17999
|
addonId: null,
|
|
17974
18000
|
access: "create"
|
|
17975
18001
|
},
|
|
18002
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
18003
|
+
capName: "device-manager",
|
|
18004
|
+
capScope: "system",
|
|
18005
|
+
addonId: null,
|
|
18006
|
+
access: "view"
|
|
18007
|
+
},
|
|
17976
18008
|
"deviceManager.adoptionListCandidates": {
|
|
17977
18009
|
capName: "device-manager",
|
|
17978
18010
|
capScope: "system",
|
|
@@ -18021,12 +18053,30 @@ Object.freeze({
|
|
|
18021
18053
|
addonId: null,
|
|
18022
18054
|
access: "create"
|
|
18023
18055
|
},
|
|
18056
|
+
"deviceManager.discoverAllProviders": {
|
|
18057
|
+
capName: "device-manager",
|
|
18058
|
+
capScope: "system",
|
|
18059
|
+
addonId: null,
|
|
18060
|
+
access: "create"
|
|
18061
|
+
},
|
|
18024
18062
|
"deviceManager.discoverDevices": {
|
|
18025
18063
|
capName: "device-manager",
|
|
18026
18064
|
capScope: "system",
|
|
18027
18065
|
addonId: null,
|
|
18028
18066
|
access: "create"
|
|
18029
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
|
+
},
|
|
18030
18080
|
"deviceManager.enable": {
|
|
18031
18081
|
capName: "device-manager",
|
|
18032
18082
|
capScope: "system",
|
|
@@ -18177,6 +18227,18 @@ Object.freeze({
|
|
|
18177
18227
|
addonId: null,
|
|
18178
18228
|
access: "create"
|
|
18179
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
|
+
},
|
|
18180
18242
|
"deviceManager.registerDevice": {
|
|
18181
18243
|
capName: "device-manager",
|
|
18182
18244
|
capScope: "system",
|
|
@@ -18393,6 +18455,18 @@ Object.freeze({
|
|
|
18393
18455
|
addonId: null,
|
|
18394
18456
|
access: "view"
|
|
18395
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
|
+
},
|
|
18396
18470
|
"deviceProvider.getStatus": {
|
|
18397
18471
|
capName: "device-provider",
|
|
18398
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()
|
|
@@ -17971,6 +17997,12 @@ Object.freeze({
|
|
|
17971
17997
|
addonId: null,
|
|
17972
17998
|
access: "create"
|
|
17973
17999
|
},
|
|
18000
|
+
"deviceManager.adoptionListCandidateFilters": {
|
|
18001
|
+
capName: "device-manager",
|
|
18002
|
+
capScope: "system",
|
|
18003
|
+
addonId: null,
|
|
18004
|
+
access: "view"
|
|
18005
|
+
},
|
|
17974
18006
|
"deviceManager.adoptionListCandidates": {
|
|
17975
18007
|
capName: "device-manager",
|
|
17976
18008
|
capScope: "system",
|
|
@@ -18019,12 +18051,30 @@ Object.freeze({
|
|
|
18019
18051
|
addonId: null,
|
|
18020
18052
|
access: "create"
|
|
18021
18053
|
},
|
|
18054
|
+
"deviceManager.discoverAllProviders": {
|
|
18055
|
+
capName: "device-manager",
|
|
18056
|
+
capScope: "system",
|
|
18057
|
+
addonId: null,
|
|
18058
|
+
access: "create"
|
|
18059
|
+
},
|
|
18022
18060
|
"deviceManager.discoverDevices": {
|
|
18023
18061
|
capName: "device-manager",
|
|
18024
18062
|
capScope: "system",
|
|
18025
18063
|
addonId: null,
|
|
18026
18064
|
access: "create"
|
|
18027
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
|
+
},
|
|
18028
18078
|
"deviceManager.enable": {
|
|
18029
18079
|
capName: "device-manager",
|
|
18030
18080
|
capScope: "system",
|
|
@@ -18175,6 +18225,18 @@ Object.freeze({
|
|
|
18175
18225
|
addonId: null,
|
|
18176
18226
|
access: "create"
|
|
18177
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
|
+
},
|
|
18178
18240
|
"deviceManager.registerDevice": {
|
|
18179
18241
|
capName: "device-manager",
|
|
18180
18242
|
capScope: "system",
|
|
@@ -18391,6 +18453,18 @@ Object.freeze({
|
|
|
18391
18453
|
addonId: null,
|
|
18392
18454
|
access: "view"
|
|
18393
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
|
+
},
|
|
18394
18468
|
"deviceProvider.getStatus": {
|
|
18395
18469
|
capName: "device-provider",
|
|
18396
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.12",
|
|
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",
|