Home Assistant’s REST API documentation shows that you can create an entity and update the state of the entity with just one HTTP POST request to URL POST
/api/states/<entity_id>. This works to mostly, but the entities created are lacking “unique id”, which prevents e.g. renaming them from the UI.
I suppose I would need to register the entity somehow, but the REST API documentation does not seem to contain any information on that topic. I would be happy if someone could point me to right direction. Basically, I’m looking a way to create an entity by using the REST API, so that it would be a fully fledged entity. Is that even possible with just REST API?