mirror of
https://github.com/home-assistant/core.git
synced 2025-08-09 15:45:08 +02:00
Add effect_list to hue light (#6065)
This commit is contained in:
@@ -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}
|
||||
|
Reference in New Issue
Block a user