diff --git a/configuration.yaml b/configuration.yaml index 37eec265..80b6332a 100644 --- a/configuration.yaml +++ b/configuration.yaml @@ -286,6 +286,12 @@ rest: - "printStatusResult" - "duration" - "printStartDateTimeFormatted" + - name: "OctoPrint Recent Prints" + unique_id: octoprint_recent_prints + icon: mdi:history + value_template: >- + {{ value_json.allPrintJobs | length }} + json_attributes_path: "$.allPrintJobs" # OctoPrint physical position (holds last value when idle; raw discovery sensor zeroes on currentZ:null) mqtt: