Add examples to lights service (#27192)

This commit is contained in:
Santobert authored and Paulus Schoutsen committed 2019-10-04 08:46:23 -07:00
1 parent 9a5c1fbaed
commit 3547b8691e
1 file changed
+8 -3
+8 -3
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