mirror of
https://github.com/home-assistant/core.git
synced 2025-07-27 07:07:28 +00:00
Add examples to lights service (#27192)
This commit is contained in:
parent
9a5c1fbaed
commit
3547b8691e
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user