zigbee-herdsman-converters 25.101.0 → 25.102.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.
@@ -1 +1 @@
1
- {"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../../src/devices/tuya.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAC,oBAAoB,EAA4D,MAAM,cAAc,CAAC;AAq2ClH,eAAO,MAAM,WAAW,EAAE,oBAAoB,EA2sqB7C,CAAC"}
1
+ {"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../../src/devices/tuya.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAC,oBAAoB,EAA4D,MAAM,cAAc,CAAC;AAq2ClH,eAAO,MAAM,WAAW,EAAE,oBAAoB,EAgxqB7C,CAAC"}
@@ -2471,6 +2471,23 @@ exports.definitions = [
2471
2471
  toZigbee: [],
2472
2472
  exposes: [e.temperature(), e.humidity(), e.co2(), e.voc().withUnit("ppb"), e.formaldehyd().withUnit("µg/m³")],
2473
2473
  },
2474
+ {
2475
+ fingerprint: tuya.fingerprint("TS0601", ["_TZE284_8b9zpaav"]),
2476
+ model: "TS0601_airbox",
2477
+ vendor: "Tuya",
2478
+ description: "zigbee air quality sensor",
2479
+ extend: [tuya.modernExtend.tuyaBase({ dp: true })],
2480
+ exposes: [e.temperature(), e.humidity(), e.co2(), e.voc().withUnit("ppb"), e.formaldehyd().withUnit("µg/m³")],
2481
+ meta: {
2482
+ tuyaDatapoints: [
2483
+ [2, "co2", tuya.valueConverter.raw],
2484
+ [18, "temperature", tuya.valueConverter.divideBy10],
2485
+ [19, "humidity", tuya.valueConverter.raw],
2486
+ [21, "voc", tuya.valueConverter.divideBy100],
2487
+ [22, "formaldehyd", tuya.valueConverter.divideBy100],
2488
+ ],
2489
+ },
2490
+ },
2474
2491
  {
2475
2492
  fingerprint: tuya.fingerprint("TS0601", ["_TZE200_rbbx5mfq", "_TZE204_rbbx5mfq"]),
2476
2493
  model: "TS0601_illuminance_temperature_humidity_sensor_2",
@@ -3942,7 +3959,7 @@ exports.definitions = [
3942
3959
  ],
3943
3960
  },
3944
3961
  {
3945
- fingerprint: tuya.fingerprint("TS0601", ["_TZE204_dcnsggvz", "_TZE200_dcnsggv"]),
3962
+ fingerprint: tuya.fingerprint("TS0601", ["_TZE204_dcnsggvz", "_TZE200_dcnsggv", "_TZE200_dcnsggvz"]),
3946
3963
  model: "TS0601_dimmer_5",
3947
3964
  vendor: "Tuya",
3948
3965
  description: "1 gang smart dimmer module",
@@ -5605,9 +5622,6 @@ exports.definitions = [
5605
5622
  "_TZ3000_eei0ubpy",
5606
5623
  "_TZ3000_qaa59zqd",
5607
5624
  "_TZ3000_lmlsduws",
5608
- "_TZ3000_lugaswf8",
5609
- "_TZ3000_nuenzetq",
5610
- "_TZ3000_ruldv5dt",
5611
5625
  "_TZ3000_fbjdkph9",
5612
5626
  "_TZ3000_zbfya6h0",
5613
5627
  "_TZ3000_hznzbl0x",
@@ -5620,7 +5634,6 @@ exports.definitions = [
5620
5634
  tuya.whitelabel("Moes", "ZM-104B-M", "2 gang switch", ["_TZ3000_qaa59zqd"]),
5621
5635
  tuya.whitelabel("pcblab.io", "RR620ZB", "2 gang Zigbee switch module", ["_TZ3000_4xfqlgqo"]),
5622
5636
  tuya.whitelabel("Nous", "L13Z", "2 gang switch", ["_TZ3000_ruxexjfz", "_TZ3000_hojntt34"]),
5623
- tuya.whitelabel("Tuya", "ZG-2002-RF", "Three mode Zigbee Switch", ["_TZ3000_lugaswf8", "_TZ3000_nuenzetq", "_TZ3000_ruldv5dt"]),
5624
5637
  tuya.whitelabel("Mercator Ikuü", "SSW02", "2 gang switch", ["_TZ3000_fbjdkph9"]),
5625
5638
  tuya.whitelabel("Aubess", "TMZ02", "2 gang switch", ["_TZ3000_lmlsduws"]),
5626
5639
  tuya.whitelabel("RSH", "TS0002_basic_2", "2 gang switch", ["_TZ3000_zbfya6h0"]),
@@ -5721,6 +5734,7 @@ exports.definitions = [
5721
5734
  tuya.whitelabel("PSMART", "T462", "2 Gang switch with backlight, countdown, inching", ["_TZ3000_wnzoyohq"]),
5722
5735
  tuya.whitelabel("Nova Digital", "FZB-2", "2-Gang switch with backlight, countdown and inching", ["_TZ3000_5ksufhqi"]),
5723
5736
  tuya.whitelabel("iHseno", "_TZ3000_zxrfobzw", "2-gang touch switch", ["_TZ3000_zxrfobzw"]),
5737
+ tuya.whitelabel("Tuya", "ZG-2002-RF", "Three mode Zigbee Switch", ["_TZ3000_lugaswf8", "_TZ3000_nuenzetq", "_TZ3000_ruldv5dt"]),
5724
5738
  ],
5725
5739
  },
5726
5740
  {
@@ -16196,7 +16210,7 @@ exports.definitions = [
16196
16210
  },
16197
16211
  },
16198
16212
  {
16199
- fingerprint: tuya.fingerprint("TS0004", ["_TZ3000_5ajpkyq6", "_TZ3000_knoj8lpk"]),
16213
+ fingerprint: tuya.fingerprint("TS0004", ["_TZ3000_5ajpkyq6", "_TZ3000_knoj8lpk", "_TZ3000_3n2minvf"]),
16200
16214
  model: "TS0004_switch_module_2",
16201
16215
  vendor: "Tuya",
16202
16216
  description: "4 gang switch module",
@@ -16220,7 +16234,7 @@ exports.definitions = [
16220
16234
  await reporting.bind(device.getEndpoint(4), coordinatorEndpoint, ["genOnOff"]);
16221
16235
  },
16222
16236
  whiteLabel: [
16223
- tuya.whitelabel("AVATTO", "ZWSM16-4-Zigbee", "4 gang switch module", ["_TZ3000_5ajpkyq6"]),
16237
+ tuya.whitelabel("AVATTO", "ZWSM16-4-Zigbee", "4 gang switch module", ["_TZ3000_5ajpkyq6", "_TZ3000_3n2minvf"]),
16224
16238
  tuya.whitelabel("iHseno", "_TZ3000_knoj8lpk", "4 gang switch module", ["_TZ3000_knoj8lpk"]),
16225
16239
  ],
16226
16240
  },
@@ -18691,6 +18705,61 @@ exports.definitions = [
18691
18705
  ],
18692
18706
  },
18693
18707
  },
