RZL: +Licht Dunstabzugshaube (#129)

This commit is contained in:
Ranlvor 2019-11-12 23:07:12 +01:00 committed by uwap
parent c29775389b
commit 15cf79f547

View file

@ -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],