-
Notifications
You must be signed in to change notification settings - Fork 33
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Software Versions:
- Operating System: MacOSx Sonoma 14.6.1
- Python version: 3.9
- BusyLight version: 0.32.0
General Type of Problem
- Integrating into another project
- other
Describe the Problem
When setting colors on Kuando Busylightrs new asyncio tasks get created every time a new color is set. There is a keepalive task that gets created each time "on" is called.
I traced it back to the def taskable add_task method which doen not correctly lookuop the task by name in the tasks dictionary.
It is added in the dictionary with the name concatenated id of the object, but looked up only byy name.
Expected Behavior
Only one keep alive task should be created per light instance.
Error Output
If there was an error displayed, paste it in here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working