mirror of https://github.com/nymea/nymea.git
Add a powerswitch interface
parent
7b4f317567
commit
dd0f4c474c
|
|
@ -68,6 +68,7 @@
|
|||
<file>navigationpad.json</file>
|
||||
<file>extendednavigationpad.json</file>
|
||||
<file>closablesensor.json</file>
|
||||
<file>powerswitch.json</file>
|
||||
</qresource>
|
||||
<qresource prefix="/"/>
|
||||
</RCC>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"extends": "button",
|
||||
"description": "The powerswitch interface is used for smart power switches and just extends the simple button interface. Use this for switches that can be on or off.",
|
||||
"states": [
|
||||
{
|
||||
"name": "power",
|
||||
"type": "bool"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue