diff --git a/libnymea/interfaces/interfaces.qrc b/libnymea/interfaces/interfaces.qrc index 5d70e051..2504738d 100644 --- a/libnymea/interfaces/interfaces.qrc +++ b/libnymea/interfaces/interfaces.qrc @@ -68,6 +68,7 @@ navigationpad.json extendednavigationpad.json closablesensor.json + powerswitch.json diff --git a/libnymea/interfaces/powerswitch.json b/libnymea/interfaces/powerswitch.json new file mode 100644 index 00000000..95149608 --- /dev/null +++ b/libnymea/interfaces/powerswitch.json @@ -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" + } + ] +}