Add Rundumleuchte

This commit is contained in:
uwap 2017-09-17 14:44:22 +02:00
parent c9eea611f8
commit a9ff3d9f35

View file

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