@camstack/addon-provider-homeassistant 1.2.170 → 1.2.171
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 +2 -2
- package/dist/addon.mjs +2 -2
- package/dist/{dist-B7c8ebLd.js → dist-C6CIOXDB.js} +698 -265
- package/dist/{dist-BaG2A4xn.mjs → dist-DgmndKq0.mjs} +698 -265
- package/dist/ha-export/ha-export.addon.js +29 -1
- package/dist/ha-export/ha-export.addon.mjs +6 -1
- package/package.json +1 -1
|
@@ -2,9 +2,36 @@ Object.defineProperties(exports, {
|
|
|
2
2
|
__esModule: { value: true },
|
|
3
3
|
[Symbol.toStringTag]: { value: "Module" }
|
|
4
4
|
});
|
|
5
|
+
//#region \0rolldown/runtime.js
|
|
6
|
+
var __create = Object.create;
|
|
7
|
+
var __defProp = Object.defineProperty;
|
|
8
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
9
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
10
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
11
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
|
|
14
|
+
key = keys[i];
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
+
get: ((k) => from[k]).bind(null, key),
|
|
17
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
22
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
23
|
+
value: mod,
|
|
24
|
+
enumerable: true
|
|
25
|
+
}) : target, mod));
|
|
5
26
|
//#endregion
|
|
6
|
-
const require_dist = require("../dist-
|
|
27
|
+
const require_dist = require("../dist-C6CIOXDB.js");
|
|
7
28
|
let node_crypto = require("node:crypto");
|
|
29
|
+
require("node:zlib");
|
|
30
|
+
let node_fs = require("node:fs");
|
|
31
|
+
node_fs = __toESM(node_fs, 1);
|
|
32
|
+
let node_path = require("node:path");
|
|
33
|
+
node_path = __toESM(node_path, 1);
|
|
34
|
+
require("node:child_process");
|
|
8
35
|
/** The `BrokerInfo.kind` tag the Home Assistant provider stamps. */
|
|
9
36
|
var HA_BROKER_KIND = "home-assistant";
|
|
10
37
|
/**
|
|
@@ -4336,6 +4363,7 @@ async function call(slice, capName, make) {
|
|
|
4336
4363
|
}
|
|
4337
4364
|
return { ok: true };
|
|
4338
4365
|
}
|
|
4366
|
+
process.platform, process.env["SystemRoot"];
|
|
4339
4367
|
/**
|
|
4340
4368
|
* The ONE derivation of "a signed, expiring URL".
|
|
4341
4369
|
*
|
|
@@ -1,5 +1,9 @@
|
|
|
1
|
-
import { $ as oauthIntegrationCapability, C as buildAddonRouteProvider, Ft as EventCategory, I as deviceExportCapability, St as nodePin, a as COCO_TO_MACRO, bt as BaseAddon, c as FanDirectionSchema, i as CAMERA_SWITCH_ORDER, jt as string, l as HvacModeSchema, o as CameraSwitchIdSchema, p as addonRoutesCapability, t as AlarmArmModeSchema, u as MediaPlayerRepeatSchema } from "../dist-
|
|
1
|
+
import { $ as oauthIntegrationCapability, C as buildAddonRouteProvider, Ft as EventCategory, I as deviceExportCapability, St as nodePin, a as COCO_TO_MACRO, bt as BaseAddon, c as FanDirectionSchema, i as CAMERA_SWITCH_ORDER, jt as string, l as HvacModeSchema, o as CameraSwitchIdSchema, p as addonRoutesCapability, t as AlarmArmModeSchema, u as MediaPlayerRepeatSchema } from "../dist-DgmndKq0.mjs";
|
|
2
2
|
import { createHmac, timingSafeEqual } from "node:crypto";
|
|
3
|
+
import "node:zlib";
|
|
4
|
+
import "node:fs";
|
|
5
|
+
import "node:path";
|
|
6
|
+
import "node:child_process";
|
|
3
7
|
/** The `BrokerInfo.kind` tag the Home Assistant provider stamps. */
|
|
4
8
|
var HA_BROKER_KIND = "home-assistant";
|
|
5
9
|
/**
|
|
@@ -4331,6 +4335,7 @@ async function call(slice, capName, make) {
|
|
|
4331
4335
|
}
|
|
4332
4336
|
return { ok: true };
|
|
4333
4337
|
}
|
|
4338
|
+
process.platform, process.env["SystemRoot"];
|
|
4334
4339
|
/**
|
|
4335
4340
|
* The ONE derivation of "a signed, expiring URL".
|
|
4336
4341
|
*
|