From abc39f1bd48cba3e3d24791d4836c2c221d98a53 Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Thu, 24 Jan 2019 22:09:35 +0100 Subject: [PATCH] Add a thermostat interface --- libnymea/interfaces/interfaces.qrc | 1 + libnymea/interfaces/thermostat.json | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 libnymea/interfaces/thermostat.json diff --git a/libnymea/interfaces/interfaces.qrc b/libnymea/interfaces/interfaces.qrc index 5bd08959..6c296344 100644 --- a/libnymea/interfaces/interfaces.qrc +++ b/libnymea/interfaces/interfaces.qrc @@ -31,6 +31,7 @@ moisturesensor.json conductivitysensor.json lightsensor.json + thermostat.json connectable.json inputtrigger.json outputtrigger.json diff --git a/libnymea/interfaces/thermostat.json b/libnymea/interfaces/thermostat.json new file mode 100644 index 00000000..a4bce193 --- /dev/null +++ b/libnymea/interfaces/thermostat.json @@ -0,0 +1,10 @@ +{ + "description": "The thermostat interface describes devices which have a target temperature value and regulate themselves to match that target temperature. Often combined with the power and temperaturesensor interfaces.", + "states": [ + { + "name": "targetTemperature", + "type": "double", + "unit": "DegreeCelsius" + } + ] +}