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 :
2017-04-29 22:04:20 +00:00
description : Color temperature for the light in mireds
2017-05-17 06:00:46 +00:00
example : 250
kelvin :
description : Color temperature for the light in Kelvin
example : 4000
2015-10-27 22:34:49 +00:00
2016-09-21 04:26:40 +00:00
white_value :
description : Number between 0..255 indicating level of white
example : '250'
2015-09-27 06:17:04 +00:00
brightness :
description : Number between 0..255 indicating brightness
example : 120
2017-05-17 06:00:46 +00:00
brightness_pct :
description : Number between 0..100 indicating percentage of full brightness
example : 47
2015-09-27 06:17:04 +00:00
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
2016-09-04 10:04:12 +00:00
flash :
description : If the light should flash
values :
- short
- long
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
2016-11-18 06:14:06 +00:00
hue_activate_scene :
description : Activate a hue scene stored in the hue hub
fields :
group_name :
description : Name of hue group/room from the hue app
example : "Living Room"
scene_name :
description : Name of hue scene from the hue app
example : "Energize"
2017-06-27 05:05:32 +00:00
lifx_set_state :
description : Set a color/brightness and possibliy turn the light on/off
fields :
entity_id :
description : Name(s) of entities to set a state on
example : 'light.garage'
'...' :
description : All turn_on parameters can be used to specify a color
infrared :
description : Automatic infrared level (0..255) when light brightness is low
example : 255
2017-07-14 02:38:36 +00:00
zones :
description : List of zone numbers to affect (8 per LIFX Z, starts at 0)
example : '[0,5]'
2017-06-27 05:05:32 +00:00
transition :
description : Duration in seconds it takes to get to the final state
example : 10
power :
description : Turn the light on (True) or off (False). Leave out to keep the power as it is.
example : True
lifx_effect_pulse :
description : Run a flash effect by changing to a color and back.
fields :
entity_id :
description : Name(s) of entities to run the effect on
example : 'light.kitchen'
mode :
description: 'Decides how colors are changed. Possible values : blink, breathe, ping, strobe, solid'
example : strobe
brightness :
description : Number between 0..255 indicating brightness of the temporary color
example : 120
color_name :
description : A human readable color name
example : 'red'
rgb_color :
description : The temporary color in RGB-format
example : '[255, 100, 100]'
period :
description : Duration of the effect in seconds (default 1.0)
example : 3
cycles :
description : Number of times the effect should run (default 1.0)
example : 2
power_on :
description : Powered off lights are temporarily turned on during the effect (default True)
example : False
lifx_effect_colorloop :
description : Run an effect with looping colors.
fields :
entity_id :
description : Name(s) of entities to run the effect on
example : 'light.disco1, light.disco2, light.disco3'
brightness :
description : Number between 0 and 255 indicating brightness of the effect. Leave this out to maintain the current brightness of each participating light
example : 120
period :
description : Duration (in seconds) between color changes (default 60)
example : 180
change :
description : Hue movement per period, in degrees on a color wheel (ranges from 0 to 360, default 20)
example : 45
spread :
description : Maximum hue difference between participating lights, in degrees on a color wheel (ranges from 0 to 360, default 30)
example : 0
power_on :
description : Powered off lights are temporarily turned on during the effect (default True)
example : False
lifx_effect_stop :
description : Stop a running effect.
fields :
entity_id :
description : Name(s) of entities to stop effects on. Leave out to stop effects everywhere.
example : 'light.bedroom'