Skip to content

Commit

Permalink
fix: DHW climate values
Browse files Browse the repository at this point in the history
  • Loading branch information
alepee committed Nov 24, 2024
1 parent ad62a47 commit 7baebed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/hitachi_yutaki/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def current_temperature(self) -> float | None:
if temp > 32767: # If highest bit is set (negative number)
temp = temp - 65536

return float(temp) / 10
return float(temp)

@property
def target_temperature(self) -> float | None:
Expand All @@ -357,7 +357,7 @@ def target_temperature(self) -> float | None:
if temp is None:
return None

return float(temp) / 10
return float(temp)

@property
def hvac_mode(self) -> HVACMode | None:
Expand Down

0 comments on commit 7baebed

Please sign in to comment.