-
-
Save bmorgenthaler/9dae6def4a7cbb78a38ceb5e08162eb7 to your computer and use it in GitHub Desktop.
MakerAPI Device Capabilities Json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"capabilities": [ | |
"Configuration", | |
"Actuator", | |
"Refresh", | |
"FanControl", | |
{ | |
"attributes": [ | |
{ | |
"name": "speed", | |
"currentValue": "low", | |
"dataType": "ENUM", | |
"values": [ | |
"low", | |
"medium-low", | |
"medium", | |
"medium-high", | |
"high", | |
"on", | |
"off", | |
"auto" | |
] | |
}, | |
{ | |
"name": "supportedFanSpeeds", | |
"currentValue": null, | |
"dataType": "JSON_OBJECT", | |
"values": null | |
} | |
] | |
}, | |
"SwitchLevel", | |
{ | |
"attributes": [ | |
{ | |
"name": "level", | |
"currentValue": "25", | |
"dataType": "NUMBER", | |
"values": null | |
} | |
] | |
}, | |
"Switch", | |
{ | |
"attributes": [ | |
{ | |
"name": "switch", | |
"currentValue": "on", | |
"dataType": "ENUM", | |
"values": [ | |
"on", | |
"off" | |
] | |
} | |
] | |
}, | |
"PushableButton", | |
{ | |
"attributes": [ | |
{ | |
"name": "numberOfButtons", | |
"currentValue": "2", | |
"dataType": "NUMBER", | |
"values": null | |
}, | |
{ | |
"name": "pushed", | |
"currentValue": "1", | |
"dataType": "NUMBER", | |
"values": null | |
} | |
] | |
}, | |
"DoubleTapableButton", | |
{ | |
"attributes": [ | |
{ | |
"name": "doubleTapped", | |
"currentValue": null, | |
"dataType": "NUMBER", | |
"values": null | |
} | |
] | |
} | |
] | |
} | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment