Skip to content

Commit

Permalink
Bugfix #10902 (#10904)
Browse files Browse the repository at this point in the history
  • Loading branch information
turbokongen authored and fabaff committed Dec 3, 2017
1 parent 58e66c9 commit 68dc0d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions homeassistant/components/zwave/node_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,9 @@ def node_changed(self):

if self.node.can_wake_up():
for value in self.node.get_values(COMMAND_CLASS_WAKE_UP).values():
if value.index != 0:
continue

self.wakeup_interval = value.data
break
else:
Expand Down

0 comments on commit 68dc0d4

Please sign in to comment.