18708
+ {
18709
+ fingerprint: tuya.fingerprint("TS0601", ["_TZE284_mxujdmxo"]),
18710
+ model: "ME202WZ",
18711
+ vendor: "Tuya",
18712
+ description: "Water level sensor",
18713
+ extend: [tuya.modernExtend.tuyaBase({ dp: true, forceTimeUpdates: true })],
18714
+ exposes: [
18715
+ e.enum("liquid_state", ea.STATE, ["low", "normal", "high"]).withDescription("Liquid level status"),
18716
+ e.numeric("liquid_depth", ea.STATE).withUnit("m").withDescription("Liquid Depth"),
18717
+ e.numeric("power_level", ea.STATE).withUnit("V").withDescription("Power supply voltage"),
18718
+ e
18719
+ .numeric("max_set", ea.STATE_SET)
18720
+ .withUnit("%")
18721
+ .withDescription("Liquid max percentage")
18722
+ .withValueMin(0)
18723
+ .withValueMax(100)
18724
+ .withValueStep(1),
18725
+ e
18726
+ .numeric("mini_set", ea.STATE_SET)
18727
+ .withUnit("%")
18728
+ .withDescription("Liquid minimal percentage")
18729
+ .withValueMin(0)
18730
+ .withValueMax(100)
18731
+ .withValueStep(1),
18732
+ e
18733
+ .numeric("liquid_depth_max", ea.STATE_SET)
18734
+ .withUnit("m")
18735
+ .withDescription("Height from sensor to liquid level")
18736
+ .withValueMin(0.1)
18737
+ .withValueMax(4)
18738
+ .withValueStep(0.01),
18739
+ e.numeric("liquid_level_percent", ea.STATE).withUnit("%").withDescription("Liquid level ratio"),
18740
+ e.text("version", ea.STATE_GET).withDescription("Device version"),
18741
+ ],
18742
+ meta: {
18743
+ tuyaDatapoints: [
18744
+ [
18745
+ 1,
18746
+ "liquid_state",
18747
+ tuya.valueConverterBasic.lookup({
18748
+ low: tuya.enum(1),
18749
+ normal: tuya.enum(0),
18750
+ high: tuya.enum(2),
18751
+ }),
18752
+ ],
18753
+ [2, "liquid_depth", tuya.valueConverter.divideBy100],
18754
+ [5, "power_level", tuya.valueConverter.divideBy10],
18755
+ [7, "max_set", tuya.valueConverter.raw],
18756
+ [8, "mini_set", tuya.valueConverter.raw],
18757
+ [21, "liquid_depth_max", tuya.valueConverter.divideBy100],
18758
+ [22, "liquid_level_percent", tuya.valueConverter.raw],
18759
+ [103, "version", tuya.valueConverter.raw],
18760
+ ],
18761
+ },
18762
+ },
18694
18763
  {
18695
18764
  fingerprint: [{ modelID: "TS0601", manufacturerName: "_TZE200_lvkk0hdg" }],
18696
18765
  model: "TLC2206",