Edit the-saloon.yaml

This commit is contained in:
ESPHome Device Builder 2026-10-22 22:32:37 +02:00
parent e7a905bc0d
commit 65acda99dc

View File

@ -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: