Toggle Conditions, Enable Conditions
This commit is contained in:
parent
eb96d9d511
commit
d121928df6
3 changed files with 52 additions and 11 deletions
|
|
@ -88,18 +88,25 @@ const config : Config = {
|
|||
position: [550,150],
|
||||
icon: "",
|
||||
ui: [
|
||||
{
|
||||
type: "toggle",
|
||||
text: "An/Aus",
|
||||
topic: "artnet",
|
||||
on: "cycle",
|
||||
toggled: val => val != "off"
|
||||
},
|
||||
{
|
||||
type: "dropDown",
|
||||
text: "Artnet",
|
||||
topic: "artnet",
|
||||
options: {
|
||||
off: "Aus",
|
||||
yellow: "Gelb",
|
||||
red: "Rot",
|
||||
purple: "Pink",
|
||||
green: "Grün",
|
||||
cycle: "Cycle Random"
|
||||
}
|
||||
},
|
||||
enableCondition: val => val != "off"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue