{
“schema”: “devcap1.schema.json”,
“manufacturername”: “Heiman”,
“modelid”: “WarningDevice”,
“product”: “WarningDevice”,
“sleeper”: false,
“status”: “Draft”,
“subdevices”: [
{
“type”: “$TYPE_WARNING_DEVICE”,
“restapi”: “/lights”,
“uuid”: [
“$address.ext”,
“0x01”
],
“items”: [
{
“name”: “attr/id”
},
{
“name”: “attr/lastannounced”
},
{
“name”: “attr/lastseen”
},
{
“name”: “attr/manufacturername”
},
{
“name”: “attr/modelid”
},
{
“name”: “attr/name”
},
{
“name”: “attr/swversion”
},
{
“name”: “attr/type”
},
{
“name”: “attr/uniqueid”
},
{
“name”: “state/alert”,
“description”: “The currently active alert effect.”,
“default”: “none”
},
{
“name”: “state/reachable”
}
]
},
{
“type”: “ZHAAlarm”,
“restapi”: “/sensors”,
“uuid”: [
“$address.ext”,
“0x01”,
“0x0500”
],
“fingerprint”: {
“profile”: “0x0104”,
“device”: “0x0403”,
“endpoint”: “0x01”,
“in”: [
“0x0000”,
“0x0001”,
“0x0500”
]
},
“items”: [
{
“name”: “attr/id”
},
{
“name”: “attr/lastannounced”
},
{
“name”: “attr/lastseen”
},
{
“name”: “attr/manufacturername”
},
{
“name”: “attr/modelid”
},
{
“name”: “attr/name”
},
{
“name”: “attr/swversion”
},
{
“name”: “attr/type”
},
{
“name”: “attr/uniqueid”
},
{
“name”: “config/battery”,
“description”: “The current device battery level in 0–100 %.”,
“default”: 0
},
{
“name”: “config/enrolled”,
“description”: “State of IAS enrollment process.”
},
{
“name”: “config/on”
},
{
“name”: “config/pending”,
“description”: “Pending tasks to configure the device.”
},
{
“name”: “config/reachable”
},
{
“name”: “state/alarm”,
“description”: “True when an alarm is detected.”
},
{
“name”: “state/lastupdated”
},
{
“name”: “state/lowbattery”,
“description”: “True when the device battery runs low.”
},
{
“name”: “state/tampered”,
“description”: “True when the device tampered alarm was triggered.”
}
]
}
]
}