Add Rundumleuchte
This commit is contained in:
parent
c9eea611f8
commit
a9ff3d9f35
1 changed files with 18 additions and 0 deletions
|
|
@ -39,6 +39,12 @@ const config : Config = {
|
||||||
value: 0,
|
value: 0,
|
||||||
values: {},
|
values: {},
|
||||||
parseState: msg => JSON.parse(msg.toString()).val
|
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: {
|
controls: {
|
||||||
|
|
@ -130,6 +136,18 @@ const config : Config = {
|
||||||
max: 100
|
max: 100
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
rundumleuchte: {
|
||||||
|
name: "Rundumleuchte",
|
||||||
|
position: [240,210],
|
||||||
|
icon: "wb_sunny",
|
||||||
|
ui: [
|
||||||
|
{
|
||||||
|
type: "toggle",
|
||||||
|
text: "Rundumleuchte",
|
||||||
|
topic: "rundumleuchte"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue