kellerza / pysma

Async library for SMA Solar's WebConnect interface
MIT License
59 stars 51 forks source link

Set value None to 0 if we have a path #89

Closed rklomp closed 2 years ago

rklomp commented 2 years ago

Fixes: home-assistant/core#59819

codecov[bot] commented 2 years ago

Codecov Report

Merging #89 (9def736) into master (4f3f18f) will decrease coverage by 0.23%. The diff coverage is 50.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##            master      #89      +/-   ##
===========================================
- Coverage   100.00%   99.76%   -0.24%     
===========================================
  Files            6        6              
  Lines          423      419       -4     
===========================================
- Hits           423      418       -5     
- Misses           0        1       +1     
Impacted Files Coverage Δ
pysma/sensor.py 98.88% <50.00%> (-1.12%) :arrow_down:
pysma/const.py 100.00% <0.00%> (ø)
pysma/__init__.py 100.00% <0.00%> (ø)
pysma/definitions.py 100.00% <0.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 4f3f18f...9def736. Read the comment docs.