Skip to content

Commit

Permalink
Convert parameters to string
Browse files Browse the repository at this point in the history
Fixes #23
  • Loading branch information
nununo authored Apr 10, 2021
1 parent f43a3da commit 9a2ac85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action_plugins/tasmota.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def _get_arg_or_var(self, name, default=None, is_required=True):
if is_required and ret == None:
raise AnsibleOptionsError("parameter %s is required" % name)
else:
return ret
return str(ret)

def _translateResultStr(self, translate, offValue = "0", onValue = "1"):
if (translate == "OFF"):
Expand Down

0 comments on commit 9a2ac85

Please sign in to comment.