Edit the-saloon.yaml

This commit is contained in:
ESPHome Device Builder 2026-10-22 23:03:35 +02:00
parent 8b4e260822
commit 9057419dfb

View File

@ -85,7 +85,8 @@ display:
it.printf(10, 50, id(roboto), "%.1f%%", pct);
}
it.printf(10, 105, id(roboto_big), "%s - %.0f", id(lights_str).state.c_str(), id(lights_on_count).state);
it.printf(10, 105, id(my_font), "%s", id(lights_str).state.c_str());
it.printf(10, w - 20, id(my_font), "%.0f", id(lights_on_count).state);
script:
- id: update_brightness
then:
@ -120,7 +121,13 @@ font:
- file: "gfonts://Roboto"
id: roboto_big
size: 48
glyphs: ["●", "○"]
- file:
type: gfonts
family: Roboto
weight: 400
id: my_font
size: 24
glyphs: ["●", "○"]
# Data from Glances (same as before)
http_request:
timeout: 5s