hyperion.ng/effects/schema/shutdown.schema.json
brindosch c05181666c LED Layouts, Delete Effect, Colorpicker for EC (#290)
* upd

* ipadte schemas

* update html

* update

* fix matrix index increment

[skip ci]

* matrix 1 led as minimum

[skip ci]

* disable zoom

[skpi ci]
2016-11-18 18:39:27 +01:00

50 lines
890 B
JSON

{
"type":"object",
"script" : "shutdown.py",
"title":"System Shutdown",
"required":true,
"properties":{
"speed": {
"type": "number",
"title":"Speed",
"default": 1.0,
"minimum" : 0.1,
"propertyOrder" : 1
},
"alarm-color": {
"type": "array",
"title":"Alarm color",
"format":"colorpicker",
"default": [255,0,0],
"items" : {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"minItems": 3,
"maxItems": 3,
"propertyOrder" : 2
},
"post-color": {
"type": "array",
"title":"Post color",
"default": [255,174,11],
"items" : {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"minItems": 3,
"maxItems": 3,
"propertyOrder" : 3
},
"shutdown-enabled": {
"type": "boolean",
"title":"Shutdown enabled",
"default": false,
"propertyOrder" : 4
}
},
"additionalProperties": false
}