Danielhiversen / flux_led

A utility for controlling Flux WiFi Smart LED Light Bulbs
GNU Lesser General Public License v3.0
156 stars 143 forks source link

Fix delay updating state on SK6812RGBW devices #322

Closed bdraco closed 2 years ago

bdraco commented 2 years ago

We need to have a transition for both the RGB and the W set since both will take time

We also need to process the state change callback before we sleep

codecov-commenter commented 2 years ago

Codecov Report

Merging #322 (4b1cd9d) into master (ecd011d) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #322   +/-   ##
=======================================
  Coverage   93.71%   93.72%           
=======================================
  Files          15       15           
  Lines        3009     3010    +1     
=======================================
+ Hits         2820     2821    +1     
  Misses        189      189           
Impacted Files Coverage Δ
flux_led/aiodevice.py 98.83% <100.00%> (+<0.01%) :arrow_up:
flux_led/timer.py 67.62% <0.00%> (-0.14%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ecd011d...4b1cd9d. Read the comment docs.