Merge pull request #65 from Ranlvor/patch-19

Infoscreen: von OpenHab nach Sonoff umgebaut
This commit is contained in:
uwap 2018-07-23 05:58:31 +02:00 committed by GitHub
commit 5b028396c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"