reptilex / tesla-style-solar-power-card

Home assistant power card mimicking the one tesla provides for the powerwall app.
210 stars 59 forks source link

How to Calculate and Display Home Energy Usage in house_extra_entity #149

Open ziptbm opened 1 year ago

ziptbm commented 1 year ago

This isn't an issue, but rather a request that hopefully someone with a Powerwall using this sensor could help with - How do you accurately create a sensor that shows current daily home energy usage from a Tesla Powerwall to use in the house_extra_entity field?

I've had a Utility Meter sensor configured with sensor.powerwall_load_import as the source and it's been generally accurate, but I've noticed that on high production days, the number gets over inflated. And what's really strange is that the history on sensor.powerwall_load_import from the previous midnight to the current time calculates to a match of what is reported in the Tesla app, but for some reason this Utility Meter is ridiculously inflated...despite using that sensor as the source. I've posted some more information about this here in the community forums.

So, has anyone found a solution that works to show what the current daily house usage is that resets daily?