Cost tracker stops tracking if underlying entity id is changed
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
- Setup a cost tracker
- Update the entity id of the specified entity but don't update the config
- 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
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.
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.
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.
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