Add examples to lights service (#27192)

This commit is contained in:
Santobert 2019-10-04 17:46:23 +02:00 committed by Paulus Schoutsen
parent 9a5c1fbaed
commit 3547b8691e

View File

@ -40,12 +40,14 @@ turn_on:
description: Name of a light profile to use. description: Name of a light profile to use.
example: relax example: relax
flash: flash:
description: If the light should flash. description: If the light should flash. Valid values are short and long.
example: short
values: values:
- short - short
- long - long
effect: effect:
description: Light effect. description: Light effect.
example: random
values: values:
- colorloop - colorloop
- random - random
@ -60,7 +62,8 @@ turn_off:
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
flash: flash:
description: If the light should flash. description: If the light should flash. Valid values are short and long.
example: short
values: values:
- short - short
- long - long
@ -105,12 +108,14 @@ toggle:
description: Name of a light profile to use. description: Name of a light profile to use.
example: relax example: relax
flash: flash:
description: If the light should flash. description: If the light should flash. Valid values are short and long.
example: short
values: values:
- short - short
- long - long
effect: effect:
description: Light effect. description: Light effect.
example: random
values: values:
- colorloop - colorloop
- random - random