From 652e9769fda82767560f2ae0651311867a7fc110 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 3 Sep 2019 18:49:05 +0200 Subject: [PATCH] Add account interface --- libnymea/interfaces/account.json | 4 ++++ libnymea/interfaces/gateway.json | 1 + libnymea/interfaces/interfaces.qrc | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 libnymea/interfaces/account.json diff --git a/libnymea/interfaces/account.json b/libnymea/interfaces/account.json new file mode 100644 index 00000000..a05f4186 --- /dev/null +++ b/libnymea/interfaces/account.json @@ -0,0 +1,4 @@ +{ + "description": "This is used to flag a thing that manages user a user account. It is similar to the gateway interface. For example, if there is a remote API that requires logging in but doesn't really offer any more functionality than that, this account shall be used. Such device classes usually will cause auto-devices implementing the actual features as child devices.", + "extends": "connectable" +} diff --git a/libnymea/interfaces/gateway.json b/libnymea/interfaces/gateway.json index 82c28534..9ae8633a 100644 --- a/libnymea/interfaces/gateway.json +++ b/libnymea/interfaces/gateway.json @@ -1,3 +1,4 @@ { + "description": "The gateway interface is used for gateway devices like bridges to other networks. For instance Ethernet to ZigBee bridges, Ethernet to RF bridges or similar. Typically such device classes implement the actual functionality in child devices that will auto-appear after successful connection to the gateway/bridge.", "extends": "connectable" } diff --git a/libnymea/interfaces/interfaces.qrc b/libnymea/interfaces/interfaces.qrc index 5d70e051..ff13c1f6 100644 --- a/libnymea/interfaces/interfaces.qrc +++ b/libnymea/interfaces/interfaces.qrc @@ -2,6 +2,7 @@ light.json dimmablelight.json + account.json daylightsensor.json colortemperaturelight.json colorlight.json @@ -69,5 +70,4 @@ extendednavigationpad.json closablesensor.json -