zigbee-herdsman-converters 15.0.83 → 15.0.84
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/devices/lutron.js +1 -1
- package/devices/owon.js +1 -1
- package/lib/ota/zigbeeOTA.js +3 -3
- package/package.json +1 -1
package/devices/lutron.js
CHANGED
|
@@ -13,7 +13,7 @@ module.exports = [
|
|
|
13
13
|
description: 'Connected bulb remote control',
|
|
14
14
|
fromZigbee: [fz.legacy.insta_down_hold, fz.legacy.insta_up_hold, fz.legacy.LZL4B_onoff, fz.legacy.insta_stop],
|
|
15
15
|
toZigbee: [],
|
|
16
|
-
exposes: [e.action(['
|
|
16
|
+
exposes: [e.action(['brightness_step_down', 'brightness_step_up', 'brightness_stop', 'brightness_move_to_level'])],
|
|
17
17
|
},
|
|
18
18
|
{
|
|
19
19
|
zigbeeModel: ['Z3-1BRL'],
|
package/devices/owon.js
CHANGED
|
@@ -11,7 +11,7 @@ const fzLocal = {
|
|
|
11
11
|
...fz.temperature,
|
|
12
12
|
convert: (model, msg, publish, options, meta) => {
|
|
13
13
|
// https://github.com/Koenkk/zigbee2mqtt/issues/15173
|
|
14
|
-
if (msg.data.measuredValue <
|
|
14
|
+
if (msg.data.measuredValue < 32767) {
|
|
15
15
|
return fz.temperature.convert(model, msg, publish, options, meta);
|
|
16
16
|
}
|
|
17
17
|
},
|
package/lib/ota/zigbeeOTA.js
CHANGED
|
@@ -127,10 +127,10 @@ async function isNewImageAvailable(current, logger, device, getImageMeta) {
|
|
|
127
127
|
// The current.fileVersion which comes from the device is wrong.
|
|
128
128
|
// Use the `aqaraFileVersion` which comes from the aqaraOpple.attributeReport instead.
|
|
129
129
|
// https://github.com/Koenkk/zigbee2mqtt/issues/16345#issuecomment-1454835056
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/16345 doesn't seem to be needed for all
|
|
131
|
+
if (device.meta.aqaraFileVersion) {
|
|
132
|
+
current = {...current, fileVersion: device.meta.aqaraFileVersion};
|
|
132
133
|
}
|
|
133
|
-
current = {...current, fileVersion: device.meta.aqaraFileVersion};
|
|
134
134
|
}
|
|
135
135
|
|
|
136
136
|
return common.isNewImageAvailable(current, logger, device, getImageMeta);
|