{
    "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",
            "logged": true
        },
        {
            "name": "availableVersion",
            "type": "QString",
            "optional": true
        },
        {
            "name": "updateProgress",
            "type": "uint",
            "unit": "Percentage",
            "min": 0,
            "max": 100,
            "optional": true
        }
    ],
    "actions": [
        {
            "name": "performUpdate"
        }
    ]
}
