Removed semicolon
This commit is contained in:
1 parent
61a41bb8fc
commit
5f65f67f1e
1 file changed
+1
-1
@@ -189,7 +189,7 @@ class SmappeeSensor(Entity):
|
|||||||
data = self._smappee.sensor_consumption[self._location_id]\
|
data = self._smappee.sensor_consumption[self._location_id]\
|
||||||
.get(int(sensor_id))
|
.get(int(sensor_id))
|
||||||
if data:
|
if data:
|
||||||
tempdata = data.get('records');
|
tempdata = data.get('records')
|
||||||
if tempdata:
|
if tempdata:
|
||||||
consumption = tempdata[-1]
|
consumption = tempdata[-1]
|
||||||
_LOGGER.debug("%s (%s) %s",
|
_LOGGER.debug("%s (%s) %s",
|
||||||
|
|||||||
Reference in new issue
Block a user