+Deko toggle

This commit is contained in:
Ranlvor 2018-10-21 12:34:38 +02:00
parent 42e312c701
commit 8babf77589
Signed by untrusted user who does not match committer: Ranlvor
GPG key ID: 5E12D04750EF6F8E

View file

@ -206,6 +206,17 @@ const config: Config = {
type: types.option({ ON: "on", OFF: "off" }) type: types.option({ ON: "on", OFF: "off" })
}, },
defaultValue: "off" defaultValue: "off"
},
deko: {
state: {
name: "/service/deko",
type: types.option({ ON: "on", OFF: "off" })
},
command: {
name: "/service/deko/set",
type: types.option({ on: "ON", off: "OFF" })
},
defaultValue: "off"
} }
}, },
//Tasmota-Dosen //Tasmota-Dosen
@ -432,6 +443,12 @@ const config: Config = {
text: "Devices", text: "Devices",
topic: "devicesStatus", topic: "devicesStatus",
icon: mdi("wifi") icon: mdi("wifi")
},
{
type: "toggle",
text: "Deko",
topic: "deko",
icon: mdi("invert-colors")
} }
] ]