Skip to content

Commit 2553027

Browse files
committed
stick auto_update typo fix
1 parent 67a12be commit 2553027

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugwise/stick.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ def auto_update(self, timer=None):
15411541
self._auto_update_timer = 0
15421542
else:
15431543
self._auto_update_timer = 5
1544-
if timer is not None:
1544+
if timer is None:
15451545
# Timer based on number of nodes and 3 seconds per node
15461546
self._auto_update_timer = len(self._plugwise_nodes) * 3
15471547
elif timer > 5:

0 commit comments

Comments
 (0)