zigbee-herdsman-converters 14.0.577 → 14.0.578

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.
@@ -7338,7 +7338,7 @@ const converters = {
7338
7338
  const dpValue = tuya.firstDpValue(msg, meta, 'SLUXZB');
7339
7339
  const dp = dpValue.dp;
7340
7340
  const value = tuya.getDataValue(dpValue);
7341
- const brightnesStateLookup = {'0': 'LOW', '1': 'MEDIUM', '2': 'HIGH'};
7341
+ const brightnesStateLookup = {'0': 'low', '1': 'middle', '2': 'high'};
7342
7342
  switch (dp) {
7343
7343
  case 2:
7344
7344
  return {illuminance_lux: value};
@@ -7,6 +7,22 @@ const extend = require('../lib/extend');
7
7
  const tuya = require('../lib/tuya');
8
8
 
9
9
  module.exports = [
10
+ {
11
+ fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_zrvxvydd'}],
12
+ model: 'FUT066Z',
13
+ vendor: 'MiBoxer',
14
+ description: 'RGB+CCT LED Downlight',
15
+ toZigbee: extend.light_onoff_brightness_colortemp_color().toZigbee.concat([
16
+ tz.tuya_do_not_disturb, tz.tuya_color_power_on_behavior]),
17
+ meta: {applyRedFix: true, enhancedHue: false},
18
+ fromZigbee: extend.light_onoff_brightness_colortemp_color().fromZigbee,
19
+ exposes: [e.light_brightness_colortemp_colorhs([153, 500]).removeFeature('color_temp_startup'),
20
+ exposes.binary('do_not_disturb', ea.STATE_SET, true, false)
21
+ .withDescription('Do not disturb mode'),
22
+ exposes.enum('color_power_on_behavior', ea.STATE_SET, ['initial', 'previous', 'cutomized'])
23
+ .withDescription('Power on behavior state'),
24
+ ],
25
+ },
10
26
  {
11
27
  fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_jicmoite'}],
12
28
  model: 'FUT039Z',
@@ -8,4 +8,11 @@ module.exports = [
8
8
  description: 'addZ white + colour',
9
9
  extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555]}),
10
10
  },
11
+ {
12
+ zigbeeModel: ['RDM-35144001'],
13
+ model: '35144001',
14
+ vendor: 'Rademacher',
15
+ description: 'addZ white + colour',
16
+ extend: extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 555]}),
17
+ },
11
18
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.577",
3
+ "version": "14.0.578",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [
@@ -38,7 +38,7 @@
38
38
  "buffer-crc32": "^0.2.13",
39
39
  "https-proxy-agent": "^5.0.1",
40
40
  "tar-stream": "^2.2.0",
41
- "zigbee-herdsman": "^0.14.45"
41
+ "zigbee-herdsman": "^0.14.46"
42
42
  },
43
43
  "devDependencies": {
44
44
  "eslint": "*",