aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/Command_Templates.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/Command_Templates.md b/docs/Command_Templates.md
index 7a0bc34d..9727bb2b 100644
--- a/docs/Command_Templates.md
+++ b/docs/Command_Templates.md
@@ -175,6 +175,11 @@ The following are common printer attributes:
available temperature sensors by their full config section names,
e.g. `["extruder", "heater_bed", "heater_generic my_custom_heater",
"temperature_sensor electronics_temp"]`.
+- `printer.query_endstops.last_query["<endstop>"]`: Returns True if
+ the given endstop was reported as "triggered" during the last
+ QUERY_ENDSTOP command. Note, due to the order of template expansion
+ (see above), the QUERY_STATUS command must be run prior to the macro
+ containing this reference.
The above list is subject to change - if using an attribute be sure to
review the [Config Changes document](Config_Changes.md) when upgrading