Skip to content

Commit

Permalink
Fix counter not notifying on change.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glenn Waters committed Dec 5, 2018
1 parent 8c2745e commit 5c49693
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions elkm1_lib/counters.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,4 @@ def _got_desc(self, descriptions):
self.elk.send(cv_encode(counter.index))

def _cv_handler(self, counter, value):
countr = self.elements[counter]
countr.value = value
self.elements[counter].setattr('value', value, True)

0 comments on commit 5c49693

Please sign in to comment.