From 15cf79f5476add3991a861c0bc21fde549f22f8d Mon Sep 17 00:00:00 2001 From: Ranlvor Date: Tue, 12 Nov 2019 23:07:12 +0100 Subject: [PATCH] RZL: +Licht Dunstabzugshaube (#129) --- config/rzl/kitchen.js | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/config/rzl/kitchen.js b/config/rzl/kitchen.js index 942328d..a98dee5 100644 --- a/config/rzl/kitchen.js +++ b/config/rzl/kitchen.js @@ -3,7 +3,7 @@ import type { Topics, Controls } from "config/flowtypes"; import { mdi, mdiBattery } from "config/icon"; import { hex } from "config/colors"; import * as types from "config/types"; -import { floalt, tradfri } from "./utils"; +import { floalt, tradfri, tasmota } from "./utils"; export const topics: Topics = { //Kuechen-Floalts @@ -20,6 +20,8 @@ export const topics: Topics = { ...tradfri.remote.topics("65542"), ...tradfri.remote.topics("65546"), + ...tasmota.topics("10", "lichtDunstabzug"), + kitchenLightColor: { state: { name: "/service/openhab/out/kitchen_light_all_color_temperature" @@ -243,6 +245,20 @@ export const controls: Controls = { } ] }, + lichtDunstabzug: { + name: "Licht Dunstabzugshaube", + position: [252, 405], + icon: mdi("ceiling-light"), + iconColor: tasmota.iconColor("lichtDunstabzug"), + ui: [ + { + type: "toggle", + text: "Licht Dunstabzugshaube", + topic: "lichtDunstabzug", + icon: mdi("power") + } + ] + }, remotes: { name: "Fernbedinungen", position: [400, 344],