From 1457c4f53318cd8f1c6117beafee54054b45f1be Mon Sep 17 00:00:00 2001 From: Teemu Rytilahti Date: Thu, 14 Sep 2017 21:00:19 +0200 Subject: [PATCH] make hound a bit more happier --- pyHS100/smartdevice.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pyHS100/smartdevice.py b/pyHS100/smartdevice.py index 9fd69d78..fb16b2a4 100644 --- a/pyHS100/smartdevice.py +++ b/pyHS100/smartdevice.py @@ -497,8 +497,9 @@ class SmartDevice(object): raise NotImplementedError("Device subclass needs to implement this.") def __repr__(self): - return "<%s at %s (%s), is_on: %s - dev specific: %s>" % (self.__class__.__name__, - self.ip_address, - self.alias, - self.is_on, - self.state_information) + return "<%s at %s (%s), is_on: %s - dev specific: %s>" % ( + self.__class__.__name__, + self.ip_address, + self.alias, + self.is_on, + self.state_information)