mirror of https://github.com/nymea/nymea.git
25 lines
565 B
JSON
25 lines
565 B
JSON
{
|
|
"description": "The update interface is used for things that support being updated by nymea.",
|
|
"states": [
|
|
{
|
|
"name": "updateStatus",
|
|
"type": "QString",
|
|
"allowedValues": ["idle", "available", "updating"]
|
|
},
|
|
{
|
|
"name": "currentVersion",
|
|
"type": "QString"
|
|
},
|
|
{
|
|
"name": "availableVersion",
|
|
"type": "QString",
|
|
"optional": true
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"name": "performUpdate"
|
|
}
|
|
]
|
|
}
|