Skip to content

Commit

Permalink
added temperature reading for roomstat #144
Browse files Browse the repository at this point in the history
  • Loading branch information
asantaga committed Apr 13, 2021
1 parent 9db1ff7 commit fca3c71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions custom_components/wiser/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,9 +416,9 @@ def device_state_attributes(self):
# Other
if self._sensor_type == "RoomStat":
attrs["humidity"] = self.data.wiserhub.getRoomStatData(self._device_id).get(
"MeasuredHumidity"
)

"MeasuredHumidity")
attrs["temperature"] = self.data.wiserhub.getRoomStatData(self._device_id).get(
"MeasuredTemperature") / 10
return attrs


Expand Down

0 comments on commit fca3c71

Please sign in to comment.