@camstack/addon-provider-homeassistant 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.
package/dist/addon.js CHANGED
@@ -4629,7 +4629,7 @@ function _instanceof(cls, params = {}) {
4629
4629
  return inst;
4630
4630
  }
4631
4631
  //#endregion
4632
- //#region ../types/dist/sleep-D7JeS58T.mjs
4632
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4633
4633
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4634
4634
  EventCategory["SystemBoot"] = "system.boot";
4635
4635
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5603,7 +5603,7 @@ var BaseAddon = class {
5603
5603
  deviceSettingsSchema() {
5604
5604
  return null;
5605
5605
  }
5606
- async getGlobalSettings(overlay, cap) {
5606
+ async getGlobalSettings(overlay, cap, _nodeId) {
5607
5607
  const schema = this.globalSettingsSchema(cap);
5608
5608
  if (!schema) return { sections: [] };
5609
5609
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5612,7 +5612,7 @@ var BaseAddon = class {
5612
5612
  ...overlay
5613
5613
  } : raw);
5614
5614
  }
5615
- async updateGlobalSettings(patch) {
5615
+ async updateGlobalSettings(patch, _nodeId) {
5616
5616
  await this._ctx?.settings?.writeAddonStore(patch);
5617
5617
  await this.resolveConfig();
5618
5618
  await this.onConfigChanged();
package/dist/addon.mjs CHANGED
@@ -4628,7 +4628,7 @@ function _instanceof(cls, params = {}) {
4628
4628
  return inst;
4629
4629
  }
4630
4630
  //#endregion
4631
- //#region ../types/dist/sleep-D7JeS58T.mjs
4631
+ //#region ../types/dist/sleep-B1dKJAMJ.mjs
4632
4632
  var EventCategory = /* @__PURE__ */ function(EventCategory) {
4633
4633
  EventCategory["SystemBoot"] = "system.boot";
4634
4634
  EventCategory["SystemAddonsReady"] = "system.addons-ready";
@@ -5602,7 +5602,7 @@ var BaseAddon = class {
5602
5602
  deviceSettingsSchema() {
5603
5603
  return null;
5604
5604
  }
5605
- async getGlobalSettings(overlay, cap) {
5605
+ async getGlobalSettings(overlay, cap, _nodeId) {
5606
5606
  const schema = this.globalSettingsSchema(cap);
5607
5607
  if (!schema) return { sections: [] };
5608
5608
  const raw = await this._ctx?.settings?.readAddonStore() ?? {};
@@ -5611,7 +5611,7 @@ var BaseAddon = class {
5611
5611
  ...overlay
5612
5612
  } : raw);
5613
5613
  }
5614
- async updateGlobalSettings(patch) {
5614
+ async updateGlobalSettings(patch, _nodeId) {
5615
5615
  await this._ctx?.settings?.writeAddonStore(patch);
5616
5616
  await this.resolveConfig();
5617
5617
  await this.onConfigChanged();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homeassistant",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Home Assistant device provider addon for CamStack",
5
5
  "keywords": [
6
6
  "camstack",