mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-11-16 23:28:43 +00:00
Smartstrip: return on_since state information only when the socket is on (#161)
* Smartstrip: return on_since state information only when the socket is on Fixes #160 * add proper cli printout for hs300 child sockets * iterate over range, not an integer
This commit is contained in:
@@ -88,6 +88,7 @@ class SmartDevice(object):
|
||||
self.protocol = protocol
|
||||
self.emeter_type = "emeter" # type: str
|
||||
self.context = context
|
||||
self.num_children = 0
|
||||
|
||||
def _query_helper(self,
|
||||
target: str,
|
||||
|
||||
Reference in New Issue
Block a user