mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Add effect_list to hue light (#6065)
This commit is contained in:
parent
bb64560089
commit
843840b963
@ -356,6 +356,11 @@ class HueLight(Light):
|
|||||||
"""Flag supported features."""
|
"""Flag supported features."""
|
||||||
return SUPPORT_HUE
|
return SUPPORT_HUE
|
||||||
|
|
||||||
|
@property
|
||||||
|
def effect_list(self):
|
||||||
|
"""Return the list of supported effects."""
|
||||||
|
return [EFFECT_COLORLOOP, EFFECT_RANDOM]
|
||||||
|
|
||||||
def turn_on(self, **kwargs):
|
def turn_on(self, **kwargs):
|
||||||
"""Turn the specified or all lights on."""
|
"""Turn the specified or all lights on."""
|
||||||
command = {'on': True}
|
command = {'on': True}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user