From 843840b9631c056b13946339fd09e16a93f5d287 Mon Sep 17 00:00:00 2001 From: Adam Mills <adam@armills.info> Date: Fri, 17 Feb 2017 13:37:45 -0500 Subject: [PATCH] Add effect_list to hue light (#6065) --- homeassistant/components/light/hue.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/homeassistant/components/light/hue.py b/homeassistant/components/light/hue.py index 372dec04fbc..778652872c3 100644 --- a/homeassistant/components/light/hue.py +++ b/homeassistant/components/light/hue.py @@ -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} -- GitLab