core/tests/fixtures/homekit_controller/aqara_switch.json

209 lines
7.2 KiB
JSON

[
{
"aid": 1,
"services": [
{
"characteristics": [
{
"format": "bool",
"iid": 65537,
"perms": [
"pw"
],
"type": "00000014-0000-1000-8000-0026BB765291"
},
{
"ev": false,
"format": "string",
"iid": 65538,
"perms": [
"pr"
],
"type": "00000020-0000-1000-8000-0026BB765291",
"value": "Aqara"
},
{
"ev": false,
"format": "string",
"iid": 65539,
"perms": [
"pr"
],
"type": "00000021-0000-1000-8000-0026BB765291",
"value": "AR004"
},
{
"ev": false,
"format": "string",
"iid": 65540,
"perms": [
"pr"
],
"type": "00000023-0000-1000-8000-0026BB765291",
"value": "Programmable Switch"
},
{
"ev": false,
"format": "string",
"iid": 65541,
"perms": [
"pr"
],
"type": "00000030-0000-1000-8000-0026BB765291",
"value": "111a1111a1a111"
},
{
"ev": false,
"format": "string",
"iid": 65542,
"perms": [
"pr"
],
"type": "00000052-0000-1000-8000-0026BB765291",
"value": "9"
},
{
"ev": false,
"format": "string",
"iid": 65543,
"perms": [
"pr"
],
"type": "00000053-0000-1000-8000-0026BB765291",
"value": "1.0"
}
],
"hidden": false,
"iid": 1,
"linked": [],
"primary": false,
"stype": "accessory-information",
"type": "0000003E-0000-1000-8000-0026BB765291"
},
{
"characteristics": [
{
"ev": false,
"format": "string",
"iid": 262146,
"perms": [
"pr"
],
"type": "00000023-0000-1000-8000-0026BB765291",
"value": "Programmable Switch"
},
{
"ev": false,
"format": "uint8",
"iid": 262147,
"maxValue": 2,
"minStep": 1,
"minValue": 0,
"perms": [
"pr",
"ev"
],
"type": "00000073-0000-1000-8000-0026BB765291",
"valid-values": [
0,
1,
2
],
"value": null
},
{
"ev": false,
"format": "uint8",
"iid": 262148,
"maxValue": 255,
"minStep": 1,
"minValue": 1,
"perms": [
"pr"
],
"type": "000000CB-0000-1000-8000-0026BB765291",
"value": 1
}
],
"hidden": false,
"iid": 4,
"linked": [],
"primary": true,
"stype": "stateless-programmable-switch",
"type": "00000089-0000-1000-8000-0026BB765291"
},
{
"characteristics": [
{
"ev": false,
"format": "string",
"iid": 327682,
"perms": [
"pr"
],
"type": "00000023-0000-1000-8000-0026BB765291",
"value": "Battery Sensor"
},
{
"ev": true,
"format": "uint8",
"iid": 327683,
"maxValue": 100,
"minStep": 1,
"minValue": 0,
"perms": [
"pr",
"ev"
],
"type": "00000068-0000-1000-8000-0026BB765291",
"unit": "percentage",
"value": 100
},
{
"ev": true,
"format": "uint8",
"iid": 327685,
"maxValue": 1,
"minStep": 1,
"minValue": 0,
"perms": [
"pr",
"ev"
],
"type": "00000079-0000-1000-8000-0026BB765291",
"valid-values": [
0,
1
],
"value": 0
},
{
"ev": true,
"format": "uint8",
"iid": 327684,
"maxValue": 2,
"minStep": 1,
"minValue": 0,
"perms": [
"pr",
"ev"
],
"type": "0000008F-0000-1000-8000-0026BB765291",
"valid-values": [
0,
1,
2
],
"value": 2
}
],
"hidden": false,
"iid": 5,
"linked": [],
"primary": false,
"stype": "battery",
"type": "00000096-0000-1000-8000-0026BB765291"
}
]
}
]