add shutter interfaces
This commit is contained in:
parent
f710d7febb
commit
f160a92f92
3
libnymea/interfaces/blind.json
Normal file
3
libnymea/interfaces/blind.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"extends": "simpleclosable"
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
"states": [
|
||||
{
|
||||
"name": "state",
|
||||
"type": "String",
|
||||
"type": "QString",
|
||||
"allowedValues": ["open", "closed", "opening", "closing"]
|
||||
}
|
||||
],
|
||||
|
||||
@ -30,6 +30,8 @@
|
||||
<file>closable.json</file>
|
||||
<file>door.json</file>
|
||||
<file>shutter.json</file>
|
||||
<file>simpleclosable.json</file>
|
||||
<file>blind.json</file>
|
||||
</qresource>
|
||||
<qresource prefix="/"/>
|
||||
</RCC>
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
{
|
||||
"extends": "closable"
|
||||
"extends": "simpleclosable"
|
||||
}
|
||||
|
||||
13
libnymea/interfaces/simpleclosable.json
Normal file
13
libnymea/interfaces/simpleclosable.json
Normal file
@ -0,0 +1,13 @@
|
||||
{
|
||||
"actions": [
|
||||
{
|
||||
"name": "open"
|
||||
},
|
||||
{
|
||||
"name": "close"
|
||||
},
|
||||
{
|
||||
"name": "stop"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user