Add effect_list to hue light ()

pull/6071/merge
Adam Mills 2017-02-17 13:37:45 -05:00 committed by Andrey
parent bb64560089
commit 843840b963
1 changed files with 5 additions and 0 deletions
homeassistant/components/light

View File

@ -356,6 +356,11 @@ class HueLight(Light):
"""Flag supported features."""
return SUPPORT_HUE
@property
def effect_list(self):
"""Return the list of supported effects."""
return [EFFECT_COLORLOOP, EFFECT_RANDOM]
def turn_on(self, **kwargs):
"""Turn the specified or all lights on."""
command = {'on': True}