How to remove entities without a unique_id? Where are they?

I had the same issue after creating an entity with the REST api. I was able to remove this by posting a DELETE event:

curl -X DELETE -H "Authorization: Bearer $TOKEN" https://your-homeassistant.example.com/api/states/sensor.example

More about the REST api in the docs, although this delete action is not mentioned there: REST API | Home Assistant Developer Docs

10 Likes