remove rounding of temperature reading (#13018)

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>
This commit is contained in:
Heiko Thiery 2018-03-10 00:53:28 +01:00 committed by Paulus Schoutsen
parent 05255b9c3f
commit 556901ea48

View File

@ -157,7 +157,7 @@ class LaCrosseSensor(Entity):
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