Hi,
my HA shows sensor named sensor.bedroom_2_thermometer_battery
as Unknown. I can’t delete it from UI because it gives me the blurb about not having unique something or other.
Thing is this sensor does not exist in any of the HA files apart from the database. Running
sudo grep -r "sensor.bedroom_2_thermometer_battery" .
only returns:
Binary file ./data/home-assistant_v2.db-wal matches
Binary file ./data/home-assistant_v2.db matches
Destroying the container, deleting the database then confirms the string does not exist within any of the files, however on recreating the container the sensor is still present and still only in the database files.
How can I find out where this entity comes from and more importantly delete it?