zigbee-herdsman-converters 14.0.486 → 14.0.489

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.
@@ -21,7 +21,7 @@ module.exports = [
21
21
  },
22
22
  },
23
23
  {
24
- zigbeeModel: ['SV01-410-MP-1.0', 'SV01-410-MP-1.1', 'SV01-410-MP-1.4', 'SV01-410-MP-1.5', 'SV01-412-MP-1.0',
24
+ zigbeeModel: ['SV01-410-MP-1.0', 'SV01-410-MP-1.1', 'SV01-410-MP-1.4', 'SV01-410-MP-1.5', 'SV01-412-MP-1.0', 'SV01-612-MP-1.1',
25
25
  'SV01-412-MP-1.1', 'SV01-412-MP-1.4', 'SV01-610-MP-1.0', 'SV01-610-MP-1.1', 'SV01-612-MP-1.0', 'SV01-610-MP-1.4'],
26
26
  model: 'SV01',
27
27
  vendor: 'Keen Home',
package/devices/lidl.js CHANGED
@@ -528,6 +528,17 @@ module.exports = [
528
528
  device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
529
529
  },
530
530
  },
531
+ {
532
+ fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_p9ao60da'}],
533
+ model: 'HG08008',
534
+ vendor: 'Lidl',
535
+ description: 'Livarno Home LED ceiling light',
536
+ ...extend.light_onoff_brightness_colortemp_color({disableColorTempStartup: true, colorTempRange: [153, 500]}),
537
+ meta: {applyRedFix: true, enhancedHue: false},
538
+ configure: async (device, coordinatorEndpoint, logger) => {
539
+ device.getEndpoint(1).saveClusterAttributeKeyValue('lightingColorCtrl', {colorCapabilities: 29});
540
+ },
541
+ },
531
542
  {
532
543
  fingerprint: [{modelID: 'TS0505B', manufacturerName: '_TZ3210_z1vlyufu'}],
533
544
  model: '14158704L',
@@ -1787,11 +1787,20 @@ module.exports = [
1787
1787
  zigbeeModel: ['5061031P7_01', '5061031P7_02', '5061031P7_03'],
1788
1788
  model: '5061031P7',
1789
1789
  vendor: 'Philips',
1790
- description: 'Hue White & Color ambience Centris ceiling light (2 spots)',
1790
+ description: 'Hue White & Color ambience Centris ceiling light (2 spots) (white)',
1791
1791
  meta: {turnsOffAtBrightness1: true},
1792
1792
  extend: hueExtend.light_onoff_brightness_colortemp_color(),
1793
1793
  ota: ota.zigbeeOTA,
1794
1794
  },
1795
+ {
1796
+ zigbeeModel: ['5061030P7_01', '5061030P7_02', '5061030P7_03'],
1797
+ model: '5061030P7',
1798
+ vendor: 'Philips',
1799
+ description: 'Hue White & Color ambience Centris ceiling light (2 spots) (black)',
1800
+ meta: {turnsOffAtBrightness1: true},
1801
+ extend: hueExtend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
1802
+ ota: ota.zigbeeOTA,
1803
+ },
1795
1804
  {
1796
1805
  zigbeeModel: ['5062131P7'],
1797
1806
  model: '5062131P7',
package/devices/sonoff.js CHANGED
@@ -1,5 +1,6 @@
1
1
  const exposes = require('../lib/exposes');
2
2
  const fz = {...require('../converters/fromZigbee'), legacy: require('../lib/legacy').fromZigbee};
3
+ const tz = require('../converters/toZigbee');
3
4
  const constants = require('../lib/constants');
4
5
  const reporting = require('../lib/reporting');
5
6
  const extend = require('../lib/extend');
@@ -20,7 +21,15 @@ module.exports = [
20
21
  vendor: 'SONOFF',
21
22
  description: 'Zigbee smart switch (no neutral)',
22
23
  extend: extend.switch(),
24
+ toZigbee: extend.switch().toZigbee.concat([tz.power_on_behavior]),
25
+ fromZigbee: extend.switch().fromZigbee.concat([fz.power_on_behavior]),
26
+ exposes: extend.switch().exposes.concat([e.power_on_behavior()]),
23
27
  configure: async (device, coordinatorEndpoint, logger) => {
28
+ // Unbind genPollCtrl to prevent device from sending checkin message.
29
+ // Zigbee-herdsmans responds to the checkin message which causes the device
30
+ // to poll slower.
31
+ // https://github.com/Koenkk/zigbee2mqtt/issues/11676
32
+ await device.getEndpoint(1).unbind('genPollCtrl', coordinatorEndpoint);
24
33
  device.powerSource = 'Mains (single phase)';
25
34
  device.save();
26
35
  },
package/devices/tuya.js CHANGED
@@ -284,6 +284,7 @@ module.exports = [
284
284
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_jd3z4yig'},
285
285
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_dgdjiw1c'},
286
286
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_mzdax7ha'},
287
+ {modelID: 'TS0505B', manufacturerName: '_TZB210_tmi0rihb'},
287
288
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_a4s41wm4'},
288
289
  {modelID: 'TS0505B', manufacturerName: '_TZ3210_qxenlrin'}],
289
290
  model: 'TS0505B',
package/devices/xiaomi.js CHANGED
@@ -119,7 +119,9 @@ module.exports = [
119
119
  model: 'XDD11LM',
120
120
  vendor: 'Xiaomi',
121
121
  description: 'Aqara Opple MX960',
122
- extend: xiaomiExtend.light_onoff_brightness_colortemp({colorTempRange: [175, 370]}),
122
+ meta: {turnsOffAtBrightness1: true},
123
+ extend: xiaomiExtend.light_onoff_brightness_colortemp({disableEffect: true, disableColorTempStartup: true,
124
+ colorTempRange: [175, 370]}),
123
125
  ota: ota.zigbeeOTA,
124
126
  },
125
127
  {
@@ -127,7 +129,9 @@ module.exports = [
127
129
  model: 'XDD12LM',
128
130
  vendor: 'Xiaomi',
129
131
  description: 'Aqara Opple MX650',
130
- extend: xiaomiExtend.light_onoff_brightness_colortemp({colorTempRange: [175, 370]}),
132
+ meta: {turnsOffAtBrightness1: true},
133
+ extend: xiaomiExtend.light_onoff_brightness_colortemp({disableEffect: true, disableColorTempStartup: true,
134
+ colorTempRange: [175, 370]}),
131
135
  ota: ota.zigbeeOTA,
132
136
  },
133
137
  {
@@ -135,7 +139,9 @@ module.exports = [
135
139
  model: 'XDD13LM',
136
140
  vendor: 'Xiaomi',
137
141
  description: 'Aqara Opple MX480',
138
- extend: xiaomiExtend.light_onoff_brightness_colortemp({colorTempRange: [175, 370]}),
142
+ meta: {turnsOffAtBrightness1: true},
143
+ extend: xiaomiExtend.light_onoff_brightness_colortemp({disableEffect: true, disableColorTempStartup: true,
144
+ colorTempRange: [175, 370]}),
139
145
  ota: ota.zigbeeOTA,
140
146
  },
141
147
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "14.0.486",
3
+ "version": "14.0.489",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [