Skip to content

Commit

Permalink
Fix #15, custom->customize: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
SiriosDev authored and SiriosDev committed Feb 19, 2023
1 parent b31e2d4 commit 1abd1e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyscript/apps/switchbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,5 +329,5 @@ def switchbot_generic_command(device=None, command=None, parameter=None, command
"""
deviceId = extract_device_id(device)
headers_dict = auth(**pyscript.app_config)
command_execute(headers_dict, deviceId, command, parameter=parameter, custom=(commandType=='custom'))
command_execute(headers_dict, deviceId, command, parameter=parameter, custom=(commandType=='customize'))

0 comments on commit 1abd1e0

Please sign in to comment.