mirror of
https://github.com/home-assistant/core.git
synced 2025-07-09 14:27:07 +00:00
Fix lint issue
This commit is contained in:
parent
54904fb6c0
commit
fc1a4543d3
@ -134,5 +134,6 @@ class Sense(Entity):
|
|||||||
else:
|
else:
|
||||||
self._state = round(self._data.active_power)
|
self._state = round(self._data.active_power)
|
||||||
else:
|
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)
|
self._state = round(state, 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user