Infoscreen: von OpenHab nach Sonoff umgebaut

This commit is contained in:
Ranlvor 2018-07-22 13:37:07 +02:00
parent 01d330a490
commit 5a2e3f8a37
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -35,7 +35,7 @@ const config: Config = {
name: "cmnd/sonoff6/power", name: "cmnd/sonoff6/power",
type: types.option({ on: "ON", off: "OFF" }) type: types.option({ on: "ON", off: "OFF" })
}, },
defaultValue: "off", defaultValue: "off"
}, },
twinkle: { twinkle: {
state: { state: {
@ -151,11 +151,11 @@ const config: Config = {
}, },
infoscreen: { infoscreen: {
state: { state: {
name: "/service/openhab/out/pca301_infoscreen/state", name: "stat/sonoff7/POWER",
type: types.option({ ON: "on", OFF: "off" }) type: types.option({ ON: "on", OFF: "off" })
}, },
command: { command: {
name: "/service/openhab/in/pca301_infoscreen/command", name: "cmnd/sonoff7/power",
type: types.option({ on: "ON", off: "OFF" }) type: types.option({ on: "ON", off: "OFF" })
}, },
defaultValue: "off" defaultValue: "off"