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" + } + ] } } };