summaryrefslogtreecommitdiff
path: root/smart_home/lights.py
diff options
context:
space:
mode:
Diffstat (limited to 'smart_home/lights.py')
-rw-r--r--smart_home/lights.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/smart_home/lights.py b/smart_home/lights.py
index dd211eb..1c4081c 100644
--- a/smart_home/lights.py
+++ b/smart_home/lights.py
@@ -334,6 +334,7 @@ class TPLinkLight(BaseLight):
def get_info(self) -> Optional[Dict]:
cmd = self.get_cmdline() + "-c info"
out = subprocess.getoutput(cmd)
+ logger.debug(f'RAW OUT> {out}')
out = re.sub("Sent:.*\n", "", out)
out = re.sub("Received: *", "", out)
try: