2015-09-27 06:17:04 +00:00
|
|
|
# Describes the format for available light services
|
|
|
|
|
|
|
|
turn_on:
|
|
|
|
description: Turn a light on
|
|
|
|
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Name(s) of entities to turn on
|
|
|
|
example: 'light.kitchen'
|
|
|
|
|
|
|
|
transition:
|
|
|
|
description: Duration in seconds it takes to get to next state
|
|
|
|
example: 60
|
|
|
|
|
|
|
|
rgb_color:
|
|
|
|
description: Color for the light in RGB-format
|
|
|
|
example: '[255, 100, 100]'
|
|
|
|
|
2016-05-17 07:06:55 +00:00
|
|
|
color_name:
|
|
|
|
description: A human readable color name
|
|
|
|
example: 'red'
|
|
|
|
|
2015-09-27 06:17:04 +00:00
|
|
|
xy_color:
|
|
|
|
description: Color for the light in XY-format
|
|
|
|
example: '[0.52, 0.43]'
|
|
|
|
|
2015-10-28 23:12:16 +00:00
|
|
|
color_temp:
|
2015-10-27 22:34:49 +00:00
|
|
|
description: Color temperature for the light in mireds (154-500)
|
|
|
|
example: '250'
|
|
|
|
|
2015-09-27 06:17:04 +00:00
|
|
|
brightness:
|
|
|
|
description: Number between 0..255 indicating brightness
|
|
|
|
example: 120
|
|
|
|
|
|
|
|
profile:
|
|
|
|
description: Name of a light profile to use
|
|
|
|
example: relax
|
|
|
|
|
|
|
|
flash:
|
|
|
|
description: If the light should flash
|
|
|
|
values:
|
|
|
|
- short
|
|
|
|
- long
|
|
|
|
|
|
|
|
effect:
|
|
|
|
description: Light effect
|
|
|
|
values:
|
|
|
|
- colorloop
|
2015-12-25 03:10:27 +00:00
|
|
|
- random
|
2015-09-27 06:17:04 +00:00
|
|
|
|
|
|
|
turn_off:
|
|
|
|
description: Turn a light off
|
|
|
|
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Name(s) of entities to turn off
|
|
|
|
example: 'light.kitchen'
|
|
|
|
|
|
|
|
transition:
|
|
|
|
description: Duration in seconds it takes to get to next state
|
|
|
|
example: 60
|
2016-01-16 15:45:05 +00:00
|
|
|
|
|
|
|
toggle:
|
|
|
|
description: Toggles a light
|
|
|
|
|
|
|
|
fields:
|
|
|
|
entity_id:
|
|
|
|
description: Name(s) of entities to toggle
|
|
|
|
example: 'light.kitchen'
|
|
|
|
|
|
|
|
transition:
|
|
|
|
description: Duration in seconds it takes to get to next state
|
|
|
|
example: 60
|