smi
December 15, 2021, 7:55am
1
Hi!
Unfortunately the sensor name of my fronius inverter for the total “produced energy” seemed to change it’s name after the latest upgrade.
I now added the new sensor but unfortunately, I can not remove the old ones as there is no edit icon:
Any idea?
Thanks
farmio
(Matthias Alphart)
December 15, 2021, 8:42am
2
Oh thats unfortunate.
The old Fronius integration didn’t provide any unique_ids so this entity was never added to the entity_registry. Upside of this is you can probably just define template sensor with the same entity_id, remove the entity from the energy configuration and delete the template sensor again.
I’m not 100% sure if this works or maybe there is a better way, but I guess this will do.
Anyway I think this is a UX bug and you should probably raise an issue at Issues · home-assistant/core · GitHub targeting the energy
integration (not Fronius as this could happen with any other sensor without unique_id).
smi
December 15, 2021, 9:08am
3
Thanks, creating a template sensor to be able to remove it worked.
Also created an issue on github
opened 09:07AM - 15 Dec 21 UTC
### The problem
When an entity is not available anymore (for example if the ent… ity got removed and didn't have a unique_id), it can not be removed from the energy configuration.
Happened to me after upgrading to the latest Fronius integration which removed the sensor "inverter total energy" / created some new one for that.
See https://community.home-assistant.io/t/energy-can-not-remove-undefined-entity/367158
### What version of Home Assistant Core has the issue?
2021.12.1
### 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
energy
### Link to integration documentation on our website
_No response_
### Example YAML snippet
_No response_
### Anything in the logs that might be useful for us?
_No response_
### Additional information
See https://community.home-assistant.io/t/energy-can-not-remove-undefined-entity/367158
1 Like
GaryHA
(Gary)
December 17, 2021, 7:09am
4
It looks like AC voltage has been removed. Is it the same for others?
We have high voltage and I really like seeing it in Home Assistant.
farmio
(Matthias Alphart)
December 17, 2021, 9:51am
5
If you refer to the Fronius integration: some entities are deactivated by default. you can reactivate them in the devices menu
1 Like
I had this same problem. I was able to zoom in my web browser and HA’s UI scaled up and I could press the delete button like normal.