DarwinsBuddy / WienerNetzeSmartmeter

A home-assistant integration supporting WienerNetze Smartmeters as sensors
121 stars 12 forks source link

Bugfix/verbrauch #206

Closed reox closed 5 months ago

reox commented 6 months ago

go back to verbrauch for 24h hourly data. Clean up the API calls a bit.

reox commented 6 months ago

I remove the dateTo from the function, because it is not required (anymore?). But where is that still defined in the test?

codecov[bot] commented 5 months ago

Codecov Report

Attention: 11 lines in your changes are missing coverage. Please review.

Comparison is base (821b76d) 29.33% compared to head (1c86080) 29.42%.

Files Patch % Lines
custom_components/wnsm/statistics_sensor.py 0.00% 7 Missing :warning:
custom_components/wnsm/api/client.py 33.33% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #206 +/- ## ========================================== + Coverage 29.33% 29.42% +0.08% ========================================== Files 12 12 Lines 658 656 -2 Branches 111 110 -1 ========================================== Hits 193 193 + Misses 455 454 -1 + Partials 10 9 -1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.