zigbee-herdsman-converters 23.62.0 → 23.63.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 +15 -0
- package/dist/devices/index.d.ts.map +1 -1
- package/dist/devices/index.js +2 -0
- package/dist/devices/index.js.map +1 -1
- package/dist/devices/lumi.js +1 -1
- package/dist/devices/onesti.js +1 -1
- package/dist/devices/onesti.js.map +1 -1
- package/dist/devices/silicon_labs.d.ts +3 -0
- package/dist/devices/silicon_labs.d.ts.map +1 -0
- package/dist/devices/silicon_labs.js +47 -0
- package/dist/devices/silicon_labs.js.map +1 -0
- 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 +52 -0
- 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
|
@@ -4927,6 +4927,58 @@ exports.definitions = [
|
|
|
4927
4927
|
],
|
|
4928
4928
|
},
|
|
4929
4929
|
},
|
|
4930
|
+
{
|
|
4931
|
+
fingerprint: tuya.fingerprint("TS0601", ["_TZE284_2gi1hy8s"]),
|
|
4932
|
+
model: "MB60L-ZG-ZT-TY",
|
|
4933
|
+
vendor: "Manhot",
|
|
4934
|
+
description: "Smart blinds motor",
|
|
4935
|
+
onEvent: tuya.onEvent(),
|
|
4936
|
+
configure: tuya.configureMagicPacket,
|
|
4937
|
+
fromZigbee: [tuya.fz.datapoints],
|
|
4938
|
+
toZigbee: [tuya.tz.datapoints],
|
|
4939
|
+
exposes: [
|
|
4940
|
+
e.battery(),
|
|
4941
|
+
e.cover_position().setAccess("position", ea.STATE_SET),
|
|
4942
|
+
e.enum("set_limits", ea.STATE_SET, ["up", "down", "reset"]),
|
|
4943
|
+
e.enum("motor_direction", ea.STATE_SET, ["normal", "reversed"]).withDescription("Motor Steering"),
|
|
4944
|
+
e.binary("tilt_mode", ea.STATE_SET, "ON", "OFF").withDescription("Step movement"),
|
|
4945
|
+
e.binary("child_lock", ea.STATE_SET, "ON", "OFF").withDescription("Child Lock"),
|
|
4946
|
+
],
|
|
4947
|
+
meta: {
|
|
4948
|
+
tuyaDatapoints: [
|
|
4949
|
+
[
|
|
4950
|
+
1,
|
|
4951
|
+
"state",
|
|
4952
|
+
tuya.valueConverterBasic.lookup({
|
|
4953
|
+
OPEN: tuya.enum(0),
|
|
4954
|
+
STOP: tuya.enum(1),
|
|
4955
|
+
CLOSE: tuya.enum(2),
|
|
4956
|
+
}),
|
|
4957
|
+
],
|
|
4958
|
+
[9, "position", tuya.valueConverter.coverPositionInverted],
|
|
4959
|
+
[
|
|
4960
|
+
11,
|
|
4961
|
+
"motor_direction",
|
|
4962
|
+
tuya.valueConverterBasic.lookup({
|
|
4963
|
+
normal: tuya.enum(0),
|
|
4964
|
+
reversed: tuya.enum(1),
|
|
4965
|
+
}),
|
|
4966
|
+
],
|
|
4967
|
+
[13, "battery", tuya.valueConverter.raw],
|
|
4968
|
+
[
|
|
4969
|
+
16,
|
|
4970
|
+
"set_limits",
|
|
4971
|
+
tuya.valueConverterBasic.lookup({
|
|
4972
|
+
up: tuya.enum(0),
|
|
4973
|
+
down: tuya.enum(1),
|
|
4974
|
+
reset: tuya.enum(2),
|
|
4975
|
+
}),
|
|
4976
|
+
],
|
|
4977
|
+
[101, "child_lock", tuya.valueConverter.onOff],
|
|
4978
|
+
[103, "tilt_mode", tuya.valueConverter.onOff],
|
|
4979
|
+
],
|
|
4980
|
+
},
|
|
4981
|
+
},
|
|
4930
4982
|
{
|
|
4931
4983
|
zigbeeModel: ["kud7u2l"],
|
|
4932
4984
|
fingerprint: tuya.fingerprint("TS0601", [
|