Skip to content

Commit

Permalink
debug for #18
Browse files Browse the repository at this point in the history
  • Loading branch information
jimboca committed Dec 28, 2018
1 parent c1b124f commit 93af903
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions node_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ def start(self):
pass

def update(self, sensor):
LOGGER.debug("{}:update:".format(self.address))
LOGGER.debug("{}:update: sensor={}".format(self.address,sensor))
try:
tempCurrent = int(sensor['capability'][0]['value']) / 10 if int(sensor['capability'][0]['value']) != 0 else 0
except ValueError as e:
Expand Down

0 comments on commit 93af903

Please sign in to comment.