Move Printer from Olymp to Fablap/alte Werkstat

This commit is contained in:
Ranlvor 2019-03-12 22:42:14 +01:00
parent 43dcf12281
commit 2037c34c9b
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E
2 changed files with 21 additions and 21 deletions

View file

@ -220,6 +220,7 @@ const config: Config = {
} }
}, },
//Tasmota-Dosen //Tasmota-Dosen
tasmota.topics("2", "printerOlymp"),
tasmota.topics("6", "snackbar"), tasmota.topics("6", "snackbar"),
tasmota.topics("7", "infoscreen"), tasmota.topics("7", "infoscreen"),
tasmota.topics("9", "pilze"), tasmota.topics("9", "pilze"),
@ -541,6 +542,26 @@ const config: Config = {
} }
] ]
}, },
printerOlymp: {
name: "Drucker",
position: [800, 350],
icon: mdi("printer"),
iconColor: tasmota.iconColor("printerOlymp"),
ui: [
{
type: "toggle",
text: "Drucker",
topic: "printerOlymp",
icon: mdi("power")
},
{
type: "link",
link: "http://annette.rzl/",
text: "Open Annette",
icon: mdi("open-in-new")
}
]
},
nebenraumPowerStatus: { nebenraumPowerStatus: {
name: "Strom Fablab", name: "Strom Fablab",
position: [613, 537], position: [613, 537],

View file

@ -39,7 +39,6 @@ export const topics: Topics = {
}, },
defaultValue: "off" defaultValue: "off"
}, },
...tasmota.topics("2", "printerOlymp"),
...tasmota.topics("8", "ledOlymp"), ...tasmota.topics("8", "ledOlymp"),
...esper.topics("afba45", "alarm") ...esper.topics("afba45", "alarm")
}; };
@ -89,26 +88,6 @@ export const controls: Controls = {
} }
] ]
}, },
printerOlymp: {
name: "Drucker",
position: [335, 90],
icon: mdi("printer"),
iconColor: tasmota.iconColor("printerOlymp"),
ui: [
{
type: "toggle",
text: "Drucker",
topic: "printerOlymp",
icon: mdi("power")
},
{
type: "link",
link: "http://annette.rzl/",
text: "Open Annette",
icon: mdi("open-in-new")
}
]
},
rundumleuchte: { rundumleuchte: {
name: "Rundumleuchte", name: "Rundumleuchte",
position: [310, 275], position: [310, 275],