Merge pull request #60 from Ranlvor/patch-18

Use snackbar direclty instead of going via OpenHab
This commit is contained in:
uwap 2018-07-17 21:45:15 +02:00 committed by GitHub
commit 5f79158c0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -28,11 +28,11 @@ const config: Config = {
}, },
snackbar: { snackbar: {
state: { state: {
name: "/service/openhab/out/pca301_snackbar/state", name: "stat/sonoff6/POWER",
type: types.option({ ON: "on", OFF: "off" }) type: types.option({ ON: "on", OFF: "off" })
}, },
command: { command: {
name: "/service/openhab/in/pca301_snackbar/command", name: "cmnd/sonoff6/power",
type: types.option({ on: "ON", off: "OFF" }) type: types.option({ on: "ON", off: "OFF" })
}, },
defaultValue: "off", defaultValue: "off",