I am creating some entities via the REST API, by setting its state, via
POST /api/states/sensor.my_entity
{
"state": "oh yeah"
}
The entity is created (return code 201
) and its state is correct.
It cannot be edited via the UI, though, because it lacks a unique ID.
How can I provide one? (either via an explicit creation or by adding something to the call).
Or, in other words: how can I create entities via the API, that would be editable through the UI?
1 post - 1 participant