From 73200c3c67e3a3508ce339839494d7a32caa9cac Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Mon, 7 Jan 2019 13:42:55 +0100 Subject: [PATCH] Split the smartlock and simpleclosable interfaces They're not necessarily available both in all kinds of hardware. --- libnymea/interfaces/smartlock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnymea/interfaces/smartlock.json b/libnymea/interfaces/smartlock.json index 50808e41..498950d3 100644 --- a/libnymea/interfaces/smartlock.json +++ b/libnymea/interfaces/smartlock.json @@ -1,5 +1,5 @@ { - "extends": "simpleclosable", + "description": "The smartlock interface is used for locks which can be opened digitally. The simplest form is a door opener which just unlatches the door lock for a few seconds so a person can enter. Implement the unlatch action and set the state to \"unlatching\" while opening. Set the state back to \"locked\" when done. More advanced devices might also allow keeping a door unlatched or distinguish between locked and unlocked. Fully electric doors might even support opening and closing the entire door by combining this interface with the \"simpleclosable\" interface.", "states": [ { "name": "state",