summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--smart_home/outlets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smart_home/outlets.py b/smart_home/outlets.py
index 527c52c..81e10a7 100644
--- a/smart_home/outlets.py
+++ b/smart_home/outlets.py
@@ -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