wasilukm / hoymiles_modbus

MIT License
12 stars 4 forks source link

Again fix handling modbus exceptions. #5

Closed wasilukm closed 2 years ago

wasilukm commented 2 years ago

Improper handling of pymodbus errors resulted in "IndexError: list assignment index out of range" exceptions

codecov-commenter commented 2 years ago

Codecov Report

Merging #5 (5362cb3) into main (1410963) will increase coverage by 2.32%. The diff coverage is n/a.

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   93.44%   95.76%   +2.32%     
==========================================
  Files           3        3              
  Lines         122      118       -4     
  Branches       16       16              
==========================================
- Hits          114      113       -1     
+ Misses          5        2       -3     
  Partials        3        3              
Impacted Files Coverage Δ
hoymiles_modbus/client.py 91.80% <ø> (+4.11%) :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 1410963...5362cb3. Read the comment docs.