From 9fd86977c778928d3b3ddb504fab010a9ff25322 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 16 Jun 2018 04:48:09 +0200 Subject: [PATCH] Don't pass stuff to set_light and set_group that we don't have to --- platypush/plugins/light/hue/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/light/hue/__init__.py b/platypush/plugins/light/hue/__init__.py index e44ac1e15..a94451b01 100644 --- a/platypush/plugins/light/hue/__init__.py +++ b/platypush/plugins/light/hue/__init__.py @@ -118,9 +118,9 @@ class LightHuePlugin(LightPlugin): if attr == 'scene': self.bridge.run_scene(groups[0], kwargs.pop('name')) elif groups: - self.bridge.set_group(groups, attr, *args, **kwargs) + self.bridge.set_group(groups, attr) elif lights: - self.bridge.set_light(lights, attr, *args, **kwargs) + self.bridge.set_light(lights, attr) except Exception as e: # Reset bridge connection self.bridge = None