From e445fd31a5b4c7f719dcc73bfdf407d93a5ab665 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Fri, 30 Aug 2019 13:14:41 +0200 Subject: [PATCH] Add an alert interface --- libnymea/interfaces/alert.json | 8 ++++++++ libnymea/interfaces/interfaces.qrc | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 libnymea/interfaces/alert.json diff --git a/libnymea/interfaces/alert.json b/libnymea/interfaces/alert.json new file mode 100644 index 00000000..bdebb170 --- /dev/null +++ b/libnymea/interfaces/alert.json @@ -0,0 +1,8 @@ +{ + "description": "Used for things that have some sort of alert. For instance, light bulbs may be able to blink on alert actions, or speaker might be able to play an alert sound. ZigBee devices for example oftion provide alert actions to identify themselves.", + "actions": [ + { + "name": "alert" + } + ] +} diff --git a/libnymea/interfaces/interfaces.qrc b/libnymea/interfaces/interfaces.qrc index 5d70e051..9feda351 100644 --- a/libnymea/interfaces/interfaces.qrc +++ b/libnymea/interfaces/interfaces.qrc @@ -1,5 +1,6 @@ + alert.json light.json dimmablelight.json daylightsensor.json @@ -69,5 +70,4 @@ extendednavigationpad.json closablesensor.json -