zigbee-herdsman-converters 15.0.26 → 15.0.27

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.
@@ -446,6 +446,52 @@ module.exports = [
446
446
  await reporting.activePower(endpoint);
447
447
  },
448
448
  },
449
+ {
450
+ zigbeeModel: ['Hospitality on off switch'],
451
+ model: 'WNAL10/WNRL10',
452
+ vendor: 'Legrand',
453
+ description: 'Smart switch with Netatmo',
454
+ fromZigbee: [fz.on_off, fz.legrand_binary_input_on_off, fz.legrand_cluster_fc01],
455
+ toZigbee: [tz.on_off, tz.legrand_settingEnableLedInDark, tz.legrand_settingEnableLedIfOn],
456
+ exposes: [e.switch(),
457
+ exposes.binary('led_in_dark', ea.ALL, 'ON', 'OFF').withDescription(`Enables the LED when the light is turned off, allowing to` +
458
+ ` see the switch in the dark`),
459
+ exposes.binary('led_if_on', ea.ALL, 'ON', 'OFF').withDescription('Enables the LED when the light is turned on')],
460
+ configure: async (device, coordinatorEndpoint, logger) => {
461
+ const endpoint = device.getEndpoint(1);
462
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
463
+ await reporting.onOff(endpoint);
464
+ },
465
+ },
466
+ {
467
+ zigbeeModel: ['Hospitality dimmer switch'],
468
+ model: 'WNAL50/WNRL50',
469
+ vendor: 'Legrand',
470
+ description: 'Smart dimmer switch with Netatmo',
471
+ extend: extend.light_onoff_brightness({noConfigure: true}),
472
+ fromZigbee: [fz.brightness, fz.identify, fz.on_off, fz.lighting_ballast_configuration, fz.legrand_cluster_fc01,
473
+ fz.power_on_behavior],
474
+ toZigbee: [tz.light_onoff_brightness, tz.legrand_settingEnableLedInDark, tz.legrand_settingEnableLedIfOn,
475
+ tz.legrand_deviceMode, tz.legrand_identify, tz.ballast_config, tz.power_on_behavior],
476
+ exposes: [e.light_brightness(),
477
+ exposes.numeric('ballast_minimum_level', ea.ALL).withValueMin(1).withValueMax(254)
478
+ .withDescription('Specifies the minimum brightness value'),
479
+ exposes.numeric('ballast_maximum_level', ea.ALL).withValueMin(1).withValueMax(254)
480
+ .withDescription('Specifies the maximum brightness value'),
481
+ exposes.binary('device_mode', ea.ALL, 'dimmer_on', 'dimmer_off').withDescription('Allow the device to change brightness'),
482
+ exposes.binary('led_in_dark', ea.ALL, 'ON', 'OFF').withDescription(`Enables the LED when the light is turned off, allowing to` +
483
+ ` see the switch in the dark`),
484
+ exposes.binary('led_if_on', ea.ALL, 'ON', 'OFF').withDescription('Enables the LED when the light is turned on'),
485
+ e.power_on_behavior()],
486
+ configure: async (device, coordinatorEndpoint, logger) => {
487
+ await extend.light_onoff_brightness().configure(device, coordinatorEndpoint, logger);
488
+ const endpoint = device.getEndpoint(1);
489
+ await reporting.bind(endpoint, coordinatorEndpoint, ['genIdentify', 'genOnOff', 'genLevelCtrl',
490
+ 'genBinaryInput', 'lightingBallastCfg']);
491
+ await reporting.onOff(endpoint);
492
+ await reporting.brightness(endpoint);
493
+ },
494
+ },
449
495
  {
450
496
  zigbeeModel: ['Remote dimmer switch'],
451
497
  model: 'WNAL63',
@@ -73,6 +73,13 @@ module.exports = [
73
73
  description: 'Hue Centura recessed spotlight white and color ambiance GU10 (black)',
74
74
  extend: philips.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
75
75
  },
76
+ {
77
+ zigbeeModel: ['929003047601'],
78
+ model: '929003047601',
79
+ vendor: 'Philips',
80
+ description: 'Hue White and Color Ambiance GU10 (Centura)',
81
+ extend: philips.extend.light_onoff_brightness_colortemp_color({colorTempRange: [153, 500]}),
82
+ },
76
83
  {
77
84
  zigbeeModel: ['929003047501'],
78
85
  model: '929003047501',
@@ -2264,7 +2271,7 @@ module.exports = [
2264
2271
  model: '046677551780',
2265
2272
  vendor: 'Philips',
2266
2273
  description: 'Hue white filament Edison ST19 LED',
2267
- extend: philips.extend.light_onoff_brightness(),
2274
+ extend: philips.extend.light_onoff_brightness({disableHueEffects: false}),
2268
2275
  },
2269
2276
  {
2270
2277
  zigbeeModel: ['LWV003'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zigbee-herdsman-converters",
3
- "version": "15.0.26",
3
+ "version": "15.0.27",
4
4
  "description": "Collection of device converters to be used with zigbee-herdsman",
5
5
  "main": "index.js",
6
6
  "files": [