Skip to content

Commit

Permalink
fix(ignore): Fix °C unit
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Jun 1, 2023
1 parent 3c6d5df commit 485078c
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/devices/tuya.js
Original file line number Diff line number Diff line change
Expand Up @@ -2816,7 +2816,7 @@ module.exports = [
' by switching the heating off. To achieve this, the valve is closed fully. To activate the '+
'heating stop, the device display "HS", press the pair button to cancel.'),
tuya.exposes.frostProtection('When Anti-Freezing function is activated, the temperature in the house is kept '+
'at 8 °C, the device display "AF".press the pair button to cancel.'),
'at 8 °C, the device display "AF".press the pair button to cancel.'),
exposes.numeric('boost_timeset_countdown', ea.STATE_SET).withUnit('second').withDescription('Setting '+
'minimum 0 - maximum 465 seconds boost time. The boost (♨) function is activated. The remaining '+
'time for the function will be counted down in seconds ( 465 to 0 ).').withValueMin(0).withValueMax(465),
Expand Down Expand Up @@ -2955,7 +2955,7 @@ module.exports = [
'two weeks. It will run for 30 seconds per time with the screen displaying "Ad", then return to its normal working state ' +
'again.'),
exposes.binary('frost_protection', ea.STATE_SET, 'ON', 'OFF').withDescription('When the room temperature is lower than ' +
'5 °C, the valve opens; when the temperature rises to 8 °C, the valve closes.'),
'5 °C, the valve opens; when the temperature rises to 8 °C, the valve closes.'),
exposes.numeric('error', ea.STATE).withDescription('If NTC is damaged, "Er" will be on the TRV display.'),
],
meta: {
Expand Down Expand Up @@ -4007,13 +4007,13 @@ module.exports = [
.withDescription('Antifreeze function'),
exposes.binary('factory_reset', ea.STATE_SET, 'ON', 'OFF')
.withDescription('Resets all settings to default. Doesn\'t unpair device.'),
exposes.numeric('heating_temp_limit', ea.STATE_SET).withUnit('°C').withValueMax(60)
exposes.numeric('heating_temp_limit', ea.STATE_SET).withUnit('°C').withValueMax(60)
.withValueMin(5).withValueStep(1).withPreset('default', 35, 'Default value')
.withDescription('Heating temperature limit'),
exposes.numeric('deadzone_temperature', ea.STATE_SET).withUnit('°C').withValueMax(9.5)
exposes.numeric('deadzone_temperature', ea.STATE_SET).withUnit('°C').withValueMax(9.5)
.withValueMin(0.5).withValueStep(0.5).withPreset('default', 1, 'Default value')
.withDescription('The delta between local_temperature and current_heating_setpoint to trigger Heat'),
exposes.numeric('upper_temp', ea.STATE_SET).withUnit('°C').withValueMax(95)
exposes.numeric('upper_temp', ea.STATE_SET).withUnit('°C').withValueMax(95)
.withValueMin(35).withValueStep(1).withPreset('default', 60, 'Default value'),
],
onEvent: tuya.onEventSetTime,
Expand Down Expand Up @@ -4150,9 +4150,9 @@ module.exports = [
'msTemperatureMeasurement', 'msIlluminanceMeasurement', 'msRelativeHumidity', 'manuSpecificTuya_2']);
},
exposes: [e.temperature(), e.humidity(), e.battery(), e.illuminance(), e.illuminance_lux(),
exposes.numeric('alarm_temperature_max', ea.STATE_SET).withUnit('°C').withDescription('Alarm temperature max')
exposes.numeric('alarm_temperature_max', ea.STATE_SET).withUnit('°C').withDescription('Alarm temperature max')
.withValueMin(-20).withValueMax(80),
exposes.numeric('alarm_temperature_min', ea.STATE_SET).withUnit('°C').withDescription('Alarm temperature min')
exposes.numeric('alarm_temperature_min', ea.STATE_SET).withUnit('°C').withDescription('Alarm temperature min')
.withValueMin(-20).withValueMax(80),
exposes.numeric('alarm_humidity_max', ea.STATE_SET).withUnit('%').withDescription('Alarm humidity max')
.withValueMin(0).withValueMax(100),
Expand Down Expand Up @@ -4488,9 +4488,9 @@ module.exports = [
exposes.enum('temperature_unit_convert', ea.STATE_SET, ['celsius', 'fahrenheit']).withDescription('Current display unit'),
exposes.enum('temperature_alarm', ea.STATE, ['canceled', 'lower_alarm', 'upper_alarm'])
.withDescription('Temperature alarm status'),
exposes.numeric('max_temperature', ea.STATE_SET).withUnit('°C').withValueMin(-20).withValueMax(60)
exposes.numeric('max_temperature', ea.STATE_SET).withUnit('°C').withValueMin(-20).withValueMax(60)
.withDescription('Alarm temperature max'),
exposes.numeric('min_temperature', ea.STATE_SET).withUnit('°C').withValueMin(-20).withValueMax(60)
exposes.numeric('min_temperature', ea.STATE_SET).withUnit('°C').withValueMin(-20).withValueMax(60)
.withDescription('Alarm temperature min'),
exposes.enum('humidity_alarm', ea.STATE, ['canceled', 'lower_alarm', 'upper_alarm'])
.withDescription('Humidity alarm status'),
Expand Down

0 comments on commit 485078c

Please sign in to comment.