classic+ UX: on-device weather condition icons #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gap:
status_condition_labelin the classic+ weather rail shows plain text ("Partly Cloudy", "Sunny", etc.) for all 15 HA weather condition strings. No icon rendering exists anywhere in the project yet.Spike done 2026-07-12: validated both viable ESPHome techniques for on-device icons on this exact board/ESPHome version, both compile clean, no resource constraints (16MB flash with ~6.7MB headroom, 8MB PSRAM):
image:component (local PNG,type: RGB+transparency: alpha_channel— notetype: RGBAis deprecated in current ESPHome), rendered via LVGLimage:widget.font:component pulling glyphs viagfonts://by Unicode codepoint (e.g. Material Symbols), rendered via a normal LVGLlabel:— glyphs recolor at runtime like text.Xander and Neon can produce the actual artwork, so the decision is really about workflow fit, not resource budget: bitmap needs exported PNGs at a specified resolution (full color/detail); icon font needs a font file with specific glyphs (simpler for single-color/state-recolored icons).
Scope: map all 15 HA condition strings (clear-night, cloudy, exceptional, fog, hail, lightning, lightning-rainy, partlycloudy, pouring, rainy, snowy, snowy-rainy, sunny, windy, windy-variant) to icons, wire into
weather.yaml's existingweather_conditiontext_sensor trigger (currently maps to display text only).Related: Dial/color theme and Relay/mode icons issues share the same technical foundation once one icon technique is chosen.