Dynamic Energy Cost

i reccomend to just change the entity id back to what it was. So all your other stuff that used Nordpoo works as well. This Nordpool naming is pretty bad to be honest.

I follow this threat.
Last august Iā€™ve also created a feature request:

In my specific case, my Vehicle charger was defect and it was switched. My entity has been changed in HA and the Entity ID in the app couldnā€™t be changed. Iā€™ve configured it again, but my history has been lost now.

I hope there should be a nice feature available to have a way to change the value without loosing history.

How to keep history when replacing a device has been discussed before and there are suggested sullitions for this. I have not tried them myself, but i would create a new backup before testing this. Take a look at this thread: Replace entities and keep history (BREAKING CHANGE starting HA Core 2023.4) - #4 by e-raser

The entity changed the name because the source and the integration that uses this source gave it a new name. It is not possible for me to change the entity id back.

Hi All!

Iā€™m sorry I havenā€™t maintained the integration for a while. Unfortunately canā€™t promise to have time in the near future as well.

Few recommendations so you arenā€™t so dependable of the integration logic:

  • If you have enegy (kwh) sensor, use this. Only if you donā€™t have, use power (W) sensor. Reason is that the energy calculations are more precice
  • Make a sensor with my integration and make unlimited amount of HAUtility Meter sensors for different periods you would like (all time, hourly, daily, two days, whatever you like).

I have seen all the ideas and request here and github, but just donā€™t have what it takes to implement these.

iā€™m really thrilled that so many people found something, I thought was only my need , so useful. Now I feel a bit bad letting you all down not maintaining what I started. If anybody is interested in contributing and doing what needs to be done, I would gladly give all permissions in github to continue what i started. I mean, this is what opensource sould be in my view.

In my opinion this functionality is something that would be nice to see in Home Assistant core. It would make so much sense to have a cost/profit side in the energy management.

2 Likes

Maybe you found a solution already, but for showing previous data I use the history-explorer-card integration:
https://github.com/SpangleLabs/history-explorer-card

I had the same situation and I just found it. The config is in /config/.storage/core.config_entries

If you search for ā€œelectricity_price_sensorā€ you will find your configs with your current sensor for pricing. I replaced it with new one and restarted HA and it looks okā€¦