ssenart / lovelace-gazpar-card

GrDF Gazpar meter lovelace card for Home Assistant
MIT License
7 stars 2 forks source link

[Bug] Fix the way how trend ratio is computed #12

Closed ssenart closed 1 year ago

ssenart commented 1 year ago

Fix the way how trend ratio is computed: formula = (currentPeriodKWh - previousPeriodKWh) / previousPeriodKWh