diff --git a/pyHS100/pyHS100.py b/pyHS100/pyHS100.py index 8664222c..5c06e77f 100644 --- a/pyHS100/pyHS100.py +++ b/pyHS100/pyHS100.py @@ -203,7 +203,6 @@ class SmartPlug(object): True: Success False: Failure or not supported by switch """ - if self.model == 100: return False @@ -216,6 +215,8 @@ class SmartPlug(object): def current_consumption(self): """Get the current power consumption in Watt.""" + if self.model == 100: + return False response = self.get_emeter_realtime()