Skip to content

Commit

Permalink
Update support.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SukramJ committed Jan 25, 2025
1 parent ae8531b commit 0c14e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hahomematic/model/calculated/support.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ def calculate_frost_point(temperature: float, humidity: float) -> float:
dewpoint = calculate_dew_point(temperature=temperature, humidity=humidity)
t = temperature + 273.15
td = dewpoint + 273.15
return (td + (2671.02 / ((2954.61 / t) + 2.193665 * math.log(t) - 13.3448)) - t) - 273.15
return round((td + (2671.02 / ((2954.61 / t) + 2.193665 * math.log(t) - 13.3448)) - t) - 273.15, 1)

0 comments on commit 0c14e5c

Please sign in to comment.