mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-12-23 13:10:11 +00:00
Fix __repr__ function of SmartDevice (#178)
This commit is contained in:
committed by
Teemu R
parent
2c79febae4
commit
c9280c70c0
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user