device.type
:light
- Models: Mi Yeelight lamps
- Model identifiers:
yeelink.light.lamp1
,yeelink.light.mono1
,yeelink.light.color1
power
, boolean indicating if the light is on or notbrightness
, number between 0 and 100 indicating the brightness of the lightcolorMode
, the color mode of the light, one ofnone
,rgb
,colorTemperature
orhsv
Get if the light is powered on.
Switch the light on or off.
Get the brightness of the light.
Set the brightness of the light.
If this device supports changing the temperature of the color.
colorTemperature
- the color temperature in Kelvin
Get the current color temperature if the colorMode
is colorTemperature
.
Set the color temperature of this light and switch colorMode
to colorTemperature
.