Fix lint issue

This commit is contained in:
Fabian Affolter 2018-12-01 20:57:39 +01:00
parent 54904fb6c0
commit fc1a4543d3
No known key found for this signature in database
GPG key ID: E23CD2DD36A4397F

View file

@ -134,5 +134,6 @@ class Sense(Entity):
else:
self._state = round(self._data.active_power)
else:
state = self._data.get_trend(self._sensor_type, self._is_production)
state = self._data.get_trend(
self._sensor_type, self._is_production)
self._state = round(state, 1)