zigbee-herdsman-converters 23.1.1 → 23.3.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.
Files changed (69) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/dist/devices/brun_holding.d.ts +3 -0
  3. package/dist/devices/brun_holding.d.ts.map +1 -0
  4. package/dist/devices/brun_holding.js +59 -0
  5. package/dist/devices/brun_holding.js.map +1 -0
  6. package/dist/devices/dqsmart.d.ts +3 -0
  7. package/dist/devices/dqsmart.d.ts.map +1 -0
  8. package/dist/devices/dqsmart.js +17 -0
  9. package/dist/devices/dqsmart.js.map +1 -0
  10. package/dist/devices/dresden_elektronik.js +1 -1
  11. package/dist/devices/dresden_elektronik.js.map +1 -1
  12. package/dist/devices/efekta.d.ts.map +1 -1
  13. package/dist/devices/efekta.js +295 -0
  14. package/dist/devices/efekta.js.map +1 -1
  15. package/dist/devices/enkin.d.ts +3 -0
  16. package/dist/devices/enkin.d.ts.map +1 -0
  17. package/dist/devices/enkin.js +14 -0
  18. package/dist/devices/enkin.js.map +1 -0
  19. package/dist/devices/eurotronic.d.ts.map +1 -1
  20. package/dist/devices/eurotronic.js +4 -1
  21. package/dist/devices/eurotronic.js.map +1 -1
  22. package/dist/devices/index.d.ts.map +1 -1
  23. package/dist/devices/index.js +8 -0
  24. package/dist/devices/index.js.map +1 -1
  25. package/dist/devices/lumi.d.ts.map +1 -1
  26. package/dist/devices/lumi.js +60 -11
  27. package/dist/devices/lumi.js.map +1 -1
  28. package/dist/devices/moes.js +4 -4
  29. package/dist/devices/moes.js.map +1 -1
  30. package/dist/devices/nodon.js +1 -1
  31. package/dist/devices/nodon.js.map +1 -1
  32. package/dist/devices/paulmann.d.ts.map +1 -1
  33. package/dist/devices/paulmann.js +7 -0
  34. package/dist/devices/paulmann.js.map +1 -1
  35. package/dist/devices/pushok.d.ts.map +1 -1
  36. package/dist/devices/pushok.js +31 -0
  37. package/dist/devices/pushok.js.map +1 -1
  38. package/dist/devices/sinope.js +5 -5
  39. package/dist/devices/sinope.js.map +1 -1
  40. package/dist/devices/somfy.d.ts.map +1 -1
  41. package/dist/devices/somfy.js +13 -1
  42. package/dist/devices/somfy.js.map +1 -1
  43. package/dist/devices/sonoff.d.ts.map +1 -1
  44. package/dist/devices/sonoff.js +19 -0
  45. package/dist/devices/sonoff.js.map +1 -1
  46. package/dist/devices/tuya.d.ts.map +1 -1
  47. package/dist/devices/tuya.js +195 -8
  48. package/dist/devices/tuya.js.map +1 -1
  49. package/dist/devices/wmun.d.ts +3 -0
  50. package/dist/devices/wmun.d.ts.map +1 -0
  51. package/dist/devices/wmun.js +61 -0
  52. package/dist/devices/wmun.js.map +1 -0
  53. package/dist/lib/constants.d.ts +3 -1
  54. package/dist/lib/constants.d.ts.map +1 -1
  55. package/dist/lib/exposes.d.ts.map +1 -1
  56. package/dist/lib/legacy.d.ts +2 -2
  57. package/dist/lib/legacy.d.ts.map +1 -1
  58. package/dist/lib/legacy.js +3 -1
  59. package/dist/lib/legacy.js.map +1 -1
  60. package/dist/lib/lumi.d.ts +44 -2
  61. package/dist/lib/lumi.d.ts.map +1 -1
  62. package/dist/lib/lumi.js +13 -6
  63. package/dist/lib/lumi.js.map +1 -1
  64. package/dist/lib/nodon.d.ts.map +1 -1
  65. package/dist/lib/reporting.d.ts.map +1 -1
  66. package/dist/lib/tuya.d.ts.map +1 -1
  67. package/dist/lib/utils.js.map +1 -1
  68. package/dist/models-index.json +1 -1
  69. package/package.json +6 -6
