Skip to content

Commit

Permalink
remove API responses
Browse files Browse the repository at this point in the history
  • Loading branch information
jneilliii committed Dec 26, 2020
1 parent c896d24 commit c4695c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions octoprint_tasmota/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -497,10 +497,10 @@ def on_api_command(self, command, data):

if command == 'turnOn':
self.turn_on("{ip}".format(**data), "{idx}".format(**data))
return flask.jsonify(self.check_status("{ip}".format(**data), "{idx}".format(**data)))
# return flask.jsonify(self.check_status("{ip}".format(**data), "{idx}".format(**data)))
elif command == 'turnOff':
self.turn_off("{ip}".format(**data), "{idx}".format(**data))
return flask.jsonify(self.check_status("{ip}".format(**data), "{idx}".format(**data)))
# return flask.jsonify(self.check_status("{ip}".format(**data), "{idx}".format(**data)))
elif command == 'checkStatus':
return flask.jsonify(self.check_status("{ip}".format(**data), "{idx}".format(**data)))
elif command == 'checkSetOption26':
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
plugin_name = "OctoPrint-Tasmota"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "0.8.17rc2"
plugin_version = "0.8.17rc3"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
Expand Down

0 comments on commit c4695c3

Please sign in to comment.