ESPHome 2025.12.0 introduces API action responses for bidirectional communication with Home Assistant, conditional package inclusion for dynamic configurations, and HUB75 LED matrix display support. This release delivers significant memory optimizations saving up to 10KB of IRAM on ESP32 devices, eliminates per-packet heap allocations in API connections and socket latency on ESP8266, and adds 8 new components including the CC1101 sub-GHz transceiver and USB CDC-ACM support. LVGL receives multiple usability improvements, and the WiFi component has been refactored for instant callback-based updates across all platforms.
The Native API now supports actions that send structured responses back to clients like Home Assistant, enabling true bidirectional communication where actions return success/error status and JSON data payloads (esphome#12136).
Key Features:
- Status responses - Report success or failure with optional error messages
- Data responses - Return structured JSON data from actions using ArduinoJson
-
Auto-detection - Response mode automatically detected based on
api.respondusage -
Three modes -
none(fire and forget),status(success/error only), oroptional/only(with data)
This unlocks new use cases like query-type actions that return device configuration, sensor readings, or diagnostic information directly to Home Assistant.
- action: get_sensor_reading
root["sensor"] = sensor_name;
The packages system now supports conditional inclusion, a long-awaited feature that enables dynamic configuration based on substitution variables (esphome#11605).
Key Features:
- Conditional imports - Include packages based on boolean conditions using Jinja2 expressions
- Package merging after substitutions - Packages are now merged after substitution resolution, enabling generated components to merge correctly with manually defined ones
-
LVGL extend support - The
!extendand!removedirectives now work with LVGL-style configurations (esphome#11534)
network_package: !include network.yaml
- ${ network_enabled and network_package or {} }
This enables creating reusable configuration templates that adapt to different hardware variants or deployment scenarios.
The new hub75 component brings native support for HUB75 LED matrix panels, enabling large-format LED displays for information dashboards, signage, and creative projects (esphome#11153).
Key Features:
- Multiple ESP32 variants - Supports ESP32 (I2S), ESP32-S3 (LCD CAM + GDMA), and ESP32-P4 (PARLIO)
- Flexible configuration - Configurable panel dimensions, clock speed, and pin assignments
- LVGL compatible - Works seamlessly with LVGL for rich graphical interfaces
- Board presets - Pre-configured settings for popular boards like Apollo Automation M1
The new cc1101 component adds support for the Texas Instruments CC1101 Sub-1GHz transceiver, enabling 433MHz remote control integration and other sub-GHz wireless applications (esphome#11849).
Key Features:
- 433.92MHz support - Perfect for integrating 433MHz remotes and sensors
- ASK/OOK modulation - Works with common remote control protocols
-
Core integration - Designed to work with
remote_receiverandremote_transmittercomponents - Robust initialization - Non-blocking state machine with proper chip reset handling
The new usb_cdc_acm component enables USB virtual serial port functionality on ESP32-S2 and ESP32-S3 devices (esphome#11687).
Key Features:
- Multi-interface support - Up to 2 independent CDC-ACM interfaces per device
- Configurable buffers - Adjustable RX/TX ring buffer sizes
- Line state callbacks - Notifications for DTR, RTS, baud rate, and other line coding changes
- Bridge-ready - Designed to connect USB serial interfaces to UART or other serial interfaces
The WiFi component has been refactored from polling-based updates to event-driven callbacks, significantly improving responsiveness (esphome#10748).
Key Features:
- Immediate updates - WiFi info sensors now update instantly when state changes instead of waiting for poll intervals
- Reduced overhead - Eliminates continuous polling in wifi_info sensors
- Platform consistency - All platforms (ESP8266, ESP32, LibreTiny, Pico W) now use the same callback infrastructure
- New power save mode sensor - Reports current WiFi power save mode (esphome#11480)
-
AP active condition - New
wifi.ap_activecondition for automation triggers (esphome#11852)
The UART component now supports a wake_loop_on_rx flag that wakes the main loop immediately when data arrives, enabling near-real-time serial processing (esphome#12172).
Key Benefits:
- Z-Wave Proxy performance - Reduces latency by ~10ms for WiFi-connected ZWA-2 devices, building on the USB-connected Ethernet/PoE optimizations from 2025.11.0 (esphome#12135)
- Real-time serial applications - Any component requiring fast response to incoming serial data can now achieve sub-millisecond wake times by enabling this flag in their code
- Automatic infrastructure - The socket wake infrastructure is automatically enabled when any UART requests RX wake
ESP8266 previously had higher network latency than ESP32 and LibreTiny because it used polling for socket data, sleeping up to 16ms before discovering incoming data. This affected every API request and Home Assistant command. The loop now wakes within microseconds of data arriving using ESP8266’s esp_schedule() mechanism, bringing ESP8266 to near parity with ESP32 and LibreTiny. This is automatic for all ESP8266 devices with no configuration needed (esphome#12397).
This release includes substantial memory optimizations, particularly for ESP32 devices using ESP-IDF:
FreeRTOS and Ring Buffer Flash Placement:
- ~8KB IRAM savings - FreeRTOS functions moved to flash by default (esphome#12182)
- ~1.5KB additional IRAM savings - Ring buffer functions moved to flash (esphome#12184)
-
Escape hatches - Use
freertos_in_iram: trueorringbuf_in_iram: trueif issues occur
These changes prepare ESPHome for ESP-IDF 6.0 where flash placement becomes the default.
BLE Client Memory Reduction:
-
24-40 bytes per BLE client - Replaced
std::stringwith fixedchar[18]for MAC address storage (esphome#12070)
Text Sensor Optimization:
- 24-32 bytes per text sensor - Eliminated duplicate string storage when no filters configured (esphome#12205)
Dashboard Import Optimization:
-
Eliminates URL heap allocation:
- Package import URL is now stored as a pointer to
.rodatainstead of a heap-allocatedstd::string. - On ESP32,
.rodataresides in flash, providing RAM savings. - On ESP8266,
.rodatais in RAM, but this still avoids heap overhead. - (esphome#11951)
- Package import URL is now stored as a pointer to
API Connection Optimizations:
The API connection layer received significant optimizations to reduce heap fragmentation and memory churn:
- Eliminated per-packet heap allocation - Previously every API packet received required a new heap allocation. The receive buffer is now reused across packets, with excess capacity released after initial sync completes. This reduces heap fragmentation on busy devices. For quiet devices, the initial sync memory spike is released rather than held for the lifetime of the connection. (Connections can last for months.) (esphome#12133)
- Zero-copy API commands - Select and light effect commands now process strings directly from protobuf buffer without heap allocation (esphome#12329, esphome#12384)
- Flash storage for device info - Device info strings stored in flash on ESP8266 (esphome#12173)
- Flash storage for state subscriptions - Home Assistant state subscriptions stored in flash instead of heap (esphome#12008)
- Reduced service call storage - Home Assistant service call strings use less heap (esphome#12151)
- APINoiseContext optimization - Removed shared_ptr overhead (esphome#11981)
- Loop-based reboot timeout - Avoids scheduler heap churn (esphome#12291)
Sensor Timeout Filter Optimization:
- Eliminates scheduler heap churn - Timeout filters now use a loop-based implementation instead of scheduler timeouts. This is particularly important for LD2410/LD2420/LD2450 users with many timeout filters, where the old implementation caused ~70 heap operations/second and constant scheduler pool exhaustion when someone was in range of the sensor (esphome#11922)
This release adds support for 8 new components and numerous display models:
New Sensor Components:
New Time Component:
New Display Models:
Platform Enhancements:
Multiple enhancements improve the LVGL experience:
-
Direct button text - Set
text:directly on buttons without nested label widgets (esphome#11964) -
Auto row/column padding -
pad_allnow applies to inter-row/column spacing in flex layouts (esphome#11879) -
Display sync option - New
update_when_display_idleoption syncs LVGL updates with display refresh (esphome#11896) - Enhanced arc widget - More arc parameters available in update actions (esphome#12066)
- Scroll properties - Added missing scroll-related configuration options (esphome#11901)
Gree Climate:
- New
turbo,light,health, andxfanswitches for supported models (esphome#12160)
Climate IR:
SPS30 Particulate Sensor:
- Idle mode functionality to extend sensor life and reduce power consumption (esphome#12255)
PCA9685 PWM:
- Phase balancer option to fix LED flickering during animations (esphome#9792)
Prometheus:
MCP3204 ADC:
IDF Component Improvements:
- Shorthand syntax for ESP-IDF components like
espressif/esp_hosted^2.6.6(esphome#12127) - YAML can now override component versions defined in code
API Enhancements:
-
state_subscription_onlyflag for reliable API connection detection without logger false positives (esphome#11906) - New
measurement_anglestate class for angle sensors (esphome#12085)
-
Micronova: Multiple configuration changes (esphome#12226, esphome#12318, esphome#12371):
-
update_intervalmoved from hub to individual entities - remove frommicronova:section and add to each sensor/text_sensor -
memory_locationnow restricted to read locations (0x00-0x79) - subtract 0x80 from values above 0x79 -
memory_write_locationremoved from number entities (now calculated automatically) - Custom button/sensor entities now require explicit
memory_locationandaddressconfiguration
-
-
Prometheus: Light color metrics (
light_color_*) are now only generated if the light component supports those color modes. This reduces memory usage on ESP8266 but may affect monitoring setups that expected all metrics regardless of light capabilities. esphome#9530 -
Text Sensor: The public
raw_statemember has been removed. If you access.raw_statedirectly in a lambda, update to use.get_raw_state()instead. esphome#12205
- I2C on ESP32-C5/C6/P4: Fixed I2C port logic for chips with Low Power (LP) I2C ports. Users with multiple I2C buses on these chips may need to verify their port assignments. esphome#12063
- WiFi Info: Text sensors now use callback-based updates instead of polling. Updates happen immediately when WiFi state changes rather than on fixed intervals. This improves responsiveness but may change timing behavior if your automations depended on the polling interval. esphome#10748
-
Component::mark_failed() and status_set_error(): The
const char*overloads are deprecated and will be removed in 2026.6.0. UseLOG_STR()instead:this->mark_failed(LOG_STR("Error message")). This fixes dangling pointer bugs when passing temporary strings. esphome#12021 -
BLEClientBase::address_str(): Return type changed from
const std::string&toconst char*. Remove.c_str()calls:client->address_str()instead ofclient->address_str().c_str(). esphome#12070 -
TextSensor::raw_state: Changed from public member to protected
raw_state_. Useget_raw_state()method instead of direct member access. esphome#12205 -
WiFi component callbacks: New callback architecture with
wifi_connect_state_callback_,ip_state_callback_, andwifi_scan_state_callback_. Automation triggers moved toautomation.h. esphome#10748 -
Micronova:
MicroNovaFunctionsenum removed - value interpretation now determined at compile time. Theget_set_fan_speed_offset()public method removed from sensor entity. esphome#12363
For detailed migration guides and API documentation, see the ESPHome Developers Documentation.
- [lvgl] Fix lambdas in canvas actions called from outside LVGL context esphome#12671 by @bdraco
- [core] Fix incremental build failures when adding components on ESP32-Arduino esphome#12745 by @bdraco
For the complete list of every merged pull request in this release, see the full 2025.12.0 changelog.
This is a companion discussion topic for the original entry at https://esphome.io/blog/2025/12/17/esphome-2025-12/
