Skip to content

Commit

Permalink
doh
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Bloemberg committed Nov 25, 2016
1 parent 0585aa3 commit 59ba84e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homeassistant/components/sensor/dsmr.py
Expand Up @@ -203,7 +203,7 @@ def state(self):
pass
else:
# recalculate the rate
diff = self._previous_reading - current_reading
diff = current_reading - self._previous_reading
self._state = diff

self._previous_reading = current_reading
Expand Down

0 comments on commit 59ba84e

Please sign in to comment.