From 1bf0a67b931b3bf2f24acc4f1ef613144deb87dc Mon Sep 17 00:00:00 2001 From: ESPHome Device Builder Date: Fri, 23 Oct 2026 12:54:31 +0200 Subject: [PATCH] Edit the-saloon.yaml --- the-saloon.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/the-saloon.yaml b/the-saloon.yaml index 089a788..a41623a 100644 --- a/the-saloon.yaml +++ b/the-saloon.yaml @@ -79,7 +79,7 @@ display: // 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 = 70, w = 300, h = 22; + int x = 10, y = 80, w = 300, h = 22; Color c = pct > 90 ? Color(255, 0, 0) : (pct > 75 ? Color(255, 165, 0) : Color(0, 200, 0)); it.filled_rectangle(x, y, (int)((w) * pct / 100.0f), h, c); it.printf(10, 50, id(roboto), "%.1f%%", pct);