+Ventilator

This commit is contained in:
Ranlvor 2017-09-27 21:39:27 +02:00
parent a65e937623
commit 89584787e2
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -19,6 +19,12 @@ const config : Config = {
defaultValue: "OFF",
values: { on: "ON", off: "OFF" }
},
fan: {
state: "/service/openhab/out/pca301_fan/state",
command: "/service/openhab/in/pca301_fan/command",
defaultValue: "OFF",
values: { on: "ON", off: "OFF" }
},
flyfry: {
state: "/service/openhab/out/wifi_flyfry/state",
command: "/service/openhab/in/wifi_flyfry/command",
@ -106,6 +112,19 @@ const config : Config = {
}
]
},
fan: {
name: "Ventilator",
position: [530, 450],
icon: "toys",
iconColor: state => state.fan == "on" ? "#00FF00" : "#000000",
ui: [
{
type: "toggle",
text: "Ventilator",
topic: "fan"
}
]
},
flyfry: {
name: "Fliegenbratgerät",
position: [450, 560],