@camstack/addon-provider-homeassistant 1.2.657 → 1.2.659
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/CHANGELOG.md +13 -0
- package/dist/addon.js +1 -1
- package/dist/addon.mjs +1 -1
- package/dist/ha-export/ha-export.addon.js +610 -382
- package/dist/ha-export/ha-export.addon.mjs +613 -374
- package/dist/{ha-instance-settings-DJXP_6Rg.js → ha-instance-settings-CRvQ5rH6.js} +15 -1
- package/dist/{ha-instance-settings-CxalgfRa.mjs → ha-instance-settings-qhCNJbbn.mjs} +15 -1
- package/i18n/en.json +18 -4
- package/i18n/it.json +18 -4
- package/package.json +5 -2
|
@@ -5981,7 +5981,7 @@ var ZodIssueCode = {
|
|
|
5981
5981
|
var ZodFirstPartyTypeKind;
|
|
5982
5982
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5983
5983
|
//#endregion
|
|
5984
|
-
//#region ../types/dist/sleep-
|
|
5984
|
+
//#region ../types/dist/sleep-D1jjWAr8.mjs
|
|
5985
5985
|
/**
|
|
5986
5986
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5987
5987
|
* window to float samples (D455).
|
|
@@ -9265,6 +9265,7 @@ function defineEntryKind(name, spec) {
|
|
|
9265
9265
|
class: "config",
|
|
9266
9266
|
writeTrigger: spec.writeTrigger ?? "an operator adds or edits an entry in the entries UI",
|
|
9267
9267
|
retention: { none: "an entry goes only when the operator deletes it" },
|
|
9268
|
+
...spec.maxDataBytes === void 0 ? {} : { maxDataBytes: spec.maxDataBytes },
|
|
9268
9269
|
...spec.database === void 0 ? {} : { database: spec.database },
|
|
9269
9270
|
...spec.indexes === void 0 ? {} : { indexes: spec.indexes },
|
|
9270
9271
|
...spec.secretArrayKeys === void 0 ? {} : { secretArrayKeys: spec.secretArrayKeys },
|
|
@@ -56815,6 +56816,12 @@ method(_void(), array(IntegrationWithStateSchema)), method(object({ id: string()
|
|
|
56815
56816
|
}), object({ success: boolean() }), {
|
|
56816
56817
|
kind: "mutation",
|
|
56817
56818
|
auth: "admin"
|
|
56819
|
+
}), method(object({ id: string() }), object({
|
|
56820
|
+
rows: number().int().nonnegative(),
|
|
56821
|
+
secrets: number().int().nonnegative()
|
|
56822
|
+
}), {
|
|
56823
|
+
kind: "mutation",
|
|
56824
|
+
auth: "admin"
|
|
56818
56825
|
}), method(_void(), array(AvailableIntegrationTypeSchema), { auth: "admin" }), method(object({
|
|
56819
56826
|
addonId: string(),
|
|
56820
56827
|
settings: record(string(), unknown())
|
|
@@ -86603,6 +86610,13 @@ Object.freeze({
|
|
|
86603
86610
|
access: "create",
|
|
86604
86611
|
role: "admin"
|
|
86605
86612
|
},
|
|
86613
|
+
"integrations.clearSettings": {
|
|
86614
|
+
capName: "integrations",
|
|
86615
|
+
capScope: "system",
|
|
86616
|
+
addonId: null,
|
|
86617
|
+
access: "delete",
|
|
86618
|
+
role: "admin"
|
|
86619
|
+
},
|
|
86606
86620
|
"integrations.create": {
|
|
86607
86621
|
capName: "integrations",
|
|
86608
86622
|
capScope: "system",
|
|
@@ -5980,7 +5980,7 @@ var ZodIssueCode = {
|
|
|
5980
5980
|
var ZodFirstPartyTypeKind;
|
|
5981
5981
|
ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {});
|
|
5982
5982
|
//#endregion
|
|
5983
|
-
//#region ../types/dist/sleep-
|
|
5983
|
+
//#region ../types/dist/sleep-D1jjWAr8.mjs
|
|
5984
5984
|
/**
|
|
5985
5985
|
* The audio chunk plane's byte format, and the ONE expansion from a coded
|
|
5986
5986
|
* window to float samples (D455).
|
|
@@ -9264,6 +9264,7 @@ function defineEntryKind(name, spec) {
|
|
|
9264
9264
|
class: "config",
|
|
9265
9265
|
writeTrigger: spec.writeTrigger ?? "an operator adds or edits an entry in the entries UI",
|
|
9266
9266
|
retention: { none: "an entry goes only when the operator deletes it" },
|
|
9267
|
+
...spec.maxDataBytes === void 0 ? {} : { maxDataBytes: spec.maxDataBytes },
|
|
9267
9268
|
...spec.database === void 0 ? {} : { database: spec.database },
|
|
9268
9269
|
...spec.indexes === void 0 ? {} : { indexes: spec.indexes },
|
|
9269
9270
|
...spec.secretArrayKeys === void 0 ? {} : { secretArrayKeys: spec.secretArrayKeys },
|
|
@@ -56814,6 +56815,12 @@ method(_void(), array(IntegrationWithStateSchema)), method(object({ id: string()
|
|
|
56814
56815
|
}), object({ success: boolean() }), {
|
|
56815
56816
|
kind: "mutation",
|
|
56816
56817
|
auth: "admin"
|
|
56818
|
+
}), method(object({ id: string() }), object({
|
|
56819
|
+
rows: number().int().nonnegative(),
|
|
56820
|
+
secrets: number().int().nonnegative()
|
|
56821
|
+
}), {
|
|
56822
|
+
kind: "mutation",
|
|
56823
|
+
auth: "admin"
|
|
56817
56824
|
}), method(_void(), array(AvailableIntegrationTypeSchema), { auth: "admin" }), method(object({
|
|
56818
56825
|
addonId: string(),
|
|
56819
56826
|
settings: record(string(), unknown())
|
|
@@ -86602,6 +86609,13 @@ Object.freeze({
|
|
|
86602
86609
|
access: "create",
|
|
86603
86610
|
role: "admin"
|
|
86604
86611
|
},
|
|
86612
|
+
"integrations.clearSettings": {
|
|
86613
|
+
capName: "integrations",
|
|
86614
|
+
capScope: "system",
|
|
86615
|
+
addonId: null,
|
|
86616
|
+
access: "delete",
|
|
86617
|
+
role: "admin"
|
|
86618
|
+
},
|
|
86605
86619
|
"integrations.create": {
|
|
86606
86620
|
capName: "integrations",
|
|
86607
86621
|
capScope: "system",
|
package/i18n/en.json
CHANGED
|
@@ -11,9 +11,6 @@
|
|
|
11
11
|
"haBrokerSettings.s_ha-broker-credentials.baseUrl.label": "HA base URL",
|
|
12
12
|
"haBrokerSettings.s_ha-broker-credentials.accessToken.label": "Long-lived access token",
|
|
13
13
|
"haBrokerSettings.s_ha-broker-credentials.supervisorToken.label": "Supervisor token",
|
|
14
|
-
"globalSettings.s_ha-export-brokers.title": "Home Assistant instances",
|
|
15
|
-
"globalSettings.s_ha-export-brokers.ha-export___no-brokers.label": "No brokers",
|
|
16
|
-
"globalSettings.s_ha-export-transport.title": "Connection",
|
|
17
14
|
"globalSettings.s_ha-export-advanced.title": "Advanced",
|
|
18
15
|
"globalSettings.s_ha-export-advanced.reconcileIntervalSec.label": "Reconcile interval (s)",
|
|
19
16
|
"globalSettings.s_ha-export-advanced.reconcileIntervalSec.description": "Full re-announce and re-push cadence.",
|
|
@@ -22,5 +19,22 @@
|
|
|
22
19
|
"haConfig.s_connection.service.label": "Notify service",
|
|
23
20
|
"haConfig.s_connection.service.description": "Loaded from the broker once it is picked. If the list does not load, type the part after `notify.`.",
|
|
24
21
|
"haConfig.s_connection.brokerId.label": "Broker",
|
|
25
|
-
"haConfig.s_connection.brokerId.description": "The Home Assistant connection the notification goes through."
|
|
22
|
+
"haConfig.s_connection.brokerId.description": "The Home Assistant connection the notification goes through.",
|
|
23
|
+
"globalSettings": {
|
|
24
|
+
"s_ha-export-target": {
|
|
25
|
+
"title": "Home Assistant target",
|
|
26
|
+
"description": "Which Home Assistant connection this export feeds, and how it links to images.",
|
|
27
|
+
"name": {
|
|
28
|
+
"label": "Name"
|
|
29
|
+
},
|
|
30
|
+
"connectionId": {
|
|
31
|
+
"label": "Home Assistant connection",
|
|
32
|
+
"description": "The Home Assistant broker this target pushes to. Several targets may share one."
|
|
33
|
+
},
|
|
34
|
+
"mediaRole": {
|
|
35
|
+
"label": "Image links",
|
|
36
|
+
"description": "Which address Home Assistant uses to fetch images."
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
26
40
|
}
|
package/i18n/it.json
CHANGED
|
@@ -11,9 +11,6 @@
|
|
|
11
11
|
"haBrokerSettings.s_ha-broker-credentials.baseUrl.label": "URL base di HA",
|
|
12
12
|
"haBrokerSettings.s_ha-broker-credentials.accessToken.label": "Token di accesso a lunga durata",
|
|
13
13
|
"haBrokerSettings.s_ha-broker-credentials.supervisorToken.label": "Token del Supervisor",
|
|
14
|
-
"globalSettings.s_ha-export-brokers.title": "Istanze di Home Assistant",
|
|
15
|
-
"globalSettings.s_ha-export-brokers.ha-export___no-brokers.label": "Nessun broker",
|
|
16
|
-
"globalSettings.s_ha-export-transport.title": "Connessione",
|
|
17
14
|
"globalSettings.s_ha-export-advanced.title": "Avanzate",
|
|
18
15
|
"globalSettings.s_ha-export-advanced.reconcileIntervalSec.label": "Intervallo di riconciliazione (s)",
|
|
19
16
|
"globalSettings.s_ha-export-advanced.reconcileIntervalSec.description": "Cadenza di ri-annuncio e ri-invio completo.",
|
|
@@ -22,5 +19,22 @@
|
|
|
22
19
|
"haConfig.s_connection.service.label": "Servizio di notifica",
|
|
23
20
|
"haConfig.s_connection.service.description": "Caricato dal broker una volta scelto. Se l'elenco non si carica, scrivi la parte dopo `notify.`.",
|
|
24
21
|
"haConfig.s_connection.brokerId.label": "Broker",
|
|
25
|
-
"haConfig.s_connection.brokerId.description": "La connessione Home Assistant attraverso cui passa la notifica."
|
|
22
|
+
"haConfig.s_connection.brokerId.description": "La connessione Home Assistant attraverso cui passa la notifica.",
|
|
23
|
+
"globalSettings": {
|
|
24
|
+
"s_ha-export-target": {
|
|
25
|
+
"title": "Destinazione Home Assistant",
|
|
26
|
+
"description": "Quale connessione Home Assistant alimenta questo export e come collega le immagini.",
|
|
27
|
+
"name": {
|
|
28
|
+
"label": "Nome"
|
|
29
|
+
},
|
|
30
|
+
"connectionId": {
|
|
31
|
+
"label": "Connessione Home Assistant",
|
|
32
|
+
"description": "Il broker Home Assistant a cui questa destinazione invia. Più destinazioni possono condividerne uno."
|
|
33
|
+
},
|
|
34
|
+
"mediaRole": {
|
|
35
|
+
"label": "Link alle immagini",
|
|
36
|
+
"description": "Quale indirizzo usa Home Assistant per scaricare le immagini."
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
26
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-homeassistant",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.659",
|
|
4
4
|
"description": "Home Assistant device provider addon for CamStack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -125,6 +125,9 @@
|
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"name": "oauth-integration"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"name": "integration-instances"
|
|
128
131
|
}
|
|
129
132
|
]
|
|
130
133
|
}
|
|
@@ -134,7 +137,7 @@
|
|
|
134
137
|
"description": "Device provider (import) + native entity export (push). Two addons, one bundle, separate processes."
|
|
135
138
|
},
|
|
136
139
|
"requires": {
|
|
137
|
-
"server": ">=1.2.
|
|
140
|
+
"server": ">=1.2.768"
|
|
138
141
|
}
|
|
139
142
|
},
|
|
140
143
|
"files": [
|