2019-03-24 12:01:12 +00:00
set_mode :
2021-05-15 16:24:52 +00:00
name : Set mode
2019-03-24 12:01:12 +00:00
description : Set a operation mode.
2021-05-15 16:24:52 +00:00
target :
entity :
integration : yeelight
domain : light
2019-03-24 12:01:12 +00:00
fields :
mode :
2021-05-15 16:24:52 +00:00
name : Mode
description : Operation mode.
required : true
selector :
select :
options :
- 'color_flow'
- 'hsv'
- 'last'
- 'moonlight'
- 'normal'
- 'rgb'
2019-09-06 18:46:14 +00:00
set_color_scene :
2021-05-15 16:24:52 +00:00
name : Set color scene
2019-09-06 18:46:14 +00:00
description : Changes the light to the specified RGB color and brightness. If the light is off, it will be turned on.
2021-05-15 16:24:52 +00:00
target :
entity :
integration : yeelight
domain : light
2019-09-06 18:46:14 +00:00
fields :
rgb_color :
2021-05-15 16:24:52 +00:00
name : RGB color
2019-09-06 18:46:14 +00:00
description : Color for the light in RGB-format.
2020-04-05 15:27:16 +00:00
example : "[255, 100, 100]"
2021-05-15 16:24:52 +00:00
selector :
object :
2019-09-06 18:46:14 +00:00
brightness :
2021-05-15 16:24:52 +00:00
name : Brightness
description : The brightness value to set.
selector :
number :
min : 0
max : 100
unit_of_measurement : "%"
2019-09-06 18:46:14 +00:00
set_hsv_scene :
2021-05-15 16:24:52 +00:00
name : Set HSV scene
2019-09-06 18:46:14 +00:00
description : Changes the light to the specified HSV color and brightness. If the light is off, it will be turned on.
2021-05-15 16:24:52 +00:00
target :
entity :
integration : yeelight
domain : light
2019-09-06 18:46:14 +00:00
fields :
hs_color :
2021-05-15 16:24:52 +00:00
name : Hue/sat color
2019-09-06 18:46:14 +00:00
description : Color for the light in hue/sat format. Hue is 0-359 and Sat is 0-100.
2020-04-05 15:27:16 +00:00
example : "[300, 70]"
2021-05-15 16:24:52 +00:00
selector :
object :
2019-09-06 18:46:14 +00:00
brightness :
2021-05-15 16:24:52 +00:00
name : Brightness
description : The brightness value to set.
selector :
number :
min : 0
max : 100
unit_of_measurement : "%"
2019-09-06 18:46:14 +00:00
set_color_temp_scene :
2021-05-15 16:24:52 +00:00
name : Set color temperature scene
2019-09-06 18:46:14 +00:00
description : Changes the light to the specified color temperature. If the light is off, it will be turned on.
2021-05-15 16:24:52 +00:00
target :
entity :
integration : yeelight
domain : light
2019-09-06 18:46:14 +00:00
fields :
kelvin :
2021-05-15 16:24:52 +00:00
name : Kelvin
2019-09-06 18:46:14 +00:00
description : Color temperature for the light in Kelvin.
example : 4000
2021-05-15 16:24:52 +00:00
selector :
number :
min : 1700
max : 6500
step : 100
unit_of_measurement : K
2019-09-06 18:46:14 +00:00
brightness :
2021-05-15 16:24:52 +00:00
name : Brightness
description : The brightness value to set.
selector :
number :
min : 0
max : 100
2019-09-06 18:46:14 +00:00
set_color_flow_scene :
2021-05-15 16:24:52 +00:00
name : Set color flow scene
2019-09-06 18:46:14 +00:00
description : starts a color flow. If the light is off, it will be turned on.
2021-05-15 16:24:52 +00:00
target :
entity :
integration : yeelight
domain : light
2019-09-06 18:46:14 +00:00
fields :
count :
2021-05-15 16:24:52 +00:00
name : Count
2019-09-06 18:46:14 +00:00
description : The number of times to run this flow (0 to run forever).
2021-05-15 16:24:52 +00:00
default : 0
selector :
number :
min : 0
max : 100
2019-09-06 18:46:14 +00:00
action :
2021-05-15 16:24:52 +00:00
name : Action
description : The action to take after the flow stops.
2020-04-05 15:27:16 +00:00
example : "stay"
2021-05-15 16:24:52 +00:00
default : 'recover'
selector :
select :
options :
- 'off'
- 'recover'
- 'stay'
2019-09-06 18:46:14 +00:00
transitions :
2021-05-15 16:24:52 +00:00
name : Transitions
2019-09-06 18:46:14 +00:00
description : Array of transitions, for desired effect. Examples https://yeelight.readthedocs.io/en/stable/flow.html
example : '[{ "TemperatureTransition": [1900, 1000, 80] }, { "TemperatureTransition": [1900, 1000, 10] }]'
2021-05-15 16:24:52 +00:00
selector :
object :
2019-09-06 18:46:14 +00:00
set_auto_delay_off_scene :
2021-05-15 16:24:52 +00:00
name : Set auto delay off scene
2019-09-06 18:46:14 +00:00
description : Turns the light on to the specified brightness and sets a timer to turn it back off after the given number of minutes. If the light is off, Set a color scene, if light is off, it will be turned on.
2021-05-15 16:24:52 +00:00
target :
entity :
integration : yeelight
domain : light
2019-09-06 18:46:14 +00:00
fields :
minutes :
2021-05-15 16:24:52 +00:00
name : Minutes
description : The time to wait before automatically turning the light off.
2019-09-06 18:46:14 +00:00
example : 5
2021-05-15 16:24:52 +00:00
selector :
number :
min : 1
max : 60
unit_of_measurement : minutes
2019-09-06 18:46:14 +00:00
brightness :
2021-05-15 16:24:52 +00:00
name : Brightness
description : The brightness value to set.
selector :
number :
min : 0
max : 100
2019-03-24 12:01:12 +00:00
start_flow :
2021-05-15 16:24:52 +00:00
name : Start flow
2019-03-24 12:01:12 +00:00
description : Start a custom flow, using transitions from https://yeelight.readthedocs.io/en/stable/yeelight.html#flow-objects
2021-05-15 16:24:52 +00:00
target :
entity :
integration : yeelight
domain : light
2019-03-24 12:01:12 +00:00
fields :
count :
2021-05-15 16:24:52 +00:00
name : Count
2019-03-24 12:01:12 +00:00
description : The number of times to run this flow (0 to run forever).
2021-05-15 16:24:52 +00:00
default : 0
selector :
number :
min : 0
max : 100
2019-03-24 12:01:12 +00:00
action :
2021-05-15 16:24:52 +00:00
name : Action
description : The action to take after the flow stops.
default : 'recover'
selector :
select :
options :
- 'off'
- 'recover'
- 'stay'
2019-03-24 12:01:12 +00:00
transitions :
2021-05-15 16:24:52 +00:00
name : Transitions
2019-03-24 12:01:12 +00:00
description : Array of transitions, for desired effect. Examples https://yeelight.readthedocs.io/en/stable/flow.html
example : '[{ "TemperatureTransition": [1900, 1000, 80] }, { "TemperatureTransition": [1900, 1000, 10] }]'
2021-05-15 16:24:52 +00:00
selector :
object :
2020-12-30 16:00:28 +00:00
set_music_mode :
2021-05-15 16:24:52 +00:00
name : Set music mode
2020-12-30 16:00:28 +00:00
description : Enable or disable music_mode
2021-05-15 16:24:52 +00:00
target :
entity :
integration : yeelight
domain : light
2020-12-30 16:00:28 +00:00
fields :
music_mode :
2021-05-15 16:24:52 +00:00
name : Music mode
2020-12-30 16:00:28 +00:00
description : Use true or false to enable / disable music_mode
2021-05-15 16:24:52 +00:00
required : true
selector :
boolean :