@camstack/addon-provider-homematic 1.2.118 → 1.2.120

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/index.js CHANGED
@@ -427,7 +427,7 @@ var HomematicDevice = class extends require_addon.BaseDevice {
427
427
  if (next) this.runtimeState.setCapState("cover", next);
428
428
  }
429
429
  if (this.capChannels.has("lock-control")) {
430
- const next = require_addon.decodeLock(this.runtimeState.getCapState("lock-control") ?? COLD_LOCK, parameter, value, now);
430
+ const next = require_addon.decodeLock(parameter, value, now);
431
431
  if (next) this.runtimeState.setCapState("lock-control", next);
432
432
  }
433
433
  if (this.capChannels.has("climate-control")) {
package/dist/index.mjs CHANGED
@@ -426,7 +426,7 @@ var HomematicDevice = class extends BaseDevice {
426
426
  if (next) this.runtimeState.setCapState("cover", next);
427
427
  }
428
428
  if (this.capChannels.has("lock-control")) {
429
- const next = decodeLock(this.runtimeState.getCapState("lock-control") ?? COLD_LOCK, parameter, value, now);
429
+ const next = decodeLock(parameter, value, now);
430
430
  if (next) this.runtimeState.setCapState("lock-control", next);
431
431
  }
432
432
  if (this.capChannels.has("climate-control")) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@camstack/addon-provider-homematic",
3
- "version": "1.2.118",
3
+ "version": "1.2.120",
4
4
  "description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
5
5
  "keywords": [
6
6
  "camstack",