add info and style

This commit is contained in:
sergiuToporjinschi
2022-02-01 23:32:22 +02:00
parent 63eb538cc3
commit 3e83707069
6 changed files with 43 additions and 22 deletions
+3 -1
View File
@@ -13,7 +13,9 @@ class API(octoprint.plugin.SimpleApiPlugin):
@staticmethod
def apiCommands():
return {CMD_PID_SAVE : []}
return {
CMD_PID_SAVE : ["fanSpeed", "noCycles" "hotEndIndex", "targetTemp"]
}
def apiGateWay(self, command, data):
self._logger.debug("DIPGateway")