home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.69k stars 30.44k forks source link

Duke Energy Unknown error occurred during setup. #128414

Open ghvader opened 6 days ago

ghvader commented 6 days ago

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

home-assistant[bot] commented 6 days ago

Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration (duke_energy) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `duke_energy` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign duke_energy` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


duke_energy documentation duke_energy source (message by IssueLinks)