diff options
| -rw-r--r-- | smart_home/lights.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/smart_home/lights.py b/smart_home/lights.py index fd9a091..096e0de 100644 --- a/smart_home/lights.py +++ b/smart_home/lights.py @@ -361,8 +361,7 @@ class TPLinkLight(BaseLight): return False cmd = ( self.get_cmdline() - + '-j \'{{"smartlife.iot.dimmer":{{"set_brightness":{{"brightness":{%d} }} }} }}\'' - % level + + '-j \'{"smartlife.iot.dimmer":{"set_brightness":{"brightness":%d}}}\'' % level ) return tplink.tplink_command(cmd) |
