From c5dc9333f0dd751a4de275f290f44a6185760acb Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Wed, 28 Oct 2020 23:19:16 +0100 Subject: [PATCH] Extended light plugin status method signature --- platypush/plugins/light/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platypush/plugins/light/__init__.py b/platypush/plugins/light/__init__.py index 7b37c0365..bf79cd804 100644 --- a/platypush/plugins/light/__init__.py +++ b/platypush/plugins/light/__init__.py @@ -1,5 +1,6 @@ from platypush.plugins import Plugin, action + class LightPlugin(Plugin): """ Abstract plugin to interface your logic with lights/bulbs. @@ -21,10 +22,9 @@ class LightPlugin(Plugin): raise NotImplementedError() @action - def status(self): + def status(self, *args, **kwargs): """ Get the light status """ raise NotImplementedError() # vim:sw=4:ts=4:et: -