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

Reduce duplicate code in device.py #307

Closed bdraco closed 2 years ago

codecov-commenter commented 2 years ago

Codecov Report

Merging #307 (fec9be3) into master (7c96ed8) will increase coverage by 0.98%. The diff coverage is 86.95%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #307      +/-   ##
==========================================
+ Coverage   92.24%   93.22%   +0.98%     
==========================================
  Files          15       15              
  Lines        2978     2966      -12     
==========================================
+ Hits         2747     2765      +18     
+ Misses        231      201      -30     
Impacted Files Coverage Δ
flux_led/device.py 73.93% <86.95%> (+10.43%) :arrow_up:
flux_led/protocol.py 98.71% <0.00%> (+0.14%) :arrow_up:
flux_led/utils.py 98.20% <0.00%> (+0.59%) :arrow_up:
flux_led/timer.py 67.75% <0.00%> (+1.63%) :arrow_up:

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 7c96ed8...fec9be3. Read the comment docs.