mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
webui: initial support for leddevice options (#232)
* initial support for leddevice options * fix schema and editor init * fix led editor labels and schema * add some led schemas * led config: insert current values. not yet perfect, but it works
This commit is contained in:
@@ -23,33 +23,34 @@
|
||||
"device" :
|
||||
{
|
||||
"type" : "object",
|
||||
"title" : "LED Device",
|
||||
"title" : "LED Device General",
|
||||
"required" : true,
|
||||
"defaultProperties": ["name","ledCount","colorOrder"],
|
||||
"properties" :
|
||||
{
|
||||
"name" :
|
||||
{
|
||||
"type" : "string",
|
||||
"required" : true
|
||||
"required" : true,
|
||||
"propertyOrder" : 1
|
||||
},
|
||||
"type" :
|
||||
{
|
||||
"type" : "string",
|
||||
"required" : true
|
||||
},
|
||||
"output" :
|
||||
{
|
||||
"type" : "string"
|
||||
},
|
||||
"rate" :
|
||||
"ledCount" :
|
||||
{
|
||||
"type" : "integer",
|
||||
"minimum" : 0
|
||||
"minimum" : 0,
|
||||
"title" : "Count of all hardware LEDs",
|
||||
"propertyOrder" : 2
|
||||
},
|
||||
"colorOrder" :
|
||||
{
|
||||
"type" : "string",
|
||||
"enum" : ["rgb", "bgr", "rbg", "brg", "gbr", "grb"]
|
||||
"enum" : ["rgb", "bgr", "rbg", "brg", "gbr", "grb"],
|
||||
"propertyOrder" : 3
|
||||
}
|
||||
},
|
||||
"additionalProperties" : true
|
||||
|
Reference in New Issue
Block a user