node-red-contrib-deconz
Advanced tools
Comparing version 2.1.1 to 2.1.2
@@ -10,2 +10,9 @@ # Changelog | ||
## [2.1.2] - 2021-11-26 ![Relative date](https://img.shields.io/date/1637939322?label=) | ||
### Fixed | ||
- Fix formatting value of ContactSensorState for HomeKit. | ||
([@WildPhilippAppeared](https://github.com/WildPhilippAppeared) - #180) | ||
## [2.1.1] - 2021-11-25 ![Relative date](https://img.shields.io/date/1637877535?label=) | ||
@@ -12,0 +19,0 @@ |
{ | ||
"name": "node-red-contrib-deconz", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "deCONZ connectivity nodes for node-red", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -188,6 +188,6 @@ const dotProp = require("dot-prop"); | ||
if (dotProp.has(rawEvent, 'state.vibration')) { | ||
return dotProp.has(rawEvent, 'state.vibration') ? 1 : 0; | ||
return dotProp.get(rawEvent, 'state.vibration') ? 1 : 0; | ||
} | ||
if (dotProp.has(rawEvent, 'state.open')) { | ||
return dotProp.has(rawEvent, 'state.open') ? 1 : 0; | ||
return dotProp.get(rawEvent, 'state.open') ? 1 : 0; | ||
} | ||
@@ -194,0 +194,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
516456