This commit is contained in:
John Arild Berentsen 2017-12-03 00:15:57 +01:00 committed by Pascal Vizeli
parent 8947052405
commit 29f47d58bc

View File

@ -137,6 +137,9 @@ class ZWaveNodeEntity(ZWaveBaseEntity):
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: