configuration.yaml

This commit is contained in:
Home Assistant Version Control
2026-08-08 02:04:05 +00:00
parent 4feff22329
commit 278ac26fc2
+9
View File
@@ -215,6 +215,15 @@ template:
{% set kw = states('sensor.water_heater_power_draw') | float(0) %}
{{ (kw * 1000) | round(0) }}
# OCTOPRINT: Most recent print's filament usage (mm), from PrintHistory plugin
- name: "OctoPrint Last Print Filament"
unique_id: octoprint_last_print_filament
unit_of_measurement: "mm"
icon: mdi:spool
state: >-
{% set lengths = state_attr('sensor.octoprint_filament_used_total', 'filamentLength') %}
{{ lengths[-1] | float | round(2) if lengths else 0 }}
# Legacy and Integration Sensor Section
sensor:
- platform: torque