RZL: +Licht Dunstabzugshaube

This commit is contained in:
Ranlvor 2019-11-12 22:27:43 +01:00
parent c29775389b
commit 45b01572b1
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

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