Skip to content

Commit 1d340ff

Browse files
feat: Tuya TRV602Z: support more features (#8992)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 81f92ae commit 1d340ff

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/devices/tuya.ts

+13
Original file line numberDiff line numberDiff line change
@@ -5931,6 +5931,17 @@ export const definitions: DefinitionWithExtend[] = [
59315931
e.min_temperature(),
59325932
e.position(),
59335933
e.window_detection(),
5934+
e
5935+
.numeric("boost_timeset_countdown", ea.STATE_SET)
5936+
.withUnit("m")
5937+
.withDescription(
5938+
"Setting " +
5939+
"minimum 0 - maximum 120 minutes boost time. The boost function is activated. The remaining " +
5940+
"time for the function will be counted down in minutes ( 120 to 0 ).",
5941+
)
5942+
.withValueMin(0)
5943+
.withValueMax(120),
5944+
e.binary("frost_protection", ea.STATE_SET, "ON", "OFF").withDescription("Antifreeze function"),
59345945
e.binary("window", ea.STATE, "OPEN", "CLOSE").withDescription("Window status closed or open "),
59355946
e
59365947
.climate()
@@ -6034,9 +6045,11 @@ export const definitions: DefinitionWithExtend[] = [
60346045
}),
60356046
],
60366047
[114, "position", tuya.valueConverter.divideBy10],
6048+
[118, "boost_timeset_countdown", tuya.valueConverter.raw],
60376049
[119, "comfort_temperature", tuya.valueConverter.divideBy10],
60386050
[120, "eco_temperature", tuya.valueConverter.divideBy10],
60396051
[121, "holiday_temperature", tuya.valueConverter.divideBy10],
6052+
[122, "frost_protection", tuya.valueConverter.onOff],
60406053
[
60416054
127,
60426055
"hysteresis",

0 commit comments

Comments
 (0)