2016-12-09 13:21:32 +01:00
|
|
|
{
|
2017-02-09 20:10:57 +01:00
|
|
|
"type":"object",
|
|
|
|
"script" : "candle.py",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_candle_header",
|
2017-02-09 20:10:57 +01:00
|
|
|
"required":true,
|
|
|
|
"properties":{
|
|
|
|
"candles": {
|
|
|
|
"type": "string",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_whichleds",
|
2017-02-09 20:10:57 +01:00
|
|
|
"enum" : ["all","all-together","list"],
|
|
|
|
"default" : "all",
|
|
|
|
"options" : {
|
|
|
|
"enum_titles" : ["edt_eff_enum_all", "edt_eff_enum_all-together", "edt_eff_enum_list"]
|
|
|
|
},
|
|
|
|
"propertyOrder" : 1
|
2017-01-04 10:55:10 +01:00
|
|
|
},
|
2017-02-09 20:10:57 +01:00
|
|
|
"ledlist": {
|
|
|
|
"type": "string",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_ledlist",
|
2017-02-09 20:10:57 +01:00
|
|
|
"default" : "1,11,21",
|
2017-04-27 14:29:07 +02:00
|
|
|
"options": {
|
|
|
|
"dependencies": {
|
|
|
|
"candles": "list"
|
|
|
|
}
|
|
|
|
},
|
2017-02-09 20:10:57 +01:00
|
|
|
"propertyOrder" : 2
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"type": "array",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_color",
|
2017-02-09 20:10:57 +01:00
|
|
|
"format":"colorpicker",
|
|
|
|
"default": [255,138,0],
|
|
|
|
"items" : {
|
|
|
|
"type": "integer",
|
|
|
|
"minimum": 0,
|
|
|
|
"maximum": 255
|
|
|
|
},
|
|
|
|
"minItems": 3,
|
|
|
|
"maxItems": 3,
|
|
|
|
"propertyOrder" : 3
|
|
|
|
},
|
|
|
|
"colorShift": {
|
2017-04-27 14:29:07 +02:00
|
|
|
"type": "integer",
|
|
|
|
"title":"edt_eff_colorshift",
|
2017-02-09 20:10:57 +01:00
|
|
|
"default": 1,
|
|
|
|
"minimum" : 0,
|
|
|
|
"maximum": 30,
|
|
|
|
"append" : "edt_append_percent",
|
|
|
|
"propertyOrder" : 4
|
|
|
|
},
|
|
|
|
"brightness": {
|
2017-04-27 14:29:07 +02:00
|
|
|
"type": "integer",
|
|
|
|
"title":"edt_eff_brightness",
|
2017-02-09 20:10:57 +01:00
|
|
|
"default": 100,
|
|
|
|
"minimum" : 1,
|
|
|
|
"maximum": 100,
|
|
|
|
"step" : 10,
|
|
|
|
"append" : "edt_append_percent",
|
|
|
|
"propertyOrder" : 5
|
|
|
|
},
|
|
|
|
"sleepTime": {
|
|
|
|
"type": "number",
|
2017-04-27 14:29:07 +02:00
|
|
|
"title":"edt_eff_sleeptime",
|
2017-02-09 20:10:57 +01:00
|
|
|
"default": 0.15,
|
|
|
|
"minimum" : 0.01,
|
|
|
|
"maximum": 1,
|
|
|
|
"step": 0.01,
|
|
|
|
"append" : "edt_append_s",
|
|
|
|
"propertyOrder" : 6
|
|
|
|
}
|
2016-12-09 13:21:32 +01:00
|
|
|
},
|
2017-02-09 20:10:57 +01:00
|
|
|
"additionalProperties": false
|
2016-12-09 13:21:32 +01:00
|
|
|
}
|