-
-
Notifications
You must be signed in to change notification settings - Fork 92
ValueError: Config entry central (...) for ocpp.sensor has already been setup! #1620
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
Comments
I managed to get the integration working again yesterday without fixing the underlying problem. I had an EVBox Elvi that also had a simcard and I disabled it. I no longer see the error so I believe it is related to when it has connectivity issues and cannot recover. I believe there is still a bug that needs to be addressed, but it could be that the exception happens as consequence of something different than what I originally thought |
I think you need to delete occp central entry and create is as another name. |
I have the same issue.. |
Maybe this correlates with this: home-assistant/core#116482 |
Describe the bug
A clear and concise description of what the bug is.
When starting the integration I get
Logger: homeassistant.config_entries
Source: config_entries.py:751
First occurred: 9:33:43 PM (12 occurrences)
Last logged: 9:53:38 PM
Error setting up entry central for button
Error setting up entry OCPP Host for sensor
Error setting up entry OCPP Host for switch
Error setting up entry OCPP Host for number
Error setting up entry OCPP Host for button
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 751, in __async_setup_with_context
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 97, in async_setup_entry
return await hass.data[DATA_COMPONENT].async_setup_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 182, in async_setup_entry
raise ValueError(
...<2 lines>...
)
ValueError: Config entry central (...) for ocpp.sensor has already been setup!
To Reproduce
Steps to reproduce the behavior:
Additional context
Add any other context about the problem here.
Some times it seems to work to reboot HA and the charger but then after some hours usually 8 hours or so it fails again
The text was updated successfully, but these errors were encountered: