zigbee-herdsman-converters 14.0.286 → 14.0.287
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/converters/fromZigbee.js +2 -0
- package/lib/tuya.js +1 -0
- package/npm-shrinkwrap.json +1 -1
- package/package.json +1 -1
package/converters/fromZigbee.js
CHANGED
|
@@ -4132,6 +4132,8 @@ const converters = {
|
|
|
4132
4132
|
return {battery_low: value === 0};
|
|
4133
4133
|
case tuya.dataPoints.state:
|
|
4134
4134
|
return {smoke: value === 0};
|
|
4135
|
+
case tuya.dataPoints.wooxSmokeTest:
|
|
4136
|
+
return {smoke: value};
|
|
4135
4137
|
default:
|
|
4136
4138
|
meta.logger.warn(`zigbee-herdsman-converters:tuya_smoke: Unrecognized DP #${ dp} with data ${JSON.stringify(msg.data)}`);
|
|
4137
4139
|
}
|
package/lib/tuya.js
CHANGED
package/npm-shrinkwrap.json
CHANGED