From 57b3c84b8f656044a5ab65d751895afa1666610c Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sun, 23 Oct 2022 22:59:50 +0200 Subject: [PATCH] Add a childlock interface --- libnymea/interfaces/childlock.json | 11 +++++++++++ libnymea/interfaces/interfaces.qrc | 1 + 2 files changed, 12 insertions(+) create mode 100644 libnymea/interfaces/childlock.json diff --git a/libnymea/interfaces/childlock.json b/libnymea/interfaces/childlock.json new file mode 100644 index 00000000..24c7228c --- /dev/null +++ b/libnymea/interfaces/childlock.json @@ -0,0 +1,11 @@ +{ + "description": "Interface for devices that support a child lock on physical keys.", + "states": [ + { + "name": "childLock", + "type": "bool", + "writable": true, + "logged": true + } + ] +} diff --git a/libnymea/interfaces/interfaces.qrc b/libnymea/interfaces/interfaces.qrc index 0d30b72d..e8aefdc7 100644 --- a/libnymea/interfaces/interfaces.qrc +++ b/libnymea/interfaces/interfaces.qrc @@ -95,5 +95,6 @@ simpleheatpump.json alarm.json firesensor.json + childlock.json