@camstack/addon-provider-homeassistant 1.2.13 → 1.2.15
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 +414 -31331
- package/dist/addon.mjs +67 -30984
- package/dist/dist-DJqSvADu.js +33568 -0
- package/dist/dist-DdyXnBOa.mjs +33107 -0
- package/dist/ha-export/ha-export.addon.js +2298 -0
- package/dist/ha-export/ha-export.addon.mjs +2293 -0
- package/dist/index.js +2 -0
- package/dist/index.mjs +2 -1
- package/package.json +33 -4
package/dist/index.js
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
2
|
const require_addon = require("./addon.js");
|
|
3
|
+
const require_ha_export_ha_export_addon = require("./ha-export/ha-export.addon.js");
|
|
3
4
|
exports.HaAuthConfigSchema = require_addon.HaAuthConfigSchema;
|
|
4
5
|
exports.HaBrokerEntrySchema = require_addon.HaBrokerEntrySchema;
|
|
5
6
|
exports.HaBrokerRegistry = require_addon.HaBrokerRegistry;
|
|
6
7
|
exports.HaDomain = require_addon.HaDomain;
|
|
7
8
|
exports.HaEntityStateSchema = require_addon.HaEntityStateSchema;
|
|
9
|
+
exports.HaExportAddon = require_ha_export_ha_export_addon.HaExportAddon;
|
|
8
10
|
exports.HaIntegrationManager = require_addon.HaIntegrationManager;
|
|
9
11
|
exports.HaProviderAddon = require_addon.HaProviderAddon;
|
|
10
12
|
exports.HaWsClient = require_addon.HaWsClient;
|
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
1
|
import { HaProviderAddon, a as HaIntegrationManager, c as HaWsClient, d as HaAuthConfigSchema, f as HaDomain, i as settingsToAuth, l as buildHaAuth, n as HaBrokerRegistry, o as processEvent, p as HaEntityStateSchema, r as authToSettings, s as subscribeEntities, t as HaBrokerEntrySchema, u as resolveAuthConfig } from "./addon.mjs";
|
|
2
|
-
|
|
2
|
+
import { HaExportAddon } from "./ha-export/ha-export.addon.mjs";
|
|
3
|
+
export { HaAuthConfigSchema, HaBrokerEntrySchema, HaBrokerRegistry, HaDomain, HaEntityStateSchema, HaExportAddon, HaIntegrationManager, HaProviderAddon, HaWsClient, authToSettings, buildHaAuth, processEvent, resolveAuthConfig, settingsToAuth, subscribeEntities };
|
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.15",
|
|
4
4
|
"description": "Home Assistant device provider addon for CamStack",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -24,10 +24,14 @@
|
|
|
24
24
|
"import": "./dist/index.mjs",
|
|
25
25
|
"require": "./dist/index.js"
|
|
26
26
|
},
|
|
27
|
-
"./package.json": "./package.json"
|
|
27
|
+
"./package.json": "./package.json",
|
|
28
|
+
"./ha-export": {
|
|
29
|
+
"import": "./dist/ha-export/ha-export.addon.mjs",
|
|
30
|
+
"require": "./dist/ha-export/ha-export.addon.js"
|
|
31
|
+
}
|
|
28
32
|
},
|
|
29
33
|
"camstack": {
|
|
30
|
-
"displayName": "Home Assistant
|
|
34
|
+
"displayName": "Home Assistant",
|
|
31
35
|
"addons": [
|
|
32
36
|
{
|
|
33
37
|
"id": "provider-homeassistant",
|
|
@@ -83,8 +87,33 @@
|
|
|
83
87
|
"name": "addon-routes"
|
|
84
88
|
}
|
|
85
89
|
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"id": "homeassistant-export",
|
|
93
|
+
"category": "exports",
|
|
94
|
+
"name": "Home Assistant Export",
|
|
95
|
+
"version": "0.1.0",
|
|
96
|
+
"description": "Pushes CamStack entities to the CamStack Home Assistant custom component over HTTP. Chooses which devices reach which Home Assistant instance; Home Assistant never polls the hub for a value.",
|
|
97
|
+
"entry": "./dist/ha-export/ha-export.addon.js",
|
|
98
|
+
"icon": "assets/icon.svg",
|
|
99
|
+
"color": "#41bdf5",
|
|
100
|
+
"execution": {
|
|
101
|
+
"placement": "hub-only"
|
|
102
|
+
},
|
|
103
|
+
"capabilities": [
|
|
104
|
+
{
|
|
105
|
+
"name": "device-export"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "addon-routes"
|
|
109
|
+
}
|
|
110
|
+
]
|
|
86
111
|
}
|
|
87
|
-
]
|
|
112
|
+
],
|
|
113
|
+
"bundle": {
|
|
114
|
+
"displayName": "Home Assistant",
|
|
115
|
+
"description": "Device provider (import) + native entity export (push). Two addons, one bundle, separate processes."
|
|
116
|
+
}
|
|
88
117
|
},
|
|
89
118
|
"files": [
|
|
90
119
|
"dist",
|