So, I worked out that I was still running on Resin OS so performed a full backup of Home Assistant and then rebuilt the SD card on HassOS. I am running on a RPi3B.
When I then restored the backup, I could not get any data in history graphs. I found an article that advised the delete the home-assistant_v2.db to fix this. It worked and all looked to be working nicely.
I have since found that all of the entities present in the UI state “This entity does not have a unique ID, therefore its settings cannot be managed from the UI.”
I cannot work out how on earth to give them a unique ID again. Can anyone help?
I had this the other day trying to change an entity_id. After restart the entity_id had actually been changed. I guess it’s a bug in a recent version but I haven’t looked at it any further.
What entities are you talking about ? Not all entities generate a unique id. About half of my entities have, the other half does not. It depends on the type of integration, and even then.
I have the error for a Bosch Indego robot lawnmower, some MyStrom smart plugs, an Enlighten solar envoy, all sorts. Even the weather entity has it.
It seems to be everything that I restored. I have recreated a few items and they are fine. I really can’t be recreating them all. I might as well start from scratch.
I wonder if it is indeed a bug and the timing of my restore is a red herring…
No idea if it was the same reason, but I had the same error after the upgrade last week. Entities added before the upgrade were fine, but every new entity was throwing the error. I ended up rebuilding from a custom Docker install to the regular HassOS install (for other reasons), and the problem didn’t return.
I realize that’s not a satisfying answer, but maybe it will help someone track down a bug, if it is one.