From 8babf7758987080d2f6968b945fd4a066638f914 Mon Sep 17 00:00:00 2001 From: Ranlvor Date: Sun, 21 Oct 2018 12:34:38 +0200 Subject: [PATCH] +Deko toggle --- config/rzl/index.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/config/rzl/index.js b/config/rzl/index.js index a0022de..fd22bf7 100644 --- a/config/rzl/index.js +++ b/config/rzl/index.js @@ -206,6 +206,17 @@ const config: Config = { type: types.option({ ON: "on", OFF: "off" }) }, defaultValue: "off" + }, + deko: { + state: { + name: "/service/deko", + type: types.option({ ON: "on", OFF: "off" }) + }, + command: { + name: "/service/deko/set", + type: types.option({ on: "ON", off: "OFF" }) + }, + defaultValue: "off" } }, //Tasmota-Dosen @@ -432,6 +443,12 @@ const config: Config = { text: "Devices", topic: "devicesStatus", icon: mdi("wifi") + }, + { + type: "toggle", + text: "Deko", + topic: "deko", + icon: mdi("invert-colors") } ]