@camstack/addon-provider-homematic 1.2.120 → 1.2.122
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 +921 -473
- package/dist/addon.mjs +921 -474
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -395,7 +395,7 @@ var HomematicDevice = class extends require_addon.BaseDevice {
|
|
|
395
395
|
getStatus: async () => this.runtimeState.getCapState("motion") ?? COLD_MOTION,
|
|
396
396
|
isDetected: async () => (this.runtimeState.getCapState("motion") ?? COLD_MOTION).detected
|
|
397
397
|
});
|
|
398
|
-
this.runtimeState.setCapState("motion",
|
|
398
|
+
this.runtimeState.setCapState("motion", require_addon.coldMotionKeepingRise(this.runtimeState.getCapState("motion")));
|
|
399
399
|
}
|
|
400
400
|
registerEventEmitterCap(keyChannels) {
|
|
401
401
|
this.eventTypes = keyEventVocabulary(keyChannels);
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as object, C as deviceAdminLinkCapability, D as switchCapability, E as motionCapability, HomematicProviderAddon, M as EventCategory, O as DeviceType, S as coverCapability, T as lockControlCapability, _ as homematicConfigSchema, a as decodeClimate, b as buildDeviceAdminUrl, c as toHmClimateMode, d as inferHmDeviceType, f as mapHmChannel, g as homematicAddonConfigSchema, h as buildConnectionFormSchema, i as registerTemperatureCap, j as string, k as createEvent, l as deriveHmEntitySpecs, m as homematicFacades, n as registerHumidityCap, o as decodeCover, p as mapHmDeviceChannels, r as registerPowerMeterCap, s as decodeLock, t as registerAmbientLightCap, u as coldMotionKeepingRise, v as toHomematicOptions, w as eventEmitterCapability, x as climateControlCapability, y as BaseDevice } from "./addon.mjs";
|
|
2
2
|
//#region src/homematic-device.ts
|
|
3
3
|
/**
|
|
4
4
|
* Persisted config every Homematic-backed device carries. `address` is
|
|
@@ -394,7 +394,7 @@ var HomematicDevice = class extends BaseDevice {
|
|
|
394
394
|
getStatus: async () => this.runtimeState.getCapState("motion") ?? COLD_MOTION,
|
|
395
395
|
isDetected: async () => (this.runtimeState.getCapState("motion") ?? COLD_MOTION).detected
|
|
396
396
|
});
|
|
397
|
-
this.runtimeState.setCapState("motion",
|
|
397
|
+
this.runtimeState.setCapState("motion", coldMotionKeepingRise(this.runtimeState.getCapState("motion")));
|
|
398
398
|
}
|
|
399
399
|
registerEventEmitterCap(keyChannels) {
|
|
400
400
|
this.eventTypes = keyEventVocabulary(keyChannels);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/addon-provider-homematic",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.122",
|
|
4
4
|
"description": "Homematic / HomematicIP (CCU3 / RaspberryMatic) device-provider addon for CamStack — wraps the nodehomematic library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"camstack",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"scripts": {
|
|
67
67
|
"build": "vite build",
|
|
68
68
|
"dev": "vite build --watch",
|
|
69
|
-
"typecheck": "tsc --noEmit",
|
|
69
|
+
"typecheck": "tsc --noEmit -p tsconfig.spec.json",
|
|
70
70
|
"test": "vitest run",
|
|
71
71
|
"publish:npm": "npm publish --access public"
|
|
72
72
|
},
|