Fix __repr__ function of SmartDevice (#178)

This commit is contained in:
Christopher Fricke
2019-07-26 15:21:25 -04:00
committed by Teemu R
parent 2c79febae4
commit c9280c70c0
2 changed files with 8 additions and 1 deletions

View File

@@ -616,7 +616,7 @@ class SmartDevice:
is_on = self.is_on
if callable(is_on):
is_on = is_on()
return "<%s at %s (%s), is_on: %s - dev specific: %s>" % (
return "<%s model %s at %s (%s), is_on: %s - dev specific: %s>" % (
self.__class__.__name__,
self.model,
self.host,