From b56b4912a28b99d7eb9e19ff1c868587a1d3ff02 Mon Sep 17 00:00:00 2001 From: "willem.serruys" Date: Sat, 22 Aug 2026 19:21:50 +0200 Subject: [PATCH] fix: fill percentage --- configurations/home-assistant/configuration.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configurations/home-assistant/configuration.yaml b/configurations/home-assistant/configuration.yaml index f239c14..b13f87a 100644 --- a/configurations/home-assistant/configuration.yaml +++ b/configurations/home-assistant/configuration.yaml @@ -82,6 +82,6 @@ template: unit_of_measurement: "%" state_class: measurement state: > - {% set sensor_offset = 290 %} {# same as above, = full tank height #} + {% set sensor_offset = 2090 %} {# same as above, = full tank height #} {% set height = states('sensor.cistern_water_height') | float(0) %} {{ (height / sensor_offset * 100) | round(1) }}