zigbee-herdsman-converters 20.43.0 → 20.45.0
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/CHANGELOG.md +30 -0
- package/devices/ecodim.js +2 -2
- package/devices/ecodim.js.map +1 -1
- package/devices/gledopto.js +1 -1
- package/devices/gledopto.js.map +1 -1
- package/devices/ikea.d.ts.map +1 -1
- package/devices/ikea.js +7 -2
- package/devices/ikea.js.map +1 -1
- package/devices/philips.d.ts.map +1 -1
- package/devices/philips.js +14 -0
- package/devices/philips.js.map +1 -1
- package/devices/tuya.d.ts.map +1 -1
- package/devices/tuya.js +20 -1
- package/devices/tuya.js.map +1 -1
- package/lib/modernExtend.d.ts.map +1 -1
- package/lib/modernExtend.js +44 -42
- package/lib/modernExtend.js.map +1 -1
- package/lib/utils.js +1 -1
- package/lib/utils.js.map +1 -1
- package/package.json +4 -4
package/devices/tuya.js
CHANGED
|
@@ -6795,7 +6795,7 @@ const definitions = [
|
|
|
6795
6795
|
tuya.valueConverterBasic.lookup((_, device) => {
|
|
6796
6796
|
// https://github.com/Koenkk/zigbee2mqtt/issues/21353#issuecomment-1938328429
|
|
6797
6797
|
if (device.manufacturerName === '_TZE200_viy9ihs7') {
|
|
6798
|
-
return { auto: tuya.enum(
|
|
6798
|
+
return { auto: tuya.enum(0), manual: tuya.enum(1), temporary_manual: tuya.enum(2) };
|
|
6799
6799
|
}
|
|
6800
6800
|
else {
|
|
6801
6801
|
return { auto: tuya.enum(0), manual: tuya.enum(1), temporary_manual: tuya.enum(2) };
|
|
@@ -12166,6 +12166,25 @@ const definitions = [
|
|
|
12166
12166
|
],
|
|
12167
12167
|
},
|
|
12168
12168
|
},
|
|
12169
|
+
{
|
|
12170
|
+
zigbeeModel: ['TS0105'],
|
|
12171
|
+
model: 'TS0105',
|
|
12172
|
+
vendor: 'TuYa',
|
|
12173
|
+
description: '3 gang switch',
|
|
12174
|
+
extend: [tuyaBase({ dp: true }), (0, modernExtend_1.deviceEndpoints)({ endpoints: { l1: 1, l2: 1, l3: 1 } })],
|
|
12175
|
+
exposes: [
|
|
12176
|
+
e.switch().withEndpoint('l1').setAccess('state', ea.STATE_SET),
|
|
12177
|
+
e.switch().withEndpoint('l2').setAccess('state', ea.STATE_SET),
|
|
12178
|
+
e.switch().withEndpoint('l3').setAccess('state', ea.STATE_SET),
|
|
12179
|
+
],
|
|
12180
|
+
meta: {
|
|
12181
|
+
tuyaDatapoints: [
|
|
12182
|
+
[1, 'state_l1', tuya.valueConverter.onOff],
|
|
12183
|
+
[2, 'state_l2', tuya.valueConverter.onOff],
|
|
12184
|
+
[3, 'state_l3', tuya.valueConverter.onOff],
|
|
12185
|
+
],
|
|
12186
|
+
},
|
|
12187
|
+
},
|
|
12169
12188
|
{
|
|
12170
12189
|
fingerprint: tuya.fingerprint('TS0601', ['_TZE200_iba1ckek', '_TZE200_hggxgsjj']),
|
|
12171
12190
|
model: 'ZG-103Z',
|