From 65acda99dc746a499eafd2640e5338bf5bd24e9c Mon Sep 17 00:00:00 2001 From: ESPHome Device Builder Date: Thu, 22 Oct 2026 22:32:37 +0200 Subject: [PATCH] Edit the-saloon.yaml --- the-saloon.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/the-saloon.yaml b/the-saloon.yaml index b438105..b655b06 100644 --- a/the-saloon.yaml +++ b/the-saloon.yaml @@ -76,7 +76,7 @@ display: it.printf(10, 10, id(roboto), "%.1f GB", id(nas_ram_free).state); // Disk bar - it.printf(10, 105, id(roboto), "HDD"); + // it.printf(10, 105, id(roboto), "HDD"); if (id(nas_disk_percent).has_state()) { float pct = id(nas_disk_percent).state; int x = 10, y = 135, w = 300, h = 22; @@ -84,8 +84,8 @@ display: it.filled_rectangle(x + 2, y + 2, (int)((w - 4) * pct / 100.0f), h - 4, c); it.printf(10, 50, id(roboto), "%.1f%%", pct); } - - it.printf(10, 105, id(roboto), "%s - %d", id(lights_str).state.c_str(), id(lights_on_count).state); + + it.printf(10, 105, id(roboto), "%s - %.0f", id(lights_str).state.c_str(), id(lights_on_count).state); script: - id: update_brightness then: