From 80aeee77ab24d17510d0210fb5bcb3fb4829cee9 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Tue, 3 Sep 2019 23:44:42 +0200 Subject: [PATCH] Add userDisplayName --- libnymea/interfaces/account.json | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libnymea/interfaces/account.json b/libnymea/interfaces/account.json index 870bff48..539d7dec 100644 --- a/libnymea/interfaces/account.json +++ b/libnymea/interfaces/account.json @@ -1,10 +1,15 @@ { - "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. It inherits \"connectable\" which is used to flag if the remote server is unreachable. In addition, the \"loggedIn\" state indicates if the login fails. A client may reconfigure the device then to login again. Such device classes usually will cause auto-devices implementing the actual features as child devices.", + "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. It inherits \"connectable\" which is used to flag if the remote server is unreachable. In addition, the \"loggedIn\" state indicates if the login fails. While logged in, the \"userDisplayName\" state should give the user's name in a pretty printed form. A client may reconfigure the device then to login again. Such device classes usually will cause auto-devices implementing the actual features as child devices.", "extends": "connectable", "states": [ { "name": "loggedIn", "type": "bool" + }, + { + "name": "userDisplayName", + "type": "QString" } + ] }