HELP,HELP,HELP Delete duplicate entities

Now I really have to vent my frustration.

HA is REALLY great on the one hand.
On the other hand, it’s stupid.

Who came up with that shit with _2?

I’ll try to write a new template.
first with unquid_id.
later removed, because reloading the YAML configurations always gave a double ID error.

so far ok. But now a new sensor was created by HA.
_2
grafik

I cannot delete this anywhere.

I can see it under “states”.
but not under “Statistics”. So I can’t delete it either.

Not even the hard way.

grafik

  • Reboot.
    both sensors are still there


grafik

SET FOREIGN_KEY_CHECKS = 0;
Obviously not implemented.

Before I burst here I’d better call it a day.
Maybe one of you has an idea.

1 Like

no answers sorry, only some rants to say that having half on sql and half on yaml isn’t a great thing!!!
We are able to assign unique ids to entities, so wth they should automagically assigned from names?
If we do it wrong, home assistant could tell us!!!
Also entity id (on sql) and unique id (on yaml) is misleading with no key to relate them (theres an id attribute in yaml that I didn’t figure out what’s the purpose!)

1 Like