-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
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
Duke Energy Unknown error occurred during setup. #128414
Comments
Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) duke_energy documentation |
EDIT: after re-adding, took about 5-10 minutes but data eventually showed up in the energy dashboard, so my problem might not be related to the original ticket. Sorry about the noise. This morning I noticed my energy dashboard had no data for Duke for the past 3 days, so I tried to refresh the integration and got the same "Unknown error occurred" (see log below). When it finished refreshing, the integration showed "no entities", so I removed and re-added. Adding worked without issues, but I continue without any entities.
|
I just tried setting up the integration on my Duke account and received the following initialization issues that resulted in a similar failure. It seems the integration isn't quite robust enough to handle the possible responses from the API. Logger: homeassistant.components.duke_energy.coordinator Unexpected error fetching Duke Energy data |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. |
The problem
When adding the duke energy integration It says "initializing" Then shows above the login "Unknown error occurred" and in the integrations window is says "Failed to setup"
If I try to hit submit again after this failure, the message says "invalid flow specified"
I am able to log into duke-energy.com with my credentials. and I do see energy data displayed for my account.
I do have an electric meter as required.
What version of Home Assistant Core has the issue?
core-2024.10.2
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant Container
Integration causing the issue
duke_energy
Link to integration documentation on our website
https://www.home-assistant.io/integrations/duke_energy/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
The only results from the log file that appear to be some what useful is the "ignore[union-attr] the rest are get this result=await whatever it was trying to get. File "/usr/local/lib/python3.12/site-packages/aiohttp/client_reqrep.py", line 1022, in start message, payload = await protocol.read() # type: ignore[union-attr] ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/aiohttp/streams.py", line 643, in read await self._waiter asyncio.exceptions.CancelledError
Additional information
No response
The text was updated successfully, but these errors were encountered: