From 93667604f97723511eeb316a857059615d202fd7 Mon Sep 17 00:00:00 2001 From: "C.M.Rasch" <65172002+CMR-DEV@users.noreply.github.com> Date: Wed, 14 Jun 2023 10:09:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Fix=20docs=20of=20set=5Ftemperat?= =?UTF-8?q?ure=20(#4815)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Gina Häußge --- AUTHORS.md | 1 + src/octoprint/printer/__init__.py | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/AUTHORS.md b/AUTHORS.md index 6a4e0241f..4de369152 100644 --- a/AUTHORS.md +++ b/AUTHORS.md @@ -176,6 +176,7 @@ date of first contribution): * [Moiz Rasheed](https://github.com/msrasheed) * [Scott Martin](https://github.com/smartin015) * [Shyam Sunder](https://github.com/sgsunder) + * [Conny Rasch](https://github.com/CMR-DEV) * [Christopher Perrin](https://github.com/cperrin88) OctoPrint started off as a fork of [Cura](https://github.com/daid/Cura) by diff --git a/src/octoprint/printer/__init__.py b/src/octoprint/printer/__init__.py index 6b5d4d7c2..4d9f1d064 100644 --- a/src/octoprint/printer/__init__.py +++ b/src/octoprint/printer/__init__.py @@ -260,10 +260,12 @@ class PrinterInterface: Arguments: heater (str): The heater for which to set the target temperature. Either "bed" for setting the bed - temperature or something matching the regular expression "tool[0-9]+" (e.g. "tool0", "tool1", ...) for - the hotends of the printer + temperature, "chamber" for setting the temperature of the heated enclosure or something matching the + regular expression "tool[0-9]+" (e.g. "tool0", "tool1", ...) for the hotends of the printer. However, + addressing components that are disabled or unconfigured in the printer profile will result in a + "Suppressed command" error popup message. value (int, float): The temperature in celsius to set the target temperature to. - tags (set of str): An optional set of tags to attach to the command(s) throughout their lifecycle + tags (set of str): An optional set of tags to attach to the command(s) throughout their lifecycle. """ raise NotImplementedError()