This commit is contained in:
John Arild Berentsen 2017-12-03 00:15:57 +01:00 committed by Fabian Affolter
parent 58e66c947b
commit 68dc0d4d99
No known key found for this signature in database
GPG key ID: DDF3D6F44AAB1336

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: