Would be nice if a REST call that give an Array back could automagically create the Entities based on a template :
As an example the following JSON could have been returned:
{
"entries": [
{
"uuid": "20dee5fdad419220a61741b8f454ca5b",
"name": "room1",
"temp": 18.7,
"hum": 45,
"signal": 0
},
{
"uuid": "7f27f3f418395a3ac803bc3c98abd863",
"name": "room2",
"temp": 21.3,
"hum": 55,
"signal": 0
},
{
"uuid": "dbb5b1ed5aad31dfc79641b0e2b1f8af",
"name": "room3",
"temp": 19.9,
"hum": 58,
"signal": 0
},
],
"totalCount": 3
}
And three devices would be created with the entities