From 9b4cf2ac2676ae11c04f7b47d43845b9e2061557 Mon Sep 17 00:00:00 2001 From: Home Assistant Version Control Date: Mon, 10 Aug 2026 05:00:10 +0000 Subject: [PATCH] configuration.yaml --- configuration.yaml | 6 ++++++ 1 file changed, 6 insertions(+) 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: