core/tests/components/qbus/fixtures/payload_config.json

107 lines
2.4 KiB
JSON

{
"app": "abc",
"devices": [
{
"id": "UL1",
"ip": "192.168.1.123",
"mac": "001122334455",
"name": "",
"serialNr": "000001",
"type": "Qbus",
"version": "3.14.0",
"properties": {
"connectable": {
"read": true,
"type": "boolean",
"write": false
},
"connected": {
"read": true,
"type": "boolean",
"write": false
}
},
"functionBlocks": [
{
"id": "UL10",
"location": "Living",
"locationId": 0,
"name": "LIVING",
"originalName": "LIVING",
"refId": "000001/10",
"type": "onoff",
"variant": [null],
"actions": {
"off": null,
"on": null
},
"properties": {
"value": {
"read": true,
"type": "boolean",
"write": true
}
}
},
{
"id": "UL15",
"location": "Media room",
"locationId": 1,
"name": "MEDIA ROOM",
"originalName": "MEDIA ROOM",
"refId": "000001/28",
"type": "analog",
"actions": {
"off": null,
"on": null
},
"properties": {
"value": {
"max": 100,
"min": 5,
"read": true,
"step": 0.1,
"type": "number",
"write": true
}
}
},
{
"id": "UL20",
"location": "Living",
"locationId": 0,
"name": "LIVING TH",
"originalName": "LIVING TH",
"refId": "000001/120",
"type": "thermo",
"actions": {},
"properties": {
"currRegime": {
"enumValues": ["MANUEEL", "VORST", "ECONOMY", "COMFORT", "NACHT"],
"read": true,
"type": "enumString",
"write": true
},
"currTemp": {
"max": 35,
"min": 0,
"read": true,
"step": 0.5,
"type": "number",
"write": false
},
"setTemp": {
"max": 35,
"min": 0,
"read": true,
"step": 0.5,
"type": "number",
"write": true
}
}
}
]
}
]
}