Add lock/unlock actions to smartlock interface
This commit is contained in:
parent
5674ba7567
commit
119605ab13
@ -5,12 +5,20 @@
|
||||
"name": "state",
|
||||
"type": "QString",
|
||||
"allowedValues": ["locked", "locking", "unlocked", "unlocking", "unlatched", "unlatching"],
|
||||
"logged": true
|
||||
"logged": true,
|
||||
"optional": true
|
||||
}
|
||||
],
|
||||
"actions": [
|
||||
{
|
||||
"name": "unlatch"
|
||||
"name": "lock"
|
||||
},
|
||||
{
|
||||
"name": "unlock"
|
||||
},
|
||||
{
|
||||
"name": "unlatch",
|
||||
"optional": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user