RZL: Add deko-led-thingy „Pilze“

This commit is contained in:
Ranlvor 2019-02-19 18:10:02 +01:00
parent 45e2e7c6fc
commit c8e75927c9
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -222,6 +222,7 @@ const config: Config = {
//Tasmota-Dosen
tasmota.topics("6", "snackbar"),
tasmota.topics("7", "infoscreen"),
tasmota.topics("9", "pilze"),
esper.topics("afba40", "flyfry"),
@ -473,6 +474,21 @@ const config: Config = {
}
]
},
pilze: {
name: "Pilze",
position: [48, 499],
icon: ({pilze}) =>
(pilze === "on" ? rawMdi("led-on") : rawMdi("led-off")),
iconColor: tasmota.iconColor("pilze", rainbow),
ui: [
{
type: "toggle",
text: "Pilze",
topic: "pilze",
icon: mdi("power")
}
]
},
printer3D: {
name: "Ultimaker 3",
position: [754, 560],