From b5fdf17a5c85b72ed5a9e74f9e75e5198e62c9e7 Mon Sep 17 00:00:00 2001 From: under12parsecs Date: Fri, 22 Mar 2019 15:53:55 +0000 Subject: [PATCH] fix issue with off command Type on off function meant the on command was always being sent. Corrected to send off command instead. --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index eb27569..0a856e5 100644 --- a/__init__.py +++ b/__init__.py @@ -31,6 +31,6 @@ def on(self, power=100): self.send(self.onCommand) def off(self): - self.send(self.onCommand) + self.send(self.offCommand)