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
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.
- Reboot.
both sensors are still there

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.