muppet3000 / homeassistant-growatt_server_api

Home Assistant Integration for Growatt - Upstream repo for the growatt_server integration that is part of the Core Home Assistant repository
MIT License
52 stars 6 forks source link

Battery charge/discharge today can't be used on the Energy Dashboard #34

Closed xhemp closed 1 year ago

xhemp commented 1 year ago

I posted this on the HA thread (Roadmap) but I think it's better suitable here than there. I am trying to refrain from using the grott_ha.py and only use this integration but HA doesn’t allow me to use the battery_charged_today and battery_discharged_today on the energy dashboard. I am just wondering if it’s because their state_class are set to TOTAL instead of TOTAL_INCREASING as the ones that being used on the grott_ha.py ?

Device(s): SPA3000

muppet3000 commented 1 year ago

Ignore Grott HA, use this instead: https://github.com/muppet3000/homeassistant-grott

Let me know how you get on, I'm trying to steer everyone towards that instead.

xhemp commented 1 year ago

Ahh, that's the one I am using! :) I can open this issue there instead of here, though, let me know.

muppet3000 commented 1 year ago

I recommend taking a read of this discussion: https://github.com/muppet3000/homeassistant-grott/issues/16

If you used the egguy add-on to install grott you're almost certainly seeing the same issue as snux.

Assuming you're seeing the same issues let's continue the discussion over there and close this one off as it's not related to this integration.

xhemp commented 1 year ago

I am looking at this (it looks like it's the same issue and if not exactly the same, very similar) and see if I could figure it out, will update if I do (or don't!), thanks for the help! I will close this one and update the one Snux opened.