Typo.
[python_utils.git] / smart_home / outlets.py
index 527c52ceee7e41eea5705711aa9fc8b30dfe5b45..81e10a71fa0cd4960c2e5bf1a03789c0663375e3 100644 (file)
@@ -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