WT000 / New-Forest-Energy

A mobile-friendly webapp for easy tracking of home energy usage.
https://new-forest-energy.vercel.app
GNU General Public License v3.0
0 stars 0 forks source link

Jo bug/#178 home average per day #184

Closed jorandall closed 1 year ago

jorandall commented 1 year ago

Added check for average energy cost per day on homes dashboard, and makes it 0 if a negative number

Closes #178

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
new-forest-energy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 24, 2023 7:49am
WT000 commented 1 year ago

As spotted by Steven, it may be worth multiplying averagePerDay by the tariff (once the 0 check is done) as it's currently representing the kWh instead of the cost.

jorandall commented 1 year ago

Closes #189