@camstack/addon-export-ha-mqtt 1.0.6 → 1.0.7

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-D7JeS58T.mjs
4682
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4683
4683
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4684
4684
  EventCategory["SystemBoot"] = "system.boot";
4685
4685
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5653,7 +5653,7 @@ var BaseAddon = class {
5653
5653
  deviceSettingsSchema() {
5654
5654
  return null;
5655
5655
  }
5656
- async getGlobalSettings(overlay, cap) {
5656
+ async getGlobalSettings(overlay, cap, _nodeId) {
5657
5657
  const schema = this.globalSettingsSchema(cap);
5658
5658
  if (!schema) return { sections: [] };
5659
5659
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5662,7 +5662,7 @@ var BaseAddon = class {
5662
5662
  ...overlay
5663
5663
  } : raw);
5664
5664
  }
5665
- async updateGlobalSettings(patch) {
5665
+ async updateGlobalSettings(patch, _nodeId) {
5666
5666
  await this._ctx?.settings?.writeAddonStore(patch);
5667
5667
  await this.resolveConfig();
5668
5668
  await this.onConfigChanged();
@@ -4677,7 +4677,7 @@ function number(params) {
4677
4677
  return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
4678
4678
  }
4679
4679
  //#endregion
4680
- //#region ../types/dist/sleep-D7JeS58T.mjs
4680
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4681
4681
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4682
4682
  EventCategory["SystemBoot"] = "system.boot";
4683
4683
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5651,7 +5651,7 @@ var BaseAddon = class {
5651
5651
  deviceSettingsSchema() {
5652
5652
  return null;
5653
5653
  }
5654
- async getGlobalSettings(overlay, cap) {
5654
+ async getGlobalSettings(overlay, cap, _nodeId) {
5655
5655
  const schema = this.globalSettingsSchema(cap);
5656
5656
  if (!schema) return { sections: [] };
5657
5657
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5660,7 +5660,7 @@ var BaseAddon = class {
5660
5660
  ...overlay
5661
5661
  } : raw);
5662
5662
  }
5663
- async updateGlobalSettings(patch) {
5663
+ async updateGlobalSettings(patch, _nodeId) {
5664
5664
  await this._ctx?.settings?.writeAddonStore(patch);
5665
5665
  await this.resolveConfig();
5666
5666
  await this.onConfigChanged();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-export-ha-mqtt",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
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",