Skip to content

Commit

Permalink
Merge pull request #24 from nununo/master
Browse files Browse the repository at this point in the history
Convert parameters to string
  • Loading branch information
tobias-richter authored Apr 13, 2021
2 parents 8ea97b2 + ddb513e commit 956a7a1
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 956a7a1

Please sign in to comment.