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.8k stars 30.5k forks source link

Cannot choose "Use an entity with current price" with the Duke Energy integration #129031

Open franc6 opened 3 days ago

franc6 commented 3 days ago

The problem

I'm not sure if this is a problem with the integration, with the Energy dashboard setup, or somewhere in the internals of HA.

I added the Duke Energy integration, then added its statistics as "consumption" under "Electricity Grid" in the settings for the Energy dashboard. When adding the integration, or when editing its consumption entry, I see 4 radio buttons related to pricing information. The first two are enabled, but the last two are disabled. I do have entity that provides current pricing info, and I've been able to use that with individual devices which had been configured under "consumption" in the same place.

I realize the Duke Energy integration provides usage a couple of days behind, but the pricing statistics should still be available (I think!), so it should be possible for HA to combine the statistics from both sources, and show energy costs. I use the OpenEI integration (https://github.com/firstof9/ha-openei, not part of HA core) for pricing information.

What version of Home Assistant Core has the issue?

core-2024.10.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

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?

No response

Additional information

No response

home-assistant[bot] commented 3 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)