zigbee-herdsman-converters 14.0.679 → 14.0.680
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/philips.js +7 -0
- package/devices/ubisys.js +7 -1
- package/package.json +1 -1
package/devices/philips.js
CHANGED
|
@@ -2781,6 +2781,13 @@ module.exports = [
|
|
|
2781
2781
|
description: 'Hue white single filament bulb A19 E26 with Bluetooth (1100 Lumen)',
|
|
2782
2782
|
extend: hueExtend.light_onoff_brightness(),
|
|
2783
2783
|
},
|
|
2784
|
+
{
|
|
2785
|
+
zigbeeModel: ['LWA029'],
|
|
2786
|
+
model: '9290024691A',
|
|
2787
|
+
vendor: 'Philips',
|
|
2788
|
+
description: 'Hue white single filament bulb A19 E26 with Bluetooth (1100 Lumen)',
|
|
2789
|
+
extend: hueExtend.light_onoff_brightness(),
|
|
2790
|
+
},
|
|
2784
2791
|
{
|
|
2785
2792
|
zigbeeModel: ['915005998201'],
|
|
2786
2793
|
model: '915005998201',
|
package/devices/ubisys.js
CHANGED
|
@@ -670,7 +670,7 @@ module.exports = [
|
|
|
670
670
|
toZigbee: [tz.light_onoff_brightness, tz.ballast_config, tz.level_config, ubisys.tz.dimmer_setup,
|
|
671
671
|
ubisys.tz.dimmer_setup_genLevelCtrl, ubisys.tz.configure_device_setup, tz.ignore_transition, tz.light_brightness_move,
|
|
672
672
|
tz.light_brightness_step],
|
|
673
|
-
exposes: [e.light_brightness().withLevelConfig(), e.power(),
|
|
673
|
+
exposes: [e.light_brightness().withLevelConfig(), e.power(), e.energy(),
|
|
674
674
|
exposes.numeric('ballast_minimum_level', ea.ALL).withValueMin(1).withValueMax(254)
|
|
675
675
|
.withDescription('Specifies the minimum light output of the ballast'),
|
|
676
676
|
exposes.numeric('ballast_maximum_level', ea.ALL).withValueMin(1).withValueMax(254)
|
|
@@ -706,6 +706,12 @@ module.exports = [
|
|
|
706
706
|
await reporting.instantaneousDemand(endpoint);
|
|
707
707
|
},
|
|
708
708
|
onEvent: async (type, data, device) => {
|
|
709
|
+
if (data.type === 'attributeReport' && data.cluster === 'seMetering') {
|
|
710
|
+
const endpoint = device.getEndpoint(4);
|
|
711
|
+
try {
|
|
712
|
+
await endpoint.read('seMetering', ['currentSummDelivered']);
|
|
713
|
+
} catch (error) {/* Do nothing*/}
|
|
714
|
+
}
|
|
709
715
|
/*
|
|
710
716
|
* As per technical doc page 23 section 7.3.4, 7.3.5
|
|
711
717
|
* https://www.ubisys.de/wp-content/uploads/ubisys-d1-technical-reference.pdf
|