Method |
Description |
|
__construct ( mixed $light ) |
Constructs a command |
|
alert ( string $mode = self::ALERT_LONG_SELECT ) : self |
Set alert parameter |
|
brightness ( integer $level = self::BRIGHTNESS_MAX ) : self |
Set brightness |
|
colorTemp ( integer $value ) : self |
Set color temperature |
|
effect ( string $mode = self::EFFECT_COLORLOOP ) : self |
Set effect mode |
|
getActionableParams ( Client $client ) : array |
Get actionable params |
|
getAlertModes ( ) : array |
Get alert modes |
|
getEffectModes ( ) : array |
Get effect modes |
|
hue ( integer $value ) : self |
Set hue |
|
on ( boolean $flag = true ) : self |
Set on parameter |
|
rgb ( integer $red, integer $green, integer $blue ) : self |
Sets xy and brightness calculated from RGB |
|
saturation ( integer $value ) : self |
Set saturation |
|
send ( Client $client ) |
Send command |
|
transitionTime ( double $seconds ) : self |
Transition time |
|
xy ( float $x, float $y ) : self |
Set xy |
|