From c8e75927c9927d942627a2acd0f5431464d962dc Mon Sep 17 00:00:00 2001 From: Ranlvor Date: Tue, 19 Feb 2019 18:10:02 +0100 Subject: [PATCH] =?UTF-8?q?RZL:=20Add=20deko-led-thingy=20=E2=80=9EPilze?= =?UTF-8?q?=E2=80=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/rzl/index.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config/rzl/index.js b/config/rzl/index.js index ee51c32..e027eae 100644 --- a/config/rzl/index.js +++ b/config/rzl/index.js @@ -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],