Skip to content

Instantly share code, notes, and snippets.

@kakopappa
Created October 22, 2023 04:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kakopappa/48649129dbed3021cda75a4d8ce94515 to your computer and use it in GitHub Desktop.
Save kakopappa/48649129dbed3021cda75a4d8ce94515 to your computer and use it in GitHub Desktop.
{
"name": "Flood Sensor",
"description": "Flood Sensor",
"deviceTypeId": "65335c897dc29736db4272d2",
"capabilities": [
{
"id": "5ff0b41b994fd31b7d5e8961",
"mode": {
"instanceId": "modeInstance1",
"locale": "en-US",
"modeName": "Flooding",
"nonControllable": true,
"modeValues": [
"Yes",
"No"
]
}
},
{
"id": "5ff0b45f994fd31b7d5e89c2",
"range": {
"instanceId": "rangeInstance1",
"locale": "en-US",
"rangeName": "Water Level",
"minimumValue": 0,
"maximumValue": 10,
"precision": 1,
"unitOfMeasure": "600e7937a7a09c3f3230f8ed",
"presets": [],
"nonControllable": true
}
},
{
"id": "62a707bd9e2f39090569e2d3"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment