Use snackbar direclty instead of going via OpenHab

This commit is contained in:
Ranlvor 2018-07-17 21:42:55 +02:00
parent 837f5a2bc4
commit b14d58657f
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

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