From a9ff3d9f35f308fdb7b473560c140e4d7119cb6b Mon Sep 17 00:00:00 2001 From: uwap Date: Sun, 17 Sep 2017 14:44:22 +0200 Subject: [PATCH] Add Rundumleuchte --- src/config.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/config.js b/src/config.js index 634f80a..0f248eb 100644 --- a/src/config.js +++ b/src/config.js @@ -39,6 +39,12 @@ const config : Config = { value: 0, values: {}, parseState: msg => JSON.parse(msg.toString()).val + }, + rundumleuchte: { + state: "/service/openhab/out/pca301_rundumleuchte/state", + command: "/service/openhab/in/pca301_rundumleuchte/command", + value: "ON", + values: { on: "ON", off: "OFF" } } }, controls: { @@ -130,6 +136,18 @@ const config : Config = { max: 100 } ] + }, + rundumleuchte: { + name: "Rundumleuchte", + position: [240,210], + icon: "wb_sunny", + ui: [ + { + type: "toggle", + text: "Rundumleuchte", + topic: "rundumleuchte" + } + ] } } };