Skip to content

Commit

Permalink
remove rounding of temperature reading (#13018)
Browse files Browse the repository at this point in the history
With homeassistant 0.65.0 the filter sensor is introduced. Now there
is a common way to filter the peaks comming from the readings.

Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
  • Loading branch information
hthiery authored and balloob committed Mar 9, 2018
1 parent 05255b9 commit 556901e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/sensor/lacrosse.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def _callback_lacrosse(self, lacrosse_sensor, user_data):
self._expiration_trigger = async_track_point_in_utc_time(
self.hass, self.value_is_expired, expiration_at)

self._temperature = round(lacrosse_sensor.temperature * 2) / 2
self._temperature = lacrosse_sensor.temperature
self._humidity = lacrosse_sensor.humidity
self._low_battery = lacrosse_sensor.low_battery
self._new_battery = lacrosse_sensor.new_battery
Expand Down

0 comments on commit 556901e

Please sign in to comment.