zigbee-herdsman-converters 24.7.0 → 24.8.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 +17 -0
- package/dist/devices/lixee.js +1 -1
- package/dist/devices/philips.d.ts.map +1 -1
- package/dist/devices/philips.js +7 -0
- package/dist/devices/philips.js.map +1 -1
- package/dist/devices/tuya.d.ts.map +1 -1
- package/dist/devices/tuya.js +15 -2
- package/dist/devices/tuya.js.map +1 -1
- package/dist/devices/ubisys.d.ts.map +1 -1
- package/dist/devices/ubisys.js +5 -0
- package/dist/devices/ubisys.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models-index.json +1 -1
- package/package.json +3 -2
|
@@ -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;AA+3BlH,eAAO,MAAM,WAAW,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"tuya.d.ts","sourceRoot":"","sources":["../../src/devices/tuya.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAC,oBAAoB,EAA4D,MAAM,cAAc,CAAC;AA+3BlH,eAAO,MAAM,WAAW,EAAE,oBAAoB,EA8miB7C,CAAC"}
|
package/dist/devices/tuya.js
CHANGED
|
@@ -2560,6 +2560,9 @@ exports.definitions = [
|
|
|
2560
2560
|
tuya.exposes.countdown().withEndpoint("l1"),
|
|
2561
2561
|
tuya.exposes.countdown().withEndpoint("l2"),
|
|
2562
2562
|
tuya.exposes.countdown().withEndpoint("l3"),
|
|
2563
|
+
tuya.exposes.lightType().withEndpoint("l1"),
|
|
2564
|
+
tuya.exposes.lightType().withEndpoint("l2"),
|
|
2565
|
+
tuya.exposes.lightType().withEndpoint("l3"),
|
|
2563
2566
|
e.power_on_behavior().withAccess(ea.STATE_SET),
|
|
2564
2567
|
tuya.exposes.backlightModeOffNormalInverted().withAccess(ea.STATE_SET),
|
|
2565
2568
|
],
|
|
@@ -2569,19 +2572,22 @@ exports.definitions = [
|
|
|
2569
2572
|
[1, "state_l1", tuya.valueConverter.onOff, { skip: tuya.skip.stateOnAndBrightnessPresent }],
|
|
2570
2573
|
[2, "brightness_l1", tuya.valueConverter.scale0_254to0_1000],
|
|
2571
2574
|
[3, "min_brightness_l1", tuya.valueConverter.scale0_254to0_1000],
|
|
2575
|
+
[4, "light_type_l1", tuya.valueConverter.lightType],
|
|
2572
2576
|
[5, "max_brightness_l1", tuya.valueConverter.scale0_254to0_1000],
|
|
2573
2577
|
[6, "countdown_l1", tuya.valueConverter.countdown],
|
|
2574
2578
|
[7, "state_l2", tuya.valueConverter.onOff, { skip: tuya.skip.stateOnAndBrightnessPresent }],
|
|
2575
2579
|
[8, "brightness_l2", tuya.valueConverter.scale0_254to0_1000],
|
|
2576
2580
|
[9, "min_brightness_l2", tuya.valueConverter.scale0_254to0_1000],
|
|
2581
|
+
[10, "light_type_l2", tuya.valueConverter.lightType],
|
|
2577
2582
|
[11, "max_brightness_l2", tuya.valueConverter.scale0_254to0_1000],
|
|
2578
2583
|
[12, "countdown_l2", tuya.valueConverter.countdown],
|
|
2584
|
+
[14, "power_on_behavior", tuya.valueConverter.powerOnBehaviorEnum],
|
|
2579
2585
|
[15, "state_l3", tuya.valueConverter.onOff, { skip: tuya.skip.stateOnAndBrightnessPresent }],
|
|
2580
2586
|
[16, "brightness_l3", tuya.valueConverter.scale0_254to0_1000],
|
|
2581
2587
|
[17, "min_brightness_l3", tuya.valueConverter.scale0_254to0_1000],
|
|
2588
|
+
[18, "light_type_l3", tuya.valueConverter.lightType],
|
|
2582
2589
|
[19, "max_brightness_l3", tuya.valueConverter.scale0_254to0_1000],
|
|
2583
2590
|
[20, "countdown_l3", tuya.valueConverter.countdown],
|
|
2584
|
-
[14, "power_on_behavior", tuya.valueConverter.powerOnBehaviorEnum],
|
|
2585
2591
|
[21, "backlight_mode", tuya.valueConverter.backlightModeOffNormalInverted],
|
|
2586
2592
|
],
|
|
2587
2593
|
},
|
|
@@ -5555,6 +5561,7 @@ exports.definitions = [
|
|
|
5555
5561
|
tuya.whitelabel("Moes", "ZTRV-ZX-TV01-MS", "Thermostat radiator valve", ["_TZE200_7yoranx2"]),
|
|
5556
5562
|
tuya.whitelabel("Moes", "TV01-ZB", "Thermostat radiator valve", ["_TZE200_e9ba97vf"]),
|
|
5557
5563
|
tuya.whitelabel("AlecoAir", "HA-08_THERMO", "Thermostat radiator valve", ["_TZE200_wsbfwodu"]),
|
|
5564
|
+
tuya.whitelabel("GIEX", "TV06", "Thermostat radiator valve", ["_TZE200_py4cm3he"]),
|
|
5558
5565
|
],
|
|
5559
5566
|
ota: true,
|
|
5560
5567
|
fromZigbee: [tuya.fz.datapoints],
|
|
@@ -13874,7 +13881,13 @@ exports.definitions = [
|
|
|
13874
13881
|
// https://github.com/Koenkk/zigbee2mqtt/issues/23946#issuecomment-2941182834
|
|
13875
13882
|
queryIntervalSeconds: 20 * 60,
|
|
13876
13883
|
}),
|
|
13877
|
-
configure:
|
|
13884
|
+
configure: async (device, coordinatorEndpoint) => {
|
|
13885
|
+
await tuya.configureMagicPacket(device, coordinatorEndpoint);
|
|
13886
|
+
const endpoint = device.endpoints[0];
|
|
13887
|
+
// Needed to make the device report reliable
|
|
13888
|
+
// https://github.com/Koenkk/zigbee2mqtt/issues/18704#issuecomment-3109695384
|
|
13889
|
+
await endpoint.write("genBasic", { 65502: { value: 0x13, type: zigbee_herdsman_1.Zcl.DataType.UINT8 } });
|
|
13890
|
+
},
|
|
13878
13891
|
exposes: [
|
|
13879
13892
|
e.numeric("tds", ea.STATE).withUnit("ppm").withDescription("Total Dissolved Solids"),
|
|
13880
13893
|
e.temperature(),
|