Skip to content
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

Cost tracker stops tracking if underlying entity id is changed #825

Open
2 tasks done
BottlecapDave opened this issue Apr 7, 2024 · 1 comment
Open
2 tasks done
Assignees
Labels
bug Something isn't working

Comments

@BottlecapDave
Copy link
Owner

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

  • I confirm that I cannot find my solution within the documentation
  • I confirm that I cannot find my solution within the FAQ
@BottlecapDave BottlecapDave added the bug Something isn't working label Apr 7, 2024
@BottlecapDave BottlecapDave self-assigned this Apr 7, 2024
Copy link
Contributor

github-actions bot commented May 8, 2024

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 github-actions bot added the stale The issue has not had any activity for a while label May 8, 2024
@BottlecapDave BottlecapDave removed the stale The issue has not had any activity for a while label May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant