Danielhiversen / flux_led

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

Add model and version to discovery info #168

Closed bdraco closed 2 years ago

bdraco commented 2 years ago
[{'firmware_date': datetime.date(2018, 10, 31),
  'id': '2462AB6F9133',
  'ipaddr': '192.168.209.213',
  'model': 'AK001-ZJ210',
  'model_description': 'RGB Symphony Original',
  'model_num': 161,
  'version_num': 24},
 {'firmware_date': datetime.date(2021, 1, 15),
  'id': '18B905C93F61',
  'ipaddr': '192.168.210.65',
  'model': 'AK001-ZJ2145',
  'model_description': 'RGBW Controller',
  'model_info': 'ZG-BL-IR',
  'model_num': 6,
  'version_num': 9},
 {'firmware_date': datetime.date(2021, 2, 4),
  'id': 'B4E842E10588',
  'ipaddr': '192.168.214.252',
  'model': 'AK001-ZJ2145',
  'model_description': 'RGB Controller with MIC',
  'model_info': 'ZG-BL',
  'model_num': 8,
  'version_num': 21},
 {'firmware_date': datetime.date(2021, 5, 20),
  'id': '7CB94C95A661',
  'ipaddr': '192.168.211.220',
  'model': 'AK001-ZJ2148',
  'model_description': 'RGB Symphony 3',
  'model_info': 'ZG-BL-5V',
  'model_num': 163,
  'version_num': 39},
 {'firmware_date': datetime.date(2021, 1, 6),
  'id': 'B4E842279C2A',
  'ipaddr': '192.168.214.215',
  'model': 'AK001-ZJ2146',
  'model_description': 'RGBCW Controller',
  'model_info': 'ZG-BL',
  'model_num': 7,
  'version_num': 6}]
codecov-commenter commented 2 years ago

Codecov Report

Merging #168 (0fd4354) into master (bceb604) will decrease coverage by 0.24%. The diff coverage is 40.50%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #168      +/-   ##
==========================================
- Coverage   55.02%   54.78%   -0.25%     
==========================================
  Files          16       16              
  Lines        2068     2132      +64     
==========================================
+ Hits         1138     1168      +30     
- Misses        930      964      +34     
Impacted Files Coverage Δ
flux_led/aioscanner.py 0.00% <0.00%> (ø)
flux_led/scanner.py 30.30% <34.84%> (+6.55%) :arrow_up:
flux_led/models_db.py 94.73% <50.00%> (-5.27%) :arrow_down:
flux_led/const.py 100.00% <100.00%> (ø)

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 bceb604...0fd4354. Read the comment docs.