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

Switch cli to use asyncio so all bulbs on the network can be operated in parallel #303

Closed bdraco closed 2 years ago

bdraco commented 2 years ago

flux_led -Ssvi --on will now run discovery and then do all the commands with an asyncio.gather

codecov-commenter commented 2 years ago

Codecov Report

Merging #303 (b844a49) into master (9f6b908) will decrease coverage by 0.06%. The diff coverage is 60.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #303      +/-   ##
==========================================
- Coverage   92.29%   92.23%   -0.07%     
==========================================
  Files          15       15              
  Lines        2974     2976       +2     
==========================================
  Hits         2745     2745              
- Misses        229      231       +2     
Impacted Files Coverage Δ
flux_led/aiodevice.py 98.81% <33.33%> (-0.47%) :arrow_down:
flux_led/protocol.py 98.57% <100.00%> (ø)
flux_led/timer.py 65.98% <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 9f6b908...b844a49. Read the comment docs.