Skip to content

Commit

Permalink
Update climate.py (#36)
Browse files Browse the repository at this point in the history
Change line 126 to make the update of the current temperature work (see issue #34)
  • Loading branch information
pete0811 committed May 16, 2022
1 parent 5ae805c commit 480c21e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/nhc2/climate.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def state(self):
@property
def current_temperature(self):
"""Return the current temperature."""
return self._current_temperature
return self._nhc2thermostat.current_temperature

@property
def target_temperature(self):
Expand Down

0 comments on commit 480c21e

Please sign in to comment.