X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=smart_home%2Flights.py;h=ac1cc885f94973a74f3b7dabcb41f45a9dbac957;hb=dfc2136113428b99719c49a57d3ce68391dcb307;hp=80bfffa9db61b1639d5ff19aa9a12df387bdb90d;hpb=713a609bd19d491de03debf8a4a6ddf2540b13dc;p=python_utils.git diff --git a/smart_home/lights.py b/smart_home/lights.py index 80bfffa..ac1cc88 100644 --- a/smart_home/lights.py +++ b/smart_home/lights.py @@ -329,6 +329,7 @@ class TPLinkLight(BaseLight): @timeout(10.0, use_signals=False, error_message="Timed out waiting for tplink.py") def get_info(self) -> Optional[Dict]: cmd = self.get_cmdline() + "-c info" + logger.debug(f'Getting status of {self.mac} via "{cmd}"...') out = subprocess.getoutput(cmd) logger.debug(f'RAW OUT> {out}') out = re.sub("Sent:.*\n", "", out)