Skip to content
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

Cannot add integration more than once #19

Open
bslefevre opened this issue Apr 27, 2022 · 4 comments
Open

Cannot add integration more than once #19

bslefevre opened this issue Apr 27, 2022 · 4 comments

Comments

@bslefevre
Copy link

bslefevre commented Apr 27, 2022

After updating to the latest version which fixes the description bug (introduced by the Wallbox API) I cannot use both accounts on 1 Charger anymore.

The entities where acting funny (not working/gone) after updating so I've removed both of the integrations.

Now I'm re-adding the integration and it works the first time, but when I'm trying to add the second account with the same serialnumber (which worked fine before) i says:
image

I'm using 2 accounts to unlock the Wallbox with the corresponding EV. My car needs to be declared to my employer and my wife's car not

Am I doing something wrong or is this an issue introduced since the latest version?

Additional info:

  • HASS version: core-2022.4.1
  • Raspi 4
  • Python v3.9.10
@hesselonline
Copy link
Owner

Hi, yes this is by design, also the way that HomeAssistant integrations are supposed to work (define uniqueness of a device). What is exactly your usecase here for adding it two times?

@bslefevre
Copy link
Author

I'm using 2 accounts to unlock the Wallbox with the corresponding EV. My car needs to be declared to my employer and my wife's car not

Is there a way to work around this feature? It worked like a dream before

@hesselonline
Copy link
Owner

And the wallbox uses the unlock account to allocate the cost differently? I'm trying to determine if it is some thing the integration should be supporting. Dont have a Quick fix btw

@bslefevre
Copy link
Author

Yes, well not the costs but for the reporting afterwards
When you unlock the Wallbox with account A you can export all the charges being activated by account A.
This comes in really handy when you need to declare all the costs from a specific account but not another account

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants