summaryrefslogtreecommitdiff
path: root/smart_home/lights.py
diff options
context:
space:
mode:
authorScott <[email protected]>2021-12-04 21:23:11 -0800
committerScott <[email protected]>2021-12-04 21:23:11 -0800
commitb29be4f1750fd20bd2eada88e751dfae85817882 (patch)
treed776c05519505fa3234ed44ae952163f0853e88c /smart_home/lights.py
parented8fa2b10b0177b15b7423263bdd390efde2f0c8 (diff)
Various changes.
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: