-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would GRID_TOTAL_ENERGY_USED be better as MWh #97
Comments
Just checked HA core const file. MWh is a valid unit for sensors. So in theory we could change it. |
Surely these would only affect the energy dashboard if you used it as the sensor for one of the things it measures, and as you say using the daily one is much more useful in that situation. Changing it would probably muck up the history though. It just seemed to me that some of these life sensors are easily going to be MW, in the space of 2 months I'm at 1.1 MW for GRID_TOTAL_ENERGY_USED, and probably even GW within the lifespan of the inverter. |
Energy dash refuses to consume from a sensor with values with different units. |
Seems to me that putting this in kWh for something that is a lifetime total is probably too small a scale and it might be better as MWh, the same could be said for INVERTER_ENERGY_TOTAL_LIFE, BAT_TOTAL_ENERGY_CHARGED, and BAT_TOTAL_ENERGY_DISCHARGED ?
Thoughts ?
The text was updated successfully, but these errors were encountered: