azogue / aiopvpc

Simple aio library to download Spanish electricity hourly prices (PVPC) from esios.ree.es
MIT License
42 stars 10 forks source link

Fix HA state and attributes after #14 #15

Closed azogue closed 3 years ago

azogue commented 3 years ago

Follow up of #14, fixing a bug introduced there related to the "state" and "attributes" for the PVPC sensor in Home Assistant

codecov-commenter commented 3 years ago

Codecov Report

Merging #15 (9ee3bf1) into master (408fbb7) will increase coverage by 0.59%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master       #15      +/-   ##
===========================================
+ Coverage   99.40%   100.00%   +0.59%     
===========================================
  Files           3         3              
  Lines         169       174       +5     
  Branches       30        32       +2     
===========================================
+ Hits          168       174       +6     
+ Misses          1         0       -1     
Impacted Files Coverage Δ
aiopvpc/pvpc_download.py 100.00% <ø> (+4.16%) :arrow_up:
aiopvpc/pvpc_data.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 408fbb7...9ee3bf1. Read the comment docs.