add readmes to examples.

This commit is contained in:
onyx-and-iris
2022-08-31 20:13:44 +01:00
parent 7c6ebd1dae
commit 66a06617c6
4 changed files with 53 additions and 3 deletions

View File

@@ -7,9 +7,9 @@ def main():
resp = cl.get_scene_list()
scenes = reversed(tuple(di.get("sceneName") for di in resp.scenes))
for sc in scenes:
print(f"Switching to scene {sc}")
cl.set_current_program_scene(sc)
for scene in scenes:
print(f"Switching to scene {scene}")
cl.set_current_program_scene(scene)
time.sleep(0.5)