HomeAssistant-OctopusEnergy icon indicating copy to clipboard operation
HomeAssistant-OctopusEnergy copied to clipboard

Cost tracker stops tracking if underlying entity id is changed

Open BottlecapDave opened this issue 1 year ago • 2 comments

Describe the bug

If you change the id of the entity the cost tracker is tracking, then the cost tracker will stop tracking the cost

Reproduction steps

  1. Setup a cost tracker
  2. Update the entity id of the specified entity but don't update the config
  3. Have the tracked entity value change

Expected behaviour

The cost tracker should continue tracking the entity.

It looks like other integrations within HA achieve this by listening for the entity registry, then updating the config and reloading the entry.

Tariff Code

N/A

Integration Version

10.2.0

Home Assistant Version

2024.4.1

Fresh Install?

Not specified

Home Assistant Logs

NA

Confirmation

  • [X] I confirm that I cannot find my solution within the documentation
  • [X] I confirm that I cannot find my solution within the FAQ

BottlecapDave avatar Apr 07 '24 05:04 BottlecapDave

This issue has become stale because it has been open for 30 days with no activity. If you still think it's an issue, please respond soon.

github-actions[bot] avatar May 08 '24 01:05 github-actions[bot]

This issue has become stale because it has been open for 30 days with no activity. If you still think it's an issue, please respond soon.

github-actions[bot] avatar Jun 08 '24 01:06 github-actions[bot]

This issue has become stale because it has been open for 30 days with no activity. If you still think it's an issue, please respond soon.

github-actions[bot] avatar Jul 11 '24 01:07 github-actions[bot]

This issue has been closed because it has been inactive for 14 days since being marked as stale. This is done to help keep on top of active issues. If you still think it's an issue, please respond to this issue

github-actions[bot] avatar Jul 25 '24 01:07 github-actions[bot]