simpleclosable (a: open, close) |- awning (a: stop) | |- extendedawning (s: percentage, moving) |- blind (a: stop) | |- extendedblind (s: percentage, moving) |- closable (s: state) | |- garagegate (a: stop, s: intermediateposition) |- shutter (a: stop) |- smartlock (a, unlatch s: state) simpleclosable (a: open, close) |- closable (a: stop) | |- awning | |- blind | |- shutter | |- garagegate (s: state, intermediatePosition) | |- extendedclosable (s: moving, s: percentage) | |- extendedawning | |- extendedblind | |- extendedshutter |- smartlock (a: unlatch, s: state)
20 lines
366 B
JSON
20 lines
366 B
JSON
{
|
|
"extends": "closable",
|
|
"states": [
|
|
{
|
|
"name": "state",
|
|
"type": "QString",
|
|
"allowedValues": ["open", "closed", "opening", "closing"]
|
|
},
|
|
{
|
|
"name": "intermediatePosition",
|
|
"type": "bool"
|
|
}
|
|
],
|
|
"actions": [
|
|
{
|
|
"name": "stop"
|
|
}
|
|
]
|
|
}
|