Fixed dictionary access
This commit is contained in:
parent
c2f9c46d7a
commit
ece752d643
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ def get_scene_for_time(time: time) -> string:
|
|||
break
|
||||
|
||||
# Only breaks if it could not find a valid scene, so use lates scene as fallback
|
||||
return SCHEDULE.values()[-1]
|
||||
return list(SCHEDULE.values())[-1]
|
||||
|
||||
|
||||
def change_cb(countChange: int, directionState: Dict):
|
||||
|
|
Loading…
Reference in a new issue