diff --git a/platypush/plugins/light/hue/__init__.py b/platypush/plugins/light/hue/__init__.py index 30c187f5b6..9f342c83ab 100644 --- a/platypush/plugins/light/hue/__init__.py +++ b/platypush/plugins/light/hue/__init__.py @@ -265,6 +265,9 @@ class LightHuePlugin(LightPlugin): lights = self.lights groups = self.groups + if not self.bridge: + self.connect() + try: if attr == 'scene': self.bridge.run_scene(groups[0], kwargs.pop('name'))