hoffmation-base 3.0.0-beta.6 → 3.0.0-beta.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.
|
@@ -5,7 +5,7 @@ import { HumiditySensor, TemperatureSensor } from '../sharedFunctions';
|
|
|
5
5
|
import { HumiditySensorChangeAction, TemperatureSensorChangeAction } from '../../../models';
|
|
6
6
|
/**
|
|
7
7
|
* A smart window handle with integrated temperature and humidity sensor.
|
|
8
|
-
* As the temperature sensor is so close to the window it might be off, which is why the correction coefficient is set to 0.
|
|
8
|
+
* As the temperature sensor is so close to the window it might be off, which is why the correction coefficient is set to 0.21°C per outdoor diff to 21°C
|
|
9
9
|
*/
|
|
10
10
|
export declare class ZigbeeSodaHandle extends ZigbeeWindowHandle implements iTemperatureSensor, iHumiditySensor {
|
|
11
11
|
/** @inheritDoc */
|
|
@@ -8,7 +8,7 @@ const sharedFunctions_1 = require("../sharedFunctions");
|
|
|
8
8
|
const models_1 = require("../../../models");
|
|
9
9
|
/**
|
|
10
10
|
* A smart window handle with integrated temperature and humidity sensor.
|
|
11
|
-
* As the temperature sensor is so close to the window it might be off, which is why the correction coefficient is set to 0.
|
|
11
|
+
* As the temperature sensor is so close to the window it might be off, which is why the correction coefficient is set to 0.21°C per outdoor diff to 21°C
|
|
12
12
|
*/
|
|
13
13
|
class ZigbeeSodaHandle extends BaseDevices_1.ZigbeeWindowHandle {
|
|
14
14
|
constructor(pInfo) {
|
|
@@ -19,7 +19,7 @@ class ZigbeeSodaHandle extends BaseDevices_1.ZigbeeWindowHandle {
|
|
|
19
19
|
this.humiditySensor = new sharedFunctions_1.HumiditySensor(this);
|
|
20
20
|
this.deviceCapabilities.push(DeviceCapability_1.DeviceCapability.humiditySensor);
|
|
21
21
|
this.deviceCapabilities.push(DeviceCapability_1.DeviceCapability.temperatureSensor);
|
|
22
|
-
this.temperatureSensor.outdoorTemperatureCorrectionCoefficient = 0.
|
|
22
|
+
this.temperatureSensor.outdoorTemperatureCorrectionCoefficient = 0.21;
|
|
23
23
|
}
|
|
24
24
|
/** @inheritDoc */
|
|
25
25
|
get roomTemperature() {
|