{
"locations": [
{
"name": "My Home",
"address": {
"housenumber": "3",
"country": "abc",
},
"rooms": [
{
"name": "room1",
"appliances": [
{
"name": "device1",
"config": {
"thresholds": [
{
"quantity": "temperature",
"type": "min"
}
]
},
"data_latest": {
"measurement": {
"temperature": 15.5,
"humidity": 72,
"battery": 60,
}
}
}
],
},
{
"name": "room2",
"appliances": [
{
"name": "device2",
"config": {
"thresholds": [
{
"quantity": "temperature",
"type": "min"
},
]
},
"data_latest": {
"measurement": {
"temperature": 15.5,
"humidity": 72,
"battery": 60,
}
}
}
]
},
{
"name": "room3",
"appliances": [
{
"name": "device3",
"config": {
"thresholds": [
{
"quantity": "temperature",
"type": "min"
},
]
},
"data_latest": {
"measurement": {
"temperature": 15.5,
"humidity": 72,
"battery": 60,
}
}
}
]
},
{
"name": "room4",
"appliances": [
{
"name": "device4",
"config": {
"thresholds": [
{
"quantity": "temperature",
"type": "min"
},
]
},
"data_latest": {
"measurement": {
"temperature": 15.5,
"humidity": 72,
"battery": 60,
}
}
}
]
}
]
}
]
}