Ported codebase to Python 3. Long Live Python 3!
This commit is contained in:
1 parent
8fdf2d608a
commit
7e06d535ab
14 files changed
+105
-73
No files matched your search
@@ -51,7 +51,7 @@ def setup(bus, statemachine,
|
||||
next_setting = sun.next_setting(statemachine)
|
||||
|
||||
if next_setting:
|
||||
return (next_setting - LIGHT_TRANSITION_TIME * len(light_ids))
|
||||
return next_setting - LIGHT_TRANSITION_TIME * len(light_ids)
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
Reference in new issue
Block a user