Entities and hass.io, where are they stored?

I’m struggling to understand where entity_id information is stored.

I’m using hass.io on a synology box running docker as detailed in my other post ( Sonoff TH, Hass.io, mqtt, duplicate entity id’s and missing data ). But since most things have been automagically discovered, my configurations.yml file is pretty empty. And there’s nothing there for the devices I need to fix.

Where should I look and any help appreciated

Developer Tools -> States page will contain all entities on the system.

But that doesn’t have the entity_id that is duplicated. Everything here is unique. An example is sun.sun. It’s not even something I’ve entered and it’s saying even that is not unique, and as far as I know, we only have one sun! Lol (ok, bad dad humour there)

The error for the sun:

SUN

SETTINGS

RELATED

THIS ENTITY DOES NOT HAVE A UNIQUE ID, THEREFORE ITS SETTINGS CANNOT BE MANAGED FROM THE UI.

Well you didn’t mention anything about duplicate entity_id’s.

There’s another section to view entities. Configuration -> Entities.

As for the sun, you won’t be able to manage anything with it. The integration doesn’t allow you to rename the entity btw.

What exactly are you trying to do?

Not having a unique ID isn’t the same as having duplicate ID. See https://www.home-assistant.io/docs/configuration/customizing-devices/#changing-the-entity_id