Stack-Based Formatting Helpers Replace Heap-Allocating Functions
Several string formatting helpers that returned std::string are now soft-deprecated in favor of stack-based alternatives. This prevents heap fragmentation on long-running ESP devices.
This is a breaking change for external components in ESPHome 2026.1.0 and later.