zigbee-herdsman-converters 15.13.0 → 15.13.1
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 +10 -0
- package/devices/tuya.d.ts +17 -0
- package/devices/tuya.js +12 -10
- package/devices/tuya.js.map +1 -1
- package/lib/exposes.js +11 -11
- package/lib/exposes.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [15.13.1](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.13.0...v15.13.1) (2023-06-01)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* Fix ci and exports ([3c6d5df](https://github.com/Koenkk/zigbee-herdsman-converters/commit/3c6d5dffd98dac29c985abd7ad58d11fee3c65af))
|
|
9
|
+
* **ignore:** Fix `_TZE204_ztc6ggyl` whitelabel ([750814d](https://github.com/Koenkk/zigbee-herdsman-converters/commit/750814d8fe7b634e57341197507bf0a9882d4192))
|
|
10
|
+
* **ignore:** Fix °C unit ([485078c](https://github.com/Koenkk/zigbee-herdsman-converters/commit/485078c1c550ce1c24e4896cbe58f717d1803b42))
|
|
11
|
+
* **ignore:** Fix tests ([a9b47b4](https://github.com/Koenkk/zigbee-herdsman-converters/commit/a9b47b43d5e0eae3918d5aad99e8841f01be8aa6))
|
|
12
|
+
|
|
3
13
|
## [15.13.0](https://github.com/Koenkk/zigbee-herdsman-converters/compare/v15.12.0...v15.13.0) (2023-05-31)
|
|
4
14
|
|
|
5
15
|
|
package/devices/tuya.d.ts
CHANGED
|
@@ -2957,6 +2957,23 @@ declare const _exports: ({
|
|
|
2957
2957
|
fromZigbee: any[];
|
|
2958
2958
|
toZigbee: any[];
|
|
2959
2959
|
};
|
|
2960
|
+
} | {
|
|
2961
|
+
fingerprint: {
|
|
2962
|
+
modelID: string;
|
|
2963
|
+
manufacturerName: string;
|
|
2964
|
+
}[];
|
|
2965
|
+
model: string;
|
|
2966
|
+
vendor: string;
|
|
2967
|
+
description: string;
|
|
2968
|
+
fromZigbee: FromZigbeeConverter[];
|
|
2969
|
+
toZigbee: ToZigbeeConverter[];
|
|
2970
|
+
whiteLabel: {
|
|
2971
|
+
vendor: any;
|
|
2972
|
+
model: any;
|
|
2973
|
+
description: any;
|
|
2974
|
+
fingerprint: any;
|
|
2975
|
+
}[];
|
|
2976
|
+
exposes: any[];
|
|
2960
2977
|
} | {
|
|
2961
2978
|
fingerprint: any;
|
|
2962
2979
|
model: string;
|
package/devices/tuya.js
CHANGED
|
@@ -2807,7 +2807,7 @@ module.exports = [
|
|
|
2807
2807
|
' by switching the heating off. To achieve this, the valve is closed fully. To activate the ' +
|
|
2808
2808
|
'heating stop, the device display "HS", press the pair button to cancel.'),
|
|
2809
2809
|
tuya.exposes.frostProtection('When Anti-Freezing function is activated, the temperature in the house is kept ' +
|
|
2810
|
-
'at 8
|
|
2810
|
+
'at 8 °C, the device display "AF".press the pair button to cancel.'),
|
|
2811
2811
|
exposes.numeric('boost_timeset_countdown', ea.STATE_SET).withUnit('second').withDescription('Setting ' +
|
|
2812
2812
|
'minimum 0 - maximum 465 seconds boost time. The boost (â¨) function is activated. The remaining ' +
|
|
2813
2813
|
'time for the function will be counted down in seconds ( 465 to 0 ).').withValueMin(0).withValueMax(465),
|
|
@@ -2946,7 +2946,7 @@ module.exports = [
|
|
|
2946
2946
|
'two weeks. It will run for 30 seconds per time with the screen displaying "Ad", then return to its normal working state ' +
|
|
2947
2947
|
'again.'),
|
|
2948
2948
|
exposes.binary('frost_protection', ea.STATE_SET, 'ON', 'OFF').withDescription('When the room temperature is lower than ' +
|
|
2949
|
-
'5
|
|
2949
|
+
'5 °C, the valve opens; when the temperature rises to 8 °C, the valve closes.'),
|
|
2950
2950
|
exposes.numeric('error', ea.STATE).withDescription('If NTC is damaged, "Er" will be on the TRV display.'),
|
|
2951
2951
|
],
|
|
2952
2952
|
meta: {
|
|
@@ -3823,7 +3823,6 @@ module.exports = [
|
|
|
3823
3823
|
return { 'l1': 1, 'l2': 2, 'l3': 3, 'l4': 4 };
|
|
3824
3824
|
},
|
|
3825
3825
|
whiteLabel: [
|
|
3826
|
-
tuya.whitelabel('TuYa', 'ZY-M100-S', 'Human presence sensor', ['_TZE204_ztc6ggyl']),
|
|
3827
3826
|
tuya.whitelabel('TuYa', 'DS-111', 'Smart light switch - 4 gang with neutral wire', ['_TZ3000_mdj7kra9']),
|
|
3828
3827
|
],
|
|
3829
3828
|
meta: { multiEndpoint: true },
|
|
@@ -3998,13 +3997,13 @@ module.exports = [
|
|
|
3998
3997
|
.withDescription('Antifreeze function'),
|
|
3999
3998
|
exposes.binary('factory_reset', ea.STATE_SET, 'ON', 'OFF')
|
|
4000
3999
|
.withDescription('Resets all settings to default. Doesn\'t unpair device.'),
|
|
4001
|
-
exposes.numeric('heating_temp_limit', ea.STATE_SET).withUnit('
|
|
4000
|
+
exposes.numeric('heating_temp_limit', ea.STATE_SET).withUnit('°C').withValueMax(60)
|
|
4002
4001
|
.withValueMin(5).withValueStep(1).withPreset('default', 35, 'Default value')
|
|
4003
4002
|
.withDescription('Heating temperature limit'),
|
|
4004
|
-
exposes.numeric('deadzone_temperature', ea.STATE_SET).withUnit('
|
|
4003
|
+
exposes.numeric('deadzone_temperature', ea.STATE_SET).withUnit('°C').withValueMax(9.5)
|
|
4005
4004
|
.withValueMin(0.5).withValueStep(0.5).withPreset('default', 1, 'Default value')
|
|
4006
4005
|
.withDescription('The delta between local_temperature and current_heating_setpoint to trigger Heat'),
|
|
4007
|
-
exposes.numeric('upper_temp', ea.STATE_SET).withUnit('
|
|
4006
|
+
exposes.numeric('upper_temp', ea.STATE_SET).withUnit('°C').withValueMax(95)
|
|
4008
4007
|
.withValueMin(35).withValueStep(1).withPreset('default', 60, 'Default value'),
|
|
4009
4008
|
],
|
|
4010
4009
|
onEvent: tuya.onEventSetTime,
|
|
@@ -4141,9 +4140,9 @@ module.exports = [
|
|
|
4141
4140
|
'msTemperatureMeasurement', 'msIlluminanceMeasurement', 'msRelativeHumidity', 'manuSpecificTuya_2']);
|
|
4142
4141
|
},
|
|
4143
4142
|
exposes: [e.temperature(), e.humidity(), e.battery(), e.illuminance(), e.illuminance_lux(),
|
|
4144
|
-
exposes.numeric('alarm_temperature_max', ea.STATE_SET).withUnit('
|
|
4143
|
+
exposes.numeric('alarm_temperature_max', ea.STATE_SET).withUnit('°C').withDescription('Alarm temperature max')
|
|
4145
4144
|
.withValueMin(-20).withValueMax(80),
|
|
4146
|
-
exposes.numeric('alarm_temperature_min', ea.STATE_SET).withUnit('
|
|
4145
|
+
exposes.numeric('alarm_temperature_min', ea.STATE_SET).withUnit('°C').withDescription('Alarm temperature min')
|
|
4147
4146
|
.withValueMin(-20).withValueMax(80),
|
|
4148
4147
|
exposes.numeric('alarm_humidity_max', ea.STATE_SET).withUnit('%').withDescription('Alarm humidity max')
|
|
4149
4148
|
.withValueMin(0).withValueMax(100),
|
|
@@ -4406,6 +4405,9 @@ module.exports = [
|
|
|
4406
4405
|
description: 'Smart Human presence sensor',
|
|
4407
4406
|
fromZigbee: [fz.legacy.tuya_smart_human_presense_sensor],
|
|
4408
4407
|
toZigbee: [tz.legacy.tuya_smart_human_presense_sensor],
|
|
4408
|
+
whiteLabel: [
|
|
4409
|
+
tuya.whitelabel('TuYa', 'ZY-M100-S', 'Human presence sensor', ['_TZE204_ztc6ggyl']),
|
|
4410
|
+
],
|
|
4409
4411
|
exposes: [
|
|
4410
4412
|
e.illuminance_lux(), e.presence(),
|
|
4411
4413
|
exposes.numeric('target_distance', ea.STATE).withDescription('Distance to target').withUnit('m'),
|
|
@@ -4477,9 +4479,9 @@ module.exports = [
|
|
|
4477
4479
|
exposes.enum('temperature_unit_convert', ea.STATE_SET, ['celsius', 'fahrenheit']).withDescription('Current display unit'),
|
|
4478
4480
|
exposes.enum('temperature_alarm', ea.STATE, ['canceled', 'lower_alarm', 'upper_alarm'])
|
|
4479
4481
|
.withDescription('Temperature alarm status'),
|
|
4480
|
-
exposes.numeric('max_temperature', ea.STATE_SET).withUnit('
|
|
4482
|
+
exposes.numeric('max_temperature', ea.STATE_SET).withUnit('°C').withValueMin(-20).withValueMax(60)
|
|
4481
4483
|
.withDescription('Alarm temperature max'),
|
|
4482
|
-
exposes.numeric('min_temperature', ea.STATE_SET).withUnit('
|
|
4484
|
+
exposes.numeric('min_temperature', ea.STATE_SET).withUnit('°C').withValueMin(-20).withValueMax(60)
|
|
4483
4485
|
.withDescription('Alarm temperature min'),
|
|
4484
4486
|
exposes.enum('humidity_alarm', ea.STATE, ['canceled', 'lower_alarm', 'upper_alarm'])
|
|
4485
4487
|
.withDescription('Humidity alarm status'),
|