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