Closed philipsdirk closed 4 years ago
You need to execute light.update_status()
after you change the color of light with app.
You need to execute
light.update_status()
after you change the color of light with app.
Yep that did it, thnx for the quick respons!
Describe the bug When I try to get the current RGB value so I can reset it at the end of the program it get's it right te first time, but after that it keeps giving the same value even though I've manually changed the light with the app.
To Reproduce Code to reproduce the behavior:
Device
Additional context I'm very new to Python so it could entirely be that I just made a mistake, if so please point it out. It could also be that the 'bottle' library is causing issues here because when I make a separate test program where I only print(light.rgb) it works fine.