diff --git a/libnymea/interfaces/doorbell.json b/libnymea/interfaces/doorbell.json new file mode 100644 index 00000000..e90aad65 --- /dev/null +++ b/libnymea/interfaces/doorbell.json @@ -0,0 +1,8 @@ +{ + "description": "An interface for doorbells. Emits \"doorbellPressed\" when the doorbell is pressed.", + "events": [ + { + "name": "doorbellPressed" + } + ] +} diff --git a/libnymea/interfaces/interfaces.qrc b/libnymea/interfaces/interfaces.qrc index 5d70e051..e4c7b3b0 100644 --- a/libnymea/interfaces/interfaces.qrc +++ b/libnymea/interfaces/interfaces.qrc @@ -4,6 +4,7 @@ dimmablelight.json daylightsensor.json colortemperaturelight.json + doorbell.json colorlight.json garagegate.json gateway.json @@ -68,6 +69,7 @@ navigationpad.json extendednavigationpad.json closablesensor.json + powerswitch.json