@camstack/addon-provider-homeassistant 1.2.162 → 1.2.163

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.
@@ -3,7 +3,7 @@ Object.defineProperties(exports, {
3
3
  [Symbol.toStringTag]: { value: "Module" }
4
4
  });
5
5
  //#endregion
6
- const require_dist = require("../dist-WoiCiuhv.js");
6
+ const require_dist = require("../dist-D4ygl7eZ.js");
7
7
  let node_crypto = require("node:crypto");
8
8
  /** The `BrokerInfo.kind` tag the Home Assistant provider stamps. */
9
9
  var HA_BROKER_KIND = "home-assistant";
@@ -7938,36 +7938,47 @@ var HaExportAddon = class extends require_dist.BaseAddon {
7938
7938
  style: "switch",
7939
7939
  default: false
7940
7940
  }));
7941
- return { sections: [{
7942
- id: "ha-export-brokers",
7943
- title: "Home Assistant instances",
7944
- description: brokerFields.length > 0 ? "One switch per Home Assistant broker. An instance that is off receives nothing; the devices exported to it are remembered and resume when it is turned back on." : "No Home Assistant broker is registered yet. Add one under External systems → Brokers and it will appear here.",
7945
- columns: 1,
7946
- fields: brokerFields.length > 0 ? brokerFields : [{
7947
- type: "info",
7948
- key: "ha-export:__no-brokers",
7949
- label: "No brokers",
7950
- content: "Register a Home Assistant broker to enable the export.",
7951
- variant: "warning"
7952
- }]
7953
- }, {
7954
- id: "ha-export-transport",
7955
- title: "Transport",
7956
- columns: 1,
7957
- fields: [{
7958
- type: "text",
7959
- key: "publicBaseUrl",
7960
- label: "Hub URL Home Assistant can reach",
7961
- description: "Used to build the signed image links Home Assistant fetches. Leave empty to derive one from the network capabilities; a link that cannot be built is never sent.",
7962
- default: ""
7963
- }, {
7964
- type: "number",
7965
- key: "reconcileIntervalSec",
7966
- label: "Reconcile interval (s)",
7967
- description: "Full re-announce and re-push cadence. Bus events are telemetry and may be dropped; this is the contract.",
7968
- default: DEFAULT_CONFIG.reconcileIntervalSec
7969
- }]
7970
- }] };
7941
+ return { sections: [
7942
+ {
7943
+ id: "ha-export-brokers",
7944
+ title: "Home Assistant instances",
7945
+ description: brokerFields.length > 0 ? "One switch per Home Assistant broker. An instance that is off receives nothing; the devices exported to it are remembered and resume when it is turned back on." : "No Home Assistant broker is registered yet. Add one under External systems → Brokers and it will appear here.",
7946
+ columns: 1,
7947
+ fields: brokerFields.length > 0 ? brokerFields : [{
7948
+ type: "info",
7949
+ key: "ha-export:__no-brokers",
7950
+ label: "No brokers",
7951
+ content: "Register a Home Assistant broker to enable the export.",
7952
+ variant: "warning"
7953
+ }]
7954
+ },
7955
+ {
7956
+ id: "ha-export-transport",
7957
+ title: "Connection",
7958
+ columns: 1,
7959
+ fields: [{
7960
+ type: "text",
7961
+ key: "publicBaseUrl",
7962
+ label: "Hub URL Home Assistant can reach",
7963
+ description: "Used to build the signed image links Home Assistant fetches. Leave empty to derive one from the network capabilities; a link that cannot be built is never sent.",
7964
+ default: ""
7965
+ }]
7966
+ },
7967
+ {
7968
+ id: "ha-export-advanced",
7969
+ title: "Advanced",
7970
+ style: "accordion",
7971
+ defaultCollapsed: true,
7972
+ columns: 1,
7973
+ fields: [{
7974
+ type: "number",
7975
+ key: "reconcileIntervalSec",
7976
+ label: "Reconcile interval (s)",
7977
+ description: "Full re-announce and re-push cadence. Bus events are telemetry and may be dropped; this is the contract.",
7978
+ default: DEFAULT_CONFIG.reconcileIntervalSec
7979
+ }]
7980
+ }
7981
+ ] };
7971
7982
  }
