+videogames, +olymp_pc
This commit is contained in:
parent
89584787e2
commit
c5acab2aca
1 changed files with 38 additions and 0 deletions
|
|
@ -25,6 +25,18 @@ const config : Config = {
|
|||
defaultValue: "OFF",
|
||||
values: { on: "ON", off: "OFF" }
|
||||
},
|
||||
videogames: {
|
||||
state: "/service/openhab/out/pca301_videogames/state",
|
||||
command: "/service/openhab/in/pca301_videogames/command",
|
||||
defaultValue: "OFF",
|
||||
values: { on: "ON", off: "OFF" }
|
||||
},
|
||||
olymp_pc: {
|
||||
state: "/service/openhab/out/pca301_olymp_pc/state",
|
||||
command: "/service/openhab/in/pca301_olymp_pc/command",
|
||||
defaultValue: "OFF",
|
||||
values: { on: "ON", off: "OFF" }
|
||||
},
|
||||
flyfry: {
|
||||
state: "/service/openhab/out/wifi_flyfry/state",
|
||||
command: "/service/openhab/in/wifi_flyfry/command",
|
||||
|
|
@ -125,6 +137,32 @@ const config : Config = {
|
|||
}
|
||||
]
|
||||
},
|
||||
videogames: {
|
||||
name: "Videospiele",
|
||||
position: [79, 50],
|
||||
icon: "videogame_asset",
|
||||
iconColor: state => state.videogames == "on" ? "#00FF00" : "#000000",
|
||||
ui: [
|
||||
{
|
||||
type: "toggle",
|
||||
text: "Videospiele",
|
||||
topic: "videogames"
|
||||
}
|
||||
]
|
||||
},
|
||||
olymp_pc: {
|
||||
name: "Rechner und Drucker",
|
||||
position: [298, 20],
|
||||
icon: "desktop_windows",
|
||||
iconColor: state => state.olymp_pc == "on" ? "#00FF00" : "#000000",
|
||||
ui: [
|
||||
{
|
||||
type: "toggle",
|
||||
text: "Rechner und Drucker",
|
||||
topic: "olymp_pc"
|
||||
}
|
||||
]
|
||||
},
|
||||
flyfry: {
|
||||
name: "Fliegenbratgerät",
|
||||
position: [450, 560],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue