hesselonline / wallbox

MIT License
23 stars 8 forks source link

added charge to be showed in the HA Energy tab #14

Open dum-skywalker opened 2 years ago

dum-skywalker commented 2 years ago

In the Energy tab I don't find the wallbox charge as a data source. I'd like to add my: sensor.wallbox_portal_added_energy And it states the following. Is there something I'm doing wrong? Thanks image

hesselonline commented 2 years ago

Hi, the answer to this question differs whether you are using the custom component (for which this is the github repo) or the out-of-the-box one. Basically, I included it in the ootb version (since the end of last year somewhere) but it doesn't work for the custom version.

dum-skywalker commented 2 years ago

what do you mean with "out-of-the-box"? the official integration? I have both installed, the wallbox integration and the custom component, as long as I wanted to be able to lock and unlock with home assistant. I built an automatization to start pumping energy as soon as connect to the car. Does it make sense?

lancer73 commented 2 years ago

You can use only one of them. If you install the HACS version, you render the official built in integration defunct and then the statistics wont work.

What you can do is to customize the Wallbox entities (add device_class: energy and state_class: total_increasing).