zigbee-herdsman-converters 14.0.462 → 14.0.463
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/schneider_electric.js +1 -1
- package/devices/tuya.js +25 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +1 -1
|
@@ -680,7 +680,7 @@ module.exports = [
|
|
|
680
680
|
},
|
|
681
681
|
{
|
|
682
682
|
zigbeeModel: ['CCT595011_AS'],
|
|
683
|
-
model: '
|
|
683
|
+
model: 'CCT595011',
|
|
684
684
|
vendor: 'Schneider Electric',
|
|
685
685
|
description: 'Wiser motion sensor',
|
|
686
686
|
fromZigbee: [fz.battery, fz.ias_enroll, fz.ias_occupancy_only_alarm_2, fz.illuminance],
|
package/devices/tuya.js
CHANGED
|
@@ -746,6 +746,31 @@ module.exports = [
|
|
|
746
746
|
} catch (error) {/* Fails for some: https://github.com/Koenkk/zigbee2mqtt/issues/6313 */}
|
|
747
747
|
},
|
|
748
748
|
},
|
|
749
|
+
{
|
|
750
|
+
fingerprint: [{modelID: 'TS011F', manufacturerName: '_TZ3000_3zofvcaa'}],
|
|
751
|
+
model: 'TS011F_2_gang_2_usb_wall',
|
|
752
|
+
vendor: 'TuYa',
|
|
753
|
+
description: '2 gang 2 usb wall outlet',
|
|
754
|
+
toZigbee: extend.switch().toZigbee.concat([tz.moes_power_on_behavior, tz.tuya_backlight_mode]),
|
|
755
|
+
fromZigbee: extend.switch().fromZigbee.concat([fz.moes_power_on_behavior, fz.tuya_backlight_mode]),
|
|
756
|
+
exposes: [e.switch().withEndpoint('l1'), e.switch().withEndpoint('l2'), e.switch().withEndpoint('l3'),
|
|
757
|
+
e.switch().withEndpoint('l4'), exposes.enum('power_on_behavior', ea.ALL, ['on', 'off', 'previous']),
|
|
758
|
+
exposes.enum('backlight_mode', ea.ALL, ['LOW', 'MEDIUM', 'HIGH']),
|
|
759
|
+
],
|
|
760
|
+
endpoint: () => {
|
|
761
|
+
return {'l1': 1, 'l2': 2, 'l3': 3, 'l4': 4};
|
|
762
|
+
},
|
|
763
|
+
meta: {multiEndpoint: true},
|
|
764
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
765
|
+
await device.getEndpoint(1).read('genBasic',
|
|
766
|
+
['manufacturerName', 'zclVersion', 'appVersion', 'modelId', 'powerSource', 0xfffe]);
|
|
767
|
+
for (const endpointID of [1, 2, 3, 4]) {
|
|
768
|
+
const endpoint = device.getEndpoint(endpointID);
|
|
769
|
+
await reporting.bind(endpoint, coordinatorEndpoint, ['genOnOff']);
|
|
770
|
+
await reporting.onOff(endpoint);
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
},
|
|
749
774
|
{
|
|
750
775
|
zigbeeModel: ['TS0042'],
|
|
751
776
|
model: 'TS0042',
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zigbee-herdsman-converters",
|
|
3
|
-
"version": "14.0.
|
|
3
|
+
"version": "14.0.463",
|
|
4
4
|
"lockfileVersion": 2,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "zigbee-herdsman-converters",
|
|
9
|
-
"version": "14.0.
|
|
9
|
+
"version": "14.0.463",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"axios": "^0.26.1",
|