funzie19 / hubitat-solaredge

Hubitat driver to query the Solaredge API for inverter metrics
GNU General Public License v3.0
3 stars 4 forks source link

Fix the number of decimals in formatEnergy #1

Closed moshjeier closed 4 years ago

moshjeier commented 4 years ago

I was finding the level of detail to be kind of overkill (13.123434985905 mwh as an example). This change makes sure there are only 2 decimal points after the whole number to make it work better in the dashboard.