lightener icon indicating copy to clipboard operation
lightener copied to clipboard

Wait for service calls to complete concurrently

Open Skehmatics opened this issue 1 year ago • 0 comments

In some configurations, a light's service call may take a moment to complete (50-500 ms). This is acceptable when controlling a single device, however if the lightener group is more than a handful of devices changing states can take multiple seconds!

To improve the experience when this is the case, this change makes each call a task and awaits them as a group before unlocking the lightener device. This improves the time it takes my rooms' lights to settle on the desired state from ~5 seconds to ~100ms.

Skehmatics avatar Jan 05 '25 01:01 Skehmatics