Sese-Schneider / ha-energy-overview-card

A simple card which displays energy usage details of one or multiple entities.
MIT License
53 stars 1 forks source link

Invert sensor for Goodwe inverter? #16

Closed TommySharpNZ closed 1 year ago

TommySharpNZ commented 1 year ago

When I'm using 100 watts from the grid my Goodwe sensor output -100w so the flow on this card is the wrong way round. Could you add an option to invert the sensor?

Sese-Schneider commented 1 year ago

I'll add an option to invert the animation 👍🏼

ChristophCaina commented 1 year ago

thanks :) That's also valid for SolarEdge Inverters - and probably for many others as well 👍

Sese-Schneider commented 1 year ago

Hi @TommySharpNZ @ChristophCaina, Your requested feature is now available in the latest release! Thank you for your patience.

ChristophCaina commented 1 year ago

i've added the inverted: true option - but the animation does not change... ?

Sese-Schneider commented 1 year ago

@ChristophCaina care to share your config with me please? Please also make sure to do a fresh reload of HA, the caching is very aggressive. (you can see the installed version in the JS console)

ChristophCaina commented 1 year ago

ok, seems to be a caching issue ... tried with Edge (even after restart and ctrl+f5) which did not help... while on Edge it seems to be working as expected.