Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tuya.ts #8992

Merged
merged 3 commits into from
Mar 15, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions src/devices/tuya.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5931,6 +5931,17 @@ export const definitions: DefinitionWithExtend[] = [
e.min_temperature(),
e.position(),
e.window_detection(),
e
.numeric("boost_timeset_countdown", ea.STATE_SET)
.withUnit("m")
.withDescription(
"Setting " +
"minimum 0 - maximum 120 minutes boost time. The boost function is activated. The remaining " +
"time for the function will be counted down in minutes ( 120 to 0 ).",
)
.withValueMin(0)
.withValueMax(120),
e.binary("frost_protection", ea.STATE_SET, "ON", "OFF").withDescription("Antifreeze function"),
e.binary("window", ea.STATE, "OPEN", "CLOSE").withDescription("Window status closed or open "),
e
.climate()
Expand Down Expand Up @@ -6034,9 +6045,11 @@ export const definitions: DefinitionWithExtend[] = [
}),
],
[114, "position", tuya.valueConverter.divideBy10],
[118, "boost_timeset_countdown", tuya.valueConverter.raw],
[119, "comfort_temperature", tuya.valueConverter.divideBy10],
[120, "eco_temperature", tuya.valueConverter.divideBy10],
[121, "holiday_temperature", tuya.valueConverter.divideBy10],
[122, "frost_protection", tuya.valueConverter.onOff],
[
127,
"hysteresis",
Expand Down