zigbee-herdsman-converters 25.73.0 → 25.74.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 +18 -0
- package/dist/devices/domraem.d.ts.map +1 -1
- package/dist/devices/domraem.js +24 -6
- package/dist/devices/domraem.js.map +1 -1
- package/dist/devices/engo.d.ts.map +1 -1
- package/dist/devices/engo.js +138 -0
- package/dist/devices/engo.js.map +1 -1
- package/dist/devices/gledopto.d.ts.map +1 -1
- package/dist/devices/gledopto.js +7 -0
- package/dist/devices/gledopto.js.map +1 -1
- package/dist/devices/legrand.d.ts.map +1 -1
- package/dist/devices/legrand.js +7 -0
- package/dist/devices/legrand.js.map +1 -1
- package/dist/devices/mill.js +1 -1
- package/dist/devices/mill.js.map +1 -1
- package/dist/devices/sonoff.js +1 -1
- package/dist/devices/sonoff.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +41 -7
- package/dist/devices/tuya.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +1 -1
package/dist/devices/tuya.js
CHANGED
|
@@ -760,6 +760,17 @@ const tzLocal = {
|
|
|
760
760
|
},
|
|
761
761
|
};
|
|
762
762
|
const fzLocal = {
|
|
763
|
+
TLSR82xxAction: {
|
|
764
|
+
cluster: "genOnOff",
|
|
765
|
+
type: ["attributeReport", "readResponse"],
|
|
766
|
+
convert: (model, msg, publish, options, meta) => {
|
|
767
|
+
if (Object.hasOwn(msg.data, "onOff")) {
|
|
768
|
+
const btn = msg.endpoint.ID;
|
|
769
|
+
const state = msg.data["onOff"] === 1 ? "on" : "off";
|
|
770
|
+
return { action: `${state}_${btn}` };
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
},
|
|
763
774
|
// biome-ignore lint/style/useNamingConvention: ignored using `--suppress`
|
|
764
775
|
TS0726_action: {
|
|
765
776
|
cluster: "genOnOff",
|
|
@@ -6479,7 +6490,7 @@ exports.definitions = [
|
|
|
6479
6490
|
"_TZE200_9xfjixap" /* model: 'ME167', vendor: 'AVATTO' */,
|
|
6480
6491
|
"_TZE200_jkfbph7l" /* model: 'ME167', vendor: 'AVATTO' */,
|
|
6481
6492
|
"_TZE200_rxntag7i" /* model: 'ME168', vendor: 'AVATTO' */,
|
|
6482
|
-
"_TZE200_4utwozi2" /* model: 'ME167', vendor: '
|
|
6493
|
+
"_TZE200_4utwozi2" /* model: 'ME167', vendor: 'AVATTO' */,
|
|
6483
6494
|
"_TZE200_yqgbrdyo",
|
|
6484
6495
|
"_TZE284_p3dbf6qs",
|
|
6485
6496
|
"_TZE200_rxq4iti9",
|
|
@@ -13273,8 +13284,8 @@ exports.definitions = [
|
|
|
13273
13284
|
"_TZE204_tdhnhhiy",
|
|
13274
13285
|
]),
|
|
13275
13286
|
model: "TS0601_switch_8",
|
|
13276
|
-
vendor: "
|
|
13277
|
-
description: "
|
|
13287
|
+
vendor: "ZYXH",
|
|
13288
|
+
description: "8 gang switch",
|
|
13278
13289
|
extend: [tuya.modernExtend.tuyaBase({ dp: true })],
|
|
13279
13290
|
exposes: [
|
|
13280
13291
|
tuya.exposes.switch().withEndpoint("l1"),
|
|
@@ -13397,8 +13408,8 @@ exports.definitions = [
|
|
|
13397
13408
|
{
|
|
13398
13409
|
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_dqolcpcp", "_TZE284_dqolcpcp"]),
|
|
13399
13410
|
model: "TS0601_switch_12",
|
|
13400
|
-
vendor: "
|
|
13401
|
-
description: "
|
|
13411
|
+
vendor: "ZYXH",
|
|
13412
|
+
description: "12 gang switch",
|
|
13402
13413
|
extend: [tuya.modernExtend.tuyaBase({ dp: true })],
|
|
13403
13414
|
exposes: [...Array.from({ length: 12 }, (_, i) => tuya.exposes.switch().withEndpoint(`l${i + 1}`))],
|
|
13404
13415
|
endpoint: (device) => {
|
|
@@ -14042,8 +14053,8 @@ exports.definitions = [
|
|
|
14042
14053
|
},
|
|
14043
14054
|
{
|
|
14044
14055
|
fingerprint: tuya.fingerprint("TS0601", ["_TZE204_vmcgja59", "_TZE284_vmcgja59"]),
|
|
14045
|
-
model: "
|
|
14046
|
-
vendor: "
|
|
14056
|
+
model: "ZYXH_switch_24",
|
|
14057
|
+
vendor: "ZYXH",
|
|
14047
14058
|
description: "24 gang switch",
|
|
14048
14059
|
extend: [tuya.modernExtend.tuyaBase({ dp: true })],
|
|
14049
14060
|
exposes: [...Array.from(Array(24).keys()).map((ep) => tuya.exposes.switch().withEndpoint(`l${ep + 1}`))],
|
|
@@ -20930,5 +20941,28 @@ exports.definitions = [
|
|
|
20930
20941
|
m.deviceEndpoints({ endpoints: { l1: 1, l2: 1, l3: 1, l4: 1 } }),
|
|
20931
20942
|
],
|
|
20932
20943
|
},
|
|
20944
|
+
{
|
|
20945
|
+
fingerprint: [
|
|
20946
|
+
{
|
|
20947
|
+
modelID: "TLSR82xx",
|
|
20948
|
+
manufacturerName: "TELINK",
|
|
20949
|
+
applicationVersion: 0,
|
|
20950
|
+
endpoints: [
|
|
20951
|
+
{ ID: 1, profileID: 260, deviceID: 0, inputClusters: [0, 3, 1, 6], outputClusters: [4, 5, 4096] },
|
|
20952
|
+
{ ID: 2, profileID: 260, deviceID: 0, inputClusters: [0, 3, 6], outputClusters: [] },
|
|
20953
|
+
],
|
|
20954
|
+
},
|
|
20955
|
+
],
|
|
20956
|
+
model: "TLSR82xx_2btn_remote",
|
|
20957
|
+
vendor: "Telink",
|
|
20958
|
+
description: "2 button remote",
|
|
20959
|
+
fromZigbee: [fzLocal.TLSR82xxAction, fz.battery],
|
|
20960
|
+
toZigbee: [],
|
|
20961
|
+
configure: async (device, coordinatorEndpoint, logger) => {
|
|
20962
|
+
await reporting.bind(device.getEndpoint(1), coordinatorEndpoint, ["genOnOff"]);
|
|
20963
|
+
await reporting.bind(device.getEndpoint(2), coordinatorEndpoint, ["genOnOff"]);
|
|
20964
|
+
},
|
|
20965
|
+
exposes: [e.battery(), e.action(["on_1", "off_1", "on_2", "off_2"])],
|
|
20966
|
+
},
|
|
20933
20967
|
];
|
|
20934
20968
|
//# sourceMappingURL=tuya.js.map
|