+Deko toggle (#88)
This commit is contained in:
parent
42e312c701
commit
b86c6060ac
1 changed files with 17 additions and 0 deletions
|
|
@ -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")
|
||||||
}
|
}
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue