X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;f=smart_home%2Foutlets.py;h=f34d574ec0c721bb597124a90369215309208ec2;hb=957c962294cde93c4c649ed18dedd16df071878d;hp=527c52ceee7e41eea5705711aa9fc8b30dfe5b45;hpb=2a9cbfa6e97a8cb5ed68c838f5ec09bef654c37f;p=python_utils.git diff --git a/smart_home/outlets.py b/smart_home/outlets.py index 527c52c..f34d574 100644 --- a/smart_home/outlets.py +++ b/smart_home/outlets.py @@ -10,7 +10,7 @@ import os import re import subprocess import sys -from typing import Any, Dict, List, Optional, Set +from typing import Dict, List, Optional import argparse_utils import config @@ -170,7 +170,7 @@ class TPLinkOutletWithChildren(TPLinkOutlet): if extra_args is not None: cmd += f" {extra_args}" logger.debug(f'About to execute {cmd}') - return tplink_light_command(cmd) + return tplink_outlet_command(cmd) def get_children(self) -> List[str]: return self.children