From 7dd95b88a2a1a977506300f337e4b50a2df13141 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sat, 26 Feb 2022 22:41:58 -0800 Subject: Rename a method, cleanup lint errors. --- smart_home/lights.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'smart_home/lights.py') diff --git a/smart_home/lights.py b/smart_home/lights.py index 9a5a231..2a0b1cd 100644 --- a/smart_home/lights.py +++ b/smart_home/lights.py @@ -283,7 +283,7 @@ class TPLinkLight(BaseLight): if extra_args is not None: cmd += f" {extra_args}" logger.debug('About to execute: %s', cmd) - return tplink.tplink_command(cmd) + return tplink.tplink_command_wrapper(cmd) @overrides def turn_on(self) -> bool: @@ -365,7 +365,7 @@ class TPLinkLight(BaseLight): self.get_cmdline() + '-j \'{"smartlife.iot.dimmer":{"set_brightness":{"brightness":%d}}}\'' % level ) - return tplink.tplink_command(cmd) + return tplink.tplink_command_wrapper(cmd) # class GoogleLightGroup(GoogleLight): -- cgit v1.3