Merge PR #185: Add a powerswitch interface

This commit is contained in:
Jenkins 2019-09-13 14:11:46 +02:00
commit 27e4715324
2 changed files with 11 additions and 0 deletions

View File

@ -69,6 +69,7 @@
<file>navigationpad.json</file>
<file>extendednavigationpad.json</file>
<file>closablesensor.json</file>
<file>powerswitch.json</file>
</qresource>
<qresource prefix="/"/>
</RCC>

View File

@ -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"
}
]
}