From fde7f20e7dd5492d52bcc6eb05aa038545b449f4 Mon Sep 17 00:00:00 2001
From: Fabio Manganiello <blacklight86@gmail.com>
Date: Fri, 3 Nov 2017 20:08:17 +0100
Subject: [PATCH] Added lights base plugin

---
 runbullet/plugins/light/__init__.py | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 runbullet/plugins/light/__init__.py

diff --git a/runbullet/plugins/light/__init__.py b/runbullet/plugins/light/__init__.py
new file mode 100644
index 00000000..bdb469a8
--- /dev/null
+++ b/runbullet/plugins/light/__init__.py
@@ -0,0 +1,28 @@
+from .. import Plugin
+
+class LightPlugin(Plugin):
+    def run(self, args):
+        if 'on' in args and args['on']:
+            self.on()
+        elif 'off' in args and args['off']:
+            self.off()
+        elif 'toggle' in args and args['toggle']:
+            self.toggle()
+
+        return self.status()
+
+    def on(self):
+        raise NotImplementedError()
+
+    def off(self):
+        raise NotImplementedError()
+
+    def toggle(self):
+        raise NotImplementedError()
+
+    def status(self):
+        raise NotImplementedError()
+
+
+# vim:sw=4:ts=4:et:
+