7972
7983
  /**
7973
7984
  * Per-device Export panel — one switch PER BROKER.
@@ -1,4 +1,4 @@
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-Cw91Z1Ew.mjs";
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-CDvVJ5hh.mjs";
2
2
  import { createHmac, timingSafeEqual } from "node:crypto";
3
3
  /** The `BrokerInfo.kind` tag the Home Assistant provider stamps. */
4
4
  var HA_BROKER_KIND = "home-assistant";
@@ -7933,36 +7933,47 @@ var HaExportAddon = class extends BaseAddon {
7933
7933
  style: "switch",
7934
7934
  default: false
7935
7935
  }));
7936
- return { sections: [{
7937
- id: "ha-export-brokers",
7938
- title: "Home Assistant instances",
7939
- description: brokerFields.length > 0 ? "One switch per Home Assistant broker. An instance that is off receives nothing; the devices exported to it are remembered and resume when it is turned back on." : "No Home Assistant broker is registered yet. Add one under External systems → Brokers and it will appear here.",
7940
- columns: 1,
7941
- fields: brokerFields.length > 0 ? brokerFields : [{
7942
- type: "info",
7943
- key: "ha-export:__no-brokers",
7944
- label: "No brokers",
7945
- content: "Register a Home Assistant broker to enable the export.",
7946
- variant: "warning"
7947
- }]
7948
- }, {
7949
- id: "ha-export-transport",
7950
- title: "Transport",
7951
- columns: 1,
7952
- fields: [{
7953
- type: "text",
7954
- key: "publicBaseUrl",
7955
- label: "Hub URL Home Assistant can reach",
7956
- description: "Used to build the signed image links Home Assistant fetches. Leave empty to derive one from the network capabilities; a link that cannot be built is never sent.",
7957
- default: ""
7958
- }, {
7959
- type: "number",
7960
- key: "reconcileIntervalSec",
7961
- label: "Reconcile interval (s)",
7962
- description: "Full re-announce and re-push cadence. Bus events are telemetry and may be dropped; this is the contract.",
7963
- default: DEFAULT_CONFIG.reconcileIntervalSec
7964
- }]
7965
- }] };
7936
+ return { sections: [
7937
+ {
7938
+ id: "ha-export-brokers",
7939
+ title: "Home Assistant instances",
7940
+ description: brokerFields.length > 0 ? "One switch per Home Assistant broker. An instance that is off receives nothing; the devices exported to it are remembered and resume when it is turned back on." : "No Home Assistant broker is registered yet. Add one under External systems → Brokers and it will appear here.",
7941
+ columns: 1,
7942
+ fields: brokerFields.length > 0 ? brokerFields : [{
7943
+ type: "info",
7944
+ key: "ha-export:__no-brokers",
7945
+ label: "No brokers",
7946
+ content: "Register a Home Assistant broker to enable the export.",
7947
+ variant: "warning"
7948
+ }]
7949
+ },
7950
+ {
7951
+ id: "ha-export-transport",
7952
+ title: "Connection",
7953
+ columns: 1,
7954
+ fields: [{
7955
+ type: "text",
7956
+ key: "publicBaseUrl",
7957
+ label: "Hub URL Home Assistant can reach",
7958
+ description: "Used to build the signed image links Home Assistant fetches. Leave empty to derive one from the network capabilities; a link that cannot be built is never sent.",
7959
+ default: ""
7960
+ }]
7961
+ },
7962
+ {
7963
+ id: "ha-export-advanced",
7964
+ title: "Advanced",
7965
+ style: "accordion",
7966
+ defaultCollapsed: true,
7967
+ columns: 1,
7968
+ fields: [{
7969
+ type: "number",
7970
+ key: "reconcileIntervalSec",
7971
+ label: "Reconcile interval (s)",
7972
+ description: "Full re-announce and re-push cadence. Bus events are telemetry and may be dropped; this is the contract.",
7973
+ default: DEFAULT_CONFIG.reconcileIntervalSec
7974
+ }]
7975
+ }
7976
+ ] };
7966
7977
  }
7967
7978
  /**
7968
7979
  * Per-device Export panel — one switch PER BROKER.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homeassistant",
3
- "version": "1.2.162",
3
+ "version": "1.2.163",
4
4
  "description": "Home Assistant device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",