mirror of
https://github.com/home-assistant/core.git
synced 2025-04-29 11:47:50 +00:00
Add advanced selectors to Light service definitions (#46732)
This commit is contained in:
parent
1d62bf8875
commit
c0cdc0fe79
@ -1,12 +1,12 @@
|
|||||||
# Describes the format for available light services
|
# Describes the format for available light services
|
||||||
|
|
||||||
turn_on:
|
turn_on:
|
||||||
description: Turn a light on.
|
description: Turn a light on
|
||||||
target:
|
target:
|
||||||
fields:
|
fields:
|
||||||
transition:
|
transition:
|
||||||
name: Transition
|
name: Transition
|
||||||
description: Duration in seconds it takes to get to next state
|
description: Duration in seconds it takes to get to next state.
|
||||||
example: 60
|
example: 60
|
||||||
selector:
|
selector:
|
||||||
number:
|
number:
|
||||||
@ -16,27 +16,218 @@ turn_on:
|
|||||||
unit_of_measurement: seconds
|
unit_of_measurement: seconds
|
||||||
mode: slider
|
mode: slider
|
||||||
rgb_color:
|
rgb_color:
|
||||||
|
name: RGB-color
|
||||||
description: Color for the light in RGB-format.
|
description: Color for the light in RGB-format.
|
||||||
|
advanced: true
|
||||||
example: "[255, 100, 100]"
|
example: "[255, 100, 100]"
|
||||||
|
selector:
|
||||||
|
object:
|
||||||
color_name:
|
color_name:
|
||||||
|
name: Color name
|
||||||
description: A human readable color name.
|
description: A human readable color name.
|
||||||
|
advanced: true
|
||||||
example: "red"
|
example: "red"
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
- "aliceblue"
|
||||||
|
- "antiquewhite"
|
||||||
|
- "aqua"
|
||||||
|
- "aquamarine"
|
||||||
|
- "azure"
|
||||||
|
- "beige"
|
||||||
|
- "bisque"
|
||||||
|
- "black"
|
||||||
|
- "blanchedalmond"
|
||||||
|
- "blue"
|
||||||
|
- "blueviolet"
|
||||||
|
- "brown"
|
||||||
|
- "burlywood"
|
||||||
|
- "cadetblue"
|
||||||
|
- "chartreuse"
|
||||||
|
- "chocolate"
|
||||||
|
- "coral"
|
||||||
|
- "cornflowerblue"
|
||||||
|
- "cornsilk"
|
||||||
|
- "crimson"
|
||||||
|
- "cyan"
|
||||||
|
- "darkblue"
|
||||||
|
- "darkcyan"
|
||||||
|
- "darkgoldenrod"
|
||||||
|
- "darkgray"
|
||||||
|
- "darkgreen"
|
||||||
|
- "darkgrey"
|
||||||
|
- "darkkhaki"
|
||||||
|
- "darkmagenta"
|
||||||
|
- "darkolivegreen"
|
||||||
|
- "darkorange"
|
||||||
|
- "darkorchid"
|
||||||
|
- "darkred"
|
||||||
|
- "darksalmon"
|
||||||
|
- "darkseagreen"
|
||||||
|
- "darkslateblue"
|
||||||
|
- "darkslategray"
|
||||||
|
- "darkslategrey"
|
||||||
|
- "darkturquoise"
|
||||||
|
- "darkviolet"
|
||||||
|
- "deeppink"
|
||||||
|
- "deepskyblue"
|
||||||
|
- "dimgray"
|
||||||
|
- "dimgrey"
|
||||||
|
- "dodgerblue"
|
||||||
|
- "firebrick"
|
||||||
|
- "floralwhite"
|
||||||
|
- "forestgreen"
|
||||||
|
- "fuchsia"
|
||||||
|
- "gainsboro"
|
||||||
|
- "ghostwhite"
|
||||||
|
- "gold"
|
||||||
|
- "goldenrod"
|
||||||
|
- "gray"
|
||||||
|
- "green"
|
||||||
|
- "greenyellow"
|
||||||
|
- "grey"
|
||||||
|
- "honeydew"
|
||||||
|
- "hotpink"
|
||||||
|
- "indianred"
|
||||||
|
- "indigo"
|
||||||
|
- "ivory"
|
||||||
|
- "khaki"
|
||||||
|
- "lavender"
|
||||||
|
- "lavenderblush"
|
||||||
|
- "lawngreen"
|
||||||
|
- "lemonchiffon"
|
||||||
|
- "lightblue"
|
||||||
|
- "lightcoral"
|
||||||
|
- "lightcyan"
|
||||||
|
- "lightgoldenrodyellow"
|
||||||
|
- "lightgray"
|
||||||
|
- "lightgreen"
|
||||||
|
- "lightgrey"
|
||||||
|
- "lightpink"
|
||||||
|
- "lightsalmon"
|
||||||
|
- "lightseagreen"
|
||||||
|
- "lightskyblue"
|
||||||
|
- "lightslategray"
|
||||||
|
- "lightslategrey"
|
||||||
|
- "lightsteelblue"
|
||||||
|
- "lightyellow"
|
||||||
|
- "lime"
|
||||||
|
- "limegreen"
|
||||||
|
- "linen"
|
||||||
|
- "magenta"
|
||||||
|
- "maroon"
|
||||||
|
- "mediumaquamarine"
|
||||||
|
- "mediumblue"
|
||||||
|
- "mediumorchid"
|
||||||
|
- "mediumpurple"
|
||||||
|
- "mediumseagreen"
|
||||||
|
- "mediumslateblue"
|
||||||
|
- "mediumspringgreen"
|
||||||
|
- "mediumturquoise"
|
||||||
|
- "mediumvioletred"
|
||||||
|
- "midnightblue"
|
||||||
|
- "mintcream"
|
||||||
|
- "mistyrose"
|
||||||
|
- "moccasin"
|
||||||
|
- "navajowhite"
|
||||||
|
- "navy"
|
||||||
|
- "navyblue"
|
||||||
|
- "oldlace"
|
||||||
|
- "olive"
|
||||||
|
- "olivedrab"
|
||||||
|
- "orange"
|
||||||
|
- "orangered"
|
||||||
|
- "orchid"
|
||||||
|
- "palegoldenrod"
|
||||||
|
- "palegreen"
|
||||||
|
- "paleturquoise"
|
||||||
|
- "palevioletred"
|
||||||
|
- "papayawhip"
|
||||||
|
- "peachpuff"
|
||||||
|
- "peru"
|
||||||
|
- "pink"
|
||||||
|
- "plum"
|
||||||
|
- "powderblue"
|
||||||
|
- "purple"
|
||||||
|
- "red"
|
||||||
|
- "rosybrown"
|
||||||
|
- "royalblue"
|
||||||
|
- "saddlebrown"
|
||||||
|
- "salmon"
|
||||||
|
- "sandybrown"
|
||||||
|
- "seagreen"
|
||||||
|
- "seashell"
|
||||||
|
- "sienna"
|
||||||
|
- "silver"
|
||||||
|
- "skyblue"
|
||||||
|
- "slateblue"
|
||||||
|
- "slategray"
|
||||||
|
- "slategrey"
|
||||||
|
- "snow"
|
||||||
|
- "springgreen"
|
||||||
|
- "steelblue"
|
||||||
|
- "tan"
|
||||||
|
- "teal"
|
||||||
|
- "thistle"
|
||||||
|
- "tomato"
|
||||||
|
- "turquoise"
|
||||||
|
- "violet"
|
||||||
|
- "wheat"
|
||||||
|
- "white"
|
||||||
|
- "whitesmoke"
|
||||||
|
- "yellow"
|
||||||
|
- "yellowgreen"
|
||||||
hs_color:
|
hs_color:
|
||||||
|
name: Hue/Sat color
|
||||||
description:
|
description:
|
||||||
Color for the light in hue/sat format. Hue is 0-360 and Sat is 0-100.
|
Color for the light in hue/sat format. Hue is 0-360 and Sat is 0-100.
|
||||||
|
advanced: true
|
||||||
example: "[300, 70]"
|
example: "[300, 70]"
|
||||||
|
selector:
|
||||||
|
object:
|
||||||
xy_color:
|
xy_color:
|
||||||
|
name: XY-color
|
||||||
description: Color for the light in XY-format.
|
description: Color for the light in XY-format.
|
||||||
|
advanced: true
|
||||||
example: "[0.52, 0.43]"
|
example: "[0.52, 0.43]"
|
||||||
|
selector:
|
||||||
|
object:
|
||||||
color_temp:
|
color_temp:
|
||||||
|
name: Color temperature (mireds)
|
||||||
description: Color temperature for the light in mireds.
|
description: Color temperature for the light in mireds.
|
||||||
|
advanced: true
|
||||||
example: 250
|
example: 250
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 153
|
||||||
|
max: 500
|
||||||
|
step: 1
|
||||||
|
unit_of_measurement: mireds
|
||||||
|
mode: slider
|
||||||
kelvin:
|
kelvin:
|
||||||
|
name: Color temperature (Kelvin)
|
||||||
description: Color temperature for the light in Kelvin.
|
description: Color temperature for the light in Kelvin.
|
||||||
|
advanced: true
|
||||||
example: 4000
|
example: 4000
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 2000
|
||||||
|
max: 6500
|
||||||
|
step: 100
|
||||||
|
unit_of_measurement: K
|
||||||
|
mode: slider
|
||||||
white_value:
|
white_value:
|
||||||
|
name: White level
|
||||||
description: Number between 0..255 indicating level of white.
|
description: Number between 0..255 indicating level of white.
|
||||||
|
advanced: true
|
||||||
example: "250"
|
example: "250"
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 0
|
||||||
|
max: 255
|
||||||
|
step: 1
|
||||||
|
mode: slider
|
||||||
brightness:
|
brightness:
|
||||||
name: Brightness value
|
name: Brightness value
|
||||||
description:
|
description:
|
||||||
@ -66,99 +257,369 @@ turn_on:
|
|||||||
unit_of_measurement: "%"
|
unit_of_measurement: "%"
|
||||||
mode: slider
|
mode: slider
|
||||||
brightness_step:
|
brightness_step:
|
||||||
|
name: Brightness step value
|
||||||
description: Change brightness by an amount. Should be between -255..255.
|
description: Change brightness by an amount. Should be between -255..255.
|
||||||
|
advanced: true
|
||||||
example: -25.5
|
example: -25.5
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: -225
|
||||||
|
max: 255
|
||||||
|
step: 1
|
||||||
|
mode: slider
|
||||||
brightness_step_pct:
|
brightness_step_pct:
|
||||||
|
name: Brightness step
|
||||||
description:
|
description:
|
||||||
Change brightness by a percentage. Should be between -100..100.
|
Change brightness by a percentage. Should be between -100..100.
|
||||||
example: -10
|
example: -10
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: -100
|
||||||
|
max: 100
|
||||||
|
step: 1
|
||||||
|
unit_of_measurement: "%"
|
||||||
|
mode: slider
|
||||||
profile:
|
profile:
|
||||||
|
name: Profile
|
||||||
description: Name of a light profile to use.
|
description: Name of a light profile to use.
|
||||||
|
advanced: true
|
||||||
example: relax
|
example: relax
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
flash:
|
flash:
|
||||||
|
name: Flash
|
||||||
description: If the light should flash. Valid values are short and long.
|
description: If the light should flash. Valid values are short and long.
|
||||||
|
advanced: true
|
||||||
example: short
|
example: short
|
||||||
values:
|
values:
|
||||||
- short
|
- short
|
||||||
- long
|
- long
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
- long
|
||||||
|
- short
|
||||||
effect:
|
effect:
|
||||||
|
name: Effect
|
||||||
description: Light effect.
|
description: Light effect.
|
||||||
example: random
|
example: random
|
||||||
values:
|
values:
|
||||||
- colorloop
|
- colorloop
|
||||||
- random
|
- random
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
|
||||||
turn_off:
|
turn_off:
|
||||||
description: Turn a light off.
|
description: Turn a light off
|
||||||
|
target:
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
|
||||||
description: Name(s) of entities to turn off.
|
|
||||||
example: "light.kitchen"
|
|
||||||
transition:
|
transition:
|
||||||
|
name: Transition
|
||||||
description: Duration in seconds it takes to get to next state.
|
description: Duration in seconds it takes to get to next state.
|
||||||
example: 60
|
example: 60
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 0
|
||||||
|
max: 300
|
||||||
|
step: 1
|
||||||
|
unit_of_measurement: seconds
|
||||||
|
mode: slider
|
||||||
flash:
|
flash:
|
||||||
|
name: Flash
|
||||||
description: If the light should flash. Valid values are short and long.
|
description: If the light should flash. Valid values are short and long.
|
||||||
|
advanced: true
|
||||||
example: short
|
example: short
|
||||||
values:
|
values:
|
||||||
- short
|
- short
|
||||||
- long
|
- long
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
- long
|
||||||
|
- short
|
||||||
|
|
||||||
toggle:
|
toggle:
|
||||||
description: Toggles a light.
|
description: Toggles a light
|
||||||
|
target:
|
||||||
fields:
|
fields:
|
||||||
entity_id:
|
|
||||||
description: Name(s) of entities to turn on
|
|
||||||
example: "light.kitchen"
|
|
||||||
transition:
|
transition:
|
||||||
description: Duration in seconds it takes to get to next state
|
name: Transition
|
||||||
|
description: Duration in seconds it takes to get to next state.
|
||||||
example: 60
|
example: 60
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 0
|
||||||
|
max: 300
|
||||||
|
step: 1
|
||||||
|
unit_of_measurement: seconds
|
||||||
|
mode: slider
|
||||||
rgb_color:
|
rgb_color:
|
||||||
|
name: RGB-color
|
||||||
description: Color for the light in RGB-format.
|
description: Color for the light in RGB-format.
|
||||||
|
advanced: true
|
||||||
example: "[255, 100, 100]"
|
example: "[255, 100, 100]"
|
||||||
|
selector:
|
||||||
|
object:
|
||||||
color_name:
|
color_name:
|
||||||
|
name: Color name
|
||||||
description: A human readable color name.
|
description: A human readable color name.
|
||||||
|
advanced: true
|
||||||
example: "red"
|
example: "red"
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
- "aliceblue"
|
||||||
|
- "antiquewhite"
|
||||||
|
- "aqua"
|
||||||
|
- "aquamarine"
|
||||||
|
- "azure"
|
||||||
|
- "beige"
|
||||||
|
- "bisque"
|
||||||
|
- "black"
|
||||||
|
- "blanchedalmond"
|
||||||
|
- "blue"
|
||||||
|
- "blueviolet"
|
||||||
|
- "brown"
|
||||||
|
- "burlywood"
|
||||||
|
- "cadetblue"
|
||||||
|
- "chartreuse"
|
||||||
|
- "chocolate"
|
||||||
|
- "coral"
|
||||||
|
- "cornflowerblue"
|
||||||
|
- "cornsilk"
|
||||||
|
- "crimson"
|
||||||
|
- "cyan"
|
||||||
|
- "darkblue"
|
||||||
|
- "darkcyan"
|
||||||
|
- "darkgoldenrod"
|
||||||
|
- "darkgray"
|
||||||
|
- "darkgreen"
|
||||||
|
- "darkgrey"
|
||||||
|
- "darkkhaki"
|
||||||
|
- "darkmagenta"
|
||||||
|
- "darkolivegreen"
|
||||||
|
- "darkorange"
|
||||||
|
- "darkorchid"
|
||||||
|
- "darkred"
|
||||||
|
- "darksalmon"
|
||||||
|
- "darkseagreen"
|
||||||
|
- "darkslateblue"
|
||||||
|
- "darkslategray"
|
||||||
|
- "darkslategrey"
|
||||||
|
- "darkturquoise"
|
||||||
|
- "darkviolet"
|
||||||
|
- "deeppink"
|
||||||
|
- "deepskyblue"
|
||||||
|
- "dimgray"
|
||||||
|
- "dimgrey"
|
||||||
|
- "dodgerblue"
|
||||||
|
- "firebrick"
|
||||||
|
- "floralwhite"
|
||||||
|
- "forestgreen"
|
||||||
|
- "fuchsia"
|
||||||
|
- "gainsboro"
|
||||||
|
- "ghostwhite"
|
||||||
|
- "gold"
|
||||||
|
- "goldenrod"
|
||||||
|
- "gray"
|
||||||
|
- "green"
|
||||||
|
- "greenyellow"
|
||||||
|
- "grey"
|
||||||
|
- "honeydew"
|
||||||
|
- "hotpink"
|
||||||
|
- "indianred"
|
||||||
|
- "indigo"
|
||||||
|
- "ivory"
|
||||||
|
- "khaki"
|
||||||
|
- "lavender"
|
||||||
|
- "lavenderblush"
|
||||||
|
- "lawngreen"
|
||||||
|
- "lemonchiffon"
|
||||||
|
- "lightblue"
|
||||||
|
- "lightcoral"
|
||||||
|
- "lightcyan"
|
||||||
|
- "lightgoldenrodyellow"
|
||||||
|
- "lightgray"
|
||||||
|
- "lightgreen"
|
||||||
|
- "lightgrey"
|
||||||
|
- "lightpink"
|
||||||
|
- "lightsalmon"
|
||||||
|
- "lightseagreen"
|
||||||
|
- "lightskyblue"
|
||||||
|
- "lightslategray"
|
||||||
|
- "lightslategrey"
|
||||||
|
- "lightsteelblue"
|
||||||
|
- "lightyellow"
|
||||||
|
- "lime"
|
||||||
|
- "limegreen"
|
||||||
|
- "linen"
|
||||||
|
- "magenta"
|
||||||
|
- "maroon"
|
||||||
|
- "mediumaquamarine"
|
||||||
|
- "mediumblue"
|
||||||
|
- "mediumorchid"
|
||||||
|
- "mediumpurple"
|
||||||
|
- "mediumseagreen"
|
||||||
|
- "mediumslateblue"
|
||||||
|
- "mediumspringgreen"
|
||||||
|
- "mediumturquoise"
|
||||||
|
- "mediumvioletred"
|
||||||
|
- "midnightblue"
|
||||||
|
- "mintcream"
|
||||||
|
- "mistyrose"
|
||||||
|
- "moccasin"
|
||||||
|
- "navajowhite"
|
||||||
|
- "navy"
|
||||||
|
- "navyblue"
|
||||||
|
- "oldlace"
|
||||||
|
- "olive"
|
||||||
|
- "olivedrab"
|
||||||
|
- "orange"
|
||||||
|
- "orangered"
|
||||||
|
- "orchid"
|
||||||
|
- "palegoldenrod"
|
||||||
|
- "palegreen"
|
||||||
|
- "paleturquoise"
|
||||||
|
- "palevioletred"
|
||||||
|
- "papayawhip"
|
||||||
|
- "peachpuff"
|
||||||
|
- "peru"
|
||||||
|
- "pink"
|
||||||
|
- "plum"
|
||||||
|
- "powderblue"
|
||||||
|
- "purple"
|
||||||
|
- "red"
|
||||||
|
- "rosybrown"
|
||||||
|
- "royalblue"
|
||||||
|
- "saddlebrown"
|
||||||
|
- "salmon"
|
||||||
|
- "sandybrown"
|
||||||
|
- "seagreen"
|
||||||
|
- "seashell"
|
||||||
|
- "sienna"
|
||||||
|
- "silver"
|
||||||
|
- "skyblue"
|
||||||
|
- "slateblue"
|
||||||
|
- "slategray"
|
||||||
|
- "slategrey"
|
||||||
|
- "snow"
|
||||||
|
- "springgreen"
|
||||||
|
- "steelblue"
|
||||||
|
- "tan"
|
||||||
|
- "teal"
|
||||||
|
- "thistle"
|
||||||
|
- "tomato"
|
||||||
|
- "turquoise"
|
||||||
|
- "violet"
|
||||||
|
- "wheat"
|
||||||
|
- "white"
|
||||||
|
- "whitesmoke"
|
||||||
|
- "yellow"
|
||||||
|
- "yellowgreen"
|
||||||
hs_color:
|
hs_color:
|
||||||
|
name: Hue/Sat color
|
||||||
description:
|
description:
|
||||||
Color for the light in hue/sat format. Hue is 0-360 and Sat is 0-100.
|
Color for the light in hue/sat format. Hue is 0-360 and Sat is 0-100.
|
||||||
|
advanced: true
|
||||||
example: "[300, 70]"
|
example: "[300, 70]"
|
||||||
|
selector:
|
||||||
|
object:
|
||||||
xy_color:
|
xy_color:
|
||||||
|
name: XY-color
|
||||||
description: Color for the light in XY-format.
|
description: Color for the light in XY-format.
|
||||||
|
advanced: true
|
||||||
example: "[0.52, 0.43]"
|
example: "[0.52, 0.43]"
|
||||||
|
selector:
|
||||||
|
object:
|
||||||
color_temp:
|
color_temp:
|
||||||
|
name: Color temperature (mireds)
|
||||||
description: Color temperature for the light in mireds.
|
description: Color temperature for the light in mireds.
|
||||||
|
advanced: true
|
||||||
example: 250
|
example: 250
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 153
|
||||||
|
max: 500
|
||||||
|
step: 1
|
||||||
|
unit_of_measurement: mireds
|
||||||
|
mode: slider
|
||||||
kelvin:
|
kelvin:
|
||||||
|
name: Color temperature (Kelvin)
|
||||||
description: Color temperature for the light in Kelvin.
|
description: Color temperature for the light in Kelvin.
|
||||||
|
advanced: true
|
||||||
example: 4000
|
example: 4000
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 2000
|
||||||
|
max: 6500
|
||||||
|
step: 100
|
||||||
|
unit_of_measurement: K
|
||||||
|
mode: slider
|
||||||
white_value:
|
white_value:
|
||||||
|
name: White level
|
||||||
description: Number between 0..255 indicating level of white.
|
description: Number between 0..255 indicating level of white.
|
||||||
|
advanced: true
|
||||||
example: "250"
|
example: "250"
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 0
|
||||||
|
max: 255
|
||||||
|
step: 1
|
||||||
|
mode: slider
|
||||||
brightness:
|
brightness:
|
||||||
|
name: Brightness value
|
||||||
description:
|
description:
|
||||||
Number between 0..255 indicating brightness, where 0 turns the light
|
Number between 0..255 indicating brightness, where 0 turns the light
|
||||||
off, 1 is the minimum brightness and 255 is the maximum brightness
|
off, 1 is the minimum brightness and 255 is the maximum brightness
|
||||||
supported by the light.
|
supported by the light.
|
||||||
|
advanced: true
|
||||||
example: 120
|
example: 120
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 0
|
||||||
|
max: 255
|
||||||
|
step: 1
|
||||||
|
mode: slider
|
||||||
brightness_pct:
|
brightness_pct:
|
||||||
|
name: Brightness
|
||||||
description:
|
description:
|
||||||
Number between 0..100 indicating percentage of full brightness, where 0
|
Number between 0..100 indicating percentage of full brightness, where 0
|
||||||
turns the light off, 1 is the minimum brightness and 100 is the maximum
|
turns the light off, 1 is the minimum brightness and 100 is the maximum
|
||||||
brightness supported by the light.
|
brightness supported by the light.
|
||||||
example: 47
|
example: 47
|
||||||
|
selector:
|
||||||
|
number:
|
||||||
|
min: 0
|
||||||
|
max: 100
|
||||||
|
step: 1
|
||||||
|
unit_of_measurement: "%"
|
||||||
|
mode: slider
|
||||||
profile:
|
profile:
|
||||||
|
name: Profile
|
||||||
description: Name of a light profile to use.
|
description: Name of a light profile to use.
|
||||||
|
advanced: true
|
||||||
example: relax
|
example: relax
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
flash:
|
flash:
|
||||||
|
name: Flash
|
||||||
description: If the light should flash. Valid values are short and long.
|
description: If the light should flash. Valid values are short and long.
|
||||||
|
advanced: true
|
||||||
example: short
|
example: short
|
||||||
values:
|
values:
|
||||||
- short
|
- short
|
||||||
- long
|
- long
|
||||||
|
selector:
|
||||||
|
select:
|
||||||
|
options:
|
||||||
|
- long
|
||||||
|
- short
|
||||||
effect:
|
effect:
|
||||||
|
name: Effect
|
||||||
description: Light effect.
|
description: Light effect.
|
||||||
example: random
|
example: random
|
||||||
values:
|
values:
|
||||||
- colorloop
|
- colorloop
|
||||||
- random
|
- random
|
||||||
|
selector:
|
||||||
|
text:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user