@@ -1834,18 +1834,10 @@ exports.definitions = [
1834
1834
  vendor: "Aqara",
1835
1835
  description: "Water leak sensor",
1836
1836
  meta: { battery: { voltageToPercentage: { min: 2850, max: 3000 } } },
1837
- fromZigbee: [lumi.fromZigbee.lumi_basic, fz.ias_water_leak_alarm_1],
1837
+ fromZigbee: [lumi.fromZigbee.lumi_basic],
1838
1838
  toZigbee: [],
1839
- exposes: [
1840
- e.battery(),
1841
- e.water_leak(),
1842
- e.battery_low(),
1843
- e.battery_voltage(),
1844
- e.device_temperature(),
1845
- e.power_outage_count(false),
1846
- e.trigger_count(),
1847
- ],
1848
- extend: [m.quirkCheckinInterval("1_HOUR")],
1839
+ exposes: [e.battery(), e.battery_voltage(), e.device_temperature(), e.power_outage_count(false), e.trigger_count()],
1840
+ extend: [m.quirkCheckinInterval("1_HOUR"), m.iasZoneAlarm({ zoneType: "water_leak", zoneAttributes: ["alarm_1", "battery_low"] })],
1849
1841
  },
1850
1842
  {
1851
1843
  zigbeeModel: ["lumi.flood.agl02"],
@@ -4426,5 +4418,62 @@ exports.definitions = [
4426
4418
  lumiMultiClick({ description: "Multi-click mode for right down button", endpointName: "right_down" }),
4427
4419
  ],
4428
4420
  },
4421
+ {
4422
+ zigbeeModel: ["lumi.switch.agl011"],
4423
+ model: "KD-R01D",
4424
+ vendor: "Aqara",
4425
+ description: "Dimmer switch H2 EU",
4426
+ extend: [
4427
+ lumiZigbeeOTA(),
4428
+ lumiPreventLeave(),
4429
+ m.bindCluster({ cluster: "genOnOff", clusterType: "input" }),
4430
+ m.bindCluster({ cluster: "genLevelCtrl", clusterType: "input" }),
4431
+ lumiPower(),
4432
+ lumiElectricityMeter(),
4433
+ lumiLedIndicator(),
4434
+ lumiFlipIndicatorLight(),
4435
+ lumiPowerOnBehavior(),
4436
+ m.light({ powerOnBehavior: false }),
4437
+ lumiKnobRotation({ withButtonState: false }),
4438
+ lumiOperationMode({ description: "Decoupled mode for knob" }),
4439
+ lumiAction({ actionLookup: { single: 1 } }),
4440
+ m.enumLookup({
4441
+ name: "sensitivity",
4442
+ lookup: { low: 720, medium: 360, high: 180 },
4443
+ cluster: "manuSpecificLumi",
4444
+ attribute: { ID: 0x0234, type: 0x21 },
4445
+ description: "Rotation sensitivity",
4446
+ zigbeeCommandOptions: { manufacturerCode },
4447
+ }),
4448
+ m.enumLookup({
4449
+ name: "phase",
4450
+ lookup: { forward: 0, reverse: 1 },
4451
+ cluster: "manuSpecificLumi",
4452
+ attribute: { ID: 0x030a, type: 0x20 },
4453
+ description: "Dimming phase",
4454
+ zigbeeCommandOptions: { manufacturerCode },
4455
+ }),
4456
+ m.numeric({
4457
+ name: "min_brightness",
4458
+ valueMin: 0,
4459
+ valueMax: 99,
4460
+ unit: "%",
4461
+ cluster: "manuSpecificLumi",
4462
+ attribute: { ID: 0x0515, type: 0x20 },
4463
+ description: "Minimum brightness level",
4464
+ zigbeeCommandOptions: { manufacturerCode },
4465
+ }),
4466
+ m.numeric({
4467
+ name: "max_brightness",
4468
+ valueMin: 1,
4469
+ valueMax: 100,
4470
+ unit: "%",
4471
+ cluster: "manuSpecificLumi",
4472
+ attribute: { ID: 0x0516, type: 0x20 },
4473
+ description: "Maximum brightness level",
4474
+ zigbeeCommandOptions: { manufacturerCode },
4475
+ }),
4476
+ ],
4477
+ },
4429
4478
  ];
4430
4479
  //# sourceMappingURL=lumi.js.map