J. Nick Koston
5b8a1623b0
[core] Move entity state publish and setting logs to VERBOSE level
...
Benchmarking in #15034 showed that esp_log_printf and vsnprintf_chk
dominate sensor publish time (95%+ of internal_send_state_to_frontend).
At the default DEBUG log level, every state change generates log output
that overwhelms the log output making it hard to actually debug and
wastes significant CPU time on string formatting.
Move all entity state publish (>>) and setting logs from ESP_LOGD to
ESP_LOGV across all base entity types: sensor, binary_sensor, switch,
number, text_sensor, select, text, event, lock, cover, valve, climate,
fan, light, media_player, alarm_control_panel, datetime, update, and
water_heater.
2026-03-24 18:13:09 -10:00
J. Nick Koston
af5b98c635
[time] Remove dummy placeholder values for recalc_timestamp_utc() ( #15129 )
2026-03-25 01:07:28 +00:00
J. Nick Koston
690dc324c9
[logger] Move task log buffer storage to BSS ( #15153 )
2026-03-25 00:52:37 +00:00
Jonathan Swoboda
26e78c840c
[wifi] Filter fast_connect by band_mode and use background scan for roaming ( #15152 )
2026-03-24 20:21:04 -04:00
J. Nick Koston
9c9ae190ee
[core] Use compile-time HasElse parameter in IfAction ( #15134 )
2026-03-24 14:13:59 -10:00
J. Nick Koston
238adbe008
[wifi] Fix roaming counter reset from delayed disconnect and successful retry ( #15126 )
2026-03-24 14:04:17 -10:00
J. Nick Koston
f457b995f7
[datetime] Fix state_as_esptime() returning invalid timestamp ( #15128 )
2026-03-24 14:03:56 -10:00
J. Nick Koston
b6aec4fa25
[ethernet] Add W5100 support for RP2040 ( #15131 )
2026-03-24 14:03:30 -10:00
J. Nick Koston
9fb5b6aa15
[light] Replace initial_state storage with flash-resident callback ( #15133 )
2026-03-24 14:03:18 -10:00
J. Nick Koston
752fe30332
[api] Add descriptive message to status warning when waiting for client ( #15148 )
2026-03-24 20:01:59 -04:00
Jonathan Swoboda and J. Nick Koston
4ff85e2a1e
[core] Fix clean-all to handle custom build paths ( #15146 )
...
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2026-03-24 19:48:17 -04:00
13baf26050
[core] get_log_str: fix false-positive error on null-terminated strings with stricter compilers ( #15136 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-24 20:26:21 +00:00
Jonathan Swoboda
8751f348c8
[sx127x] Fix FIFO read corruption ( #15114 )
2026-03-24 10:04:27 -10:00
Fabian Bläse
22bc47da23
[light] Fix incorrect mode change handling on transition to off ( #15147 )
2026-03-24 19:57:58 +00:00
Jonathan Swoboda
55df21db51
[esp32] Default CPU frequency to maximum supported ( #15143 )
2026-03-24 15:44:28 -04:00
Jonathan Swoboda
3cd50f0495
[ci] Block new CONF_ constants from being added to esphome/const.py ( #15145 )
2026-03-24 09:31:08 -10:00
Diorcet Yann
b3390d40fb
[core] Fix cg.add_define propagation to dependencies in native ESP-IDF builds ( #15137 )
2026-03-24 14:31:42 -04:00
Javier Peletier and J. Nick Koston
7eddf429ea
[substitutions] speed up config loading: substitutions pass and !include redesign (package refactor part 4) ( #12126 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-23 23:57:22 -10:00
J. Nick Koston
793813790a
[api] Precompute tag bytes for forced varint and length-delimited fields ( #15067 )
2026-03-24 01:52:39 +00:00
J. Nick Koston and Jonathan Swoboda
fe2c4e47bf
[sensor] Deprecate .raw_state, guard raw_callback_ behind USE_SENSOR_FILTER ( #15094 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-03-24 00:40:02 +00:00
Javier Peletier and J. Nick Koston
df4318505f
[substitutions] refactor substitute() as a pure function (package refactor part 3) ( #15031 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-23 14:28:04 -10:00
J. Nick Koston
69911c3db1
[wifi] Reduce ESP8266 roaming scan dwell time to match ESP32 ( #15127 )
2026-03-23 13:58:36 -10:00
J. Nick Koston
8ad8f89e50
[light] Reorder LightState fields to eliminate padding ( #15112 )
2026-03-23 13:56:53 -10:00
J. Nick Koston
a3d9854704
[gpio] Remove redundant last_state_ and pack GPIOBinarySensor fields ( #15113 )
2026-03-23 13:56:36 -10:00
J. Nick Koston and Copilot Autofix powered by AI
13d3968d9b
[api] Avoid heap allocation in PSK update timeout lambda ( #14921 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-03-23 13:41:09 -10:00
J. Nick Koston
382de7ca90
[api] Store dump strings in PROGMEM to save RAM on ESP8266 ( #14982 )
2026-03-23 13:40:53 -10:00
J. Nick Koston
a0d0516b22
[benchmark] Add noise handshake benchmark ( #15039 )
2026-03-23 13:40:41 -10:00
J. Nick Koston
0fb31726f6
[esp32] Add sram1_as_iram option and bootloader version detection ( #14874 )
2026-03-23 13:39:29 -10:00
Clyde Stubbs
e6a73cab8f
[number] Add sensor platform ( #15125 )
2026-03-24 12:04:53 +13:00
bf6000ef3d
[substitutions] substitutions pass and !include redesign (package refactor part 2b) ( #14918 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-23 12:50:28 -10:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
332118db56
Bump pytest-cov from 7.0.0 to 7.1.0 ( #15123 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-23 11:44:26 -10:00
Clyde Stubbs
6956bf7e53
[text] Add text_sensor for read-only view of text component ( #15090 )
2026-03-24 10:24:25 +13:00
Daniel Kent and Jonathan Swoboda
11b829dda1
[spa06_spi] Add SPA06-003 Temperature and Pressure Sensor - SPI support (Part 3 of 3) ( #14523 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-03-23 15:59:17 -04:00
J. Nick Koston
1e16b30380
[ethernet] Add ENC28J60 SPI Ethernet support ( #14945 )
2026-03-23 19:18:58 +00:00
Daniel Kent
4c1363b104
[spi] Add LOG_SPI_DEVICE macro ( #15118 )
2026-03-23 15:07:40 -04:00
J. Nick Koston
9da0c5bc85
[wifi] Fix roaming attempt counter reset on disconnect during scan ( #15099 )
2026-03-23 08:47:15 -10:00
J. Nick Koston
4b0c711f77
[ci] Ban std::bind in new C++ code ( #14969 )
2026-03-23 08:23:35 -10:00
J. Nick Koston
9385f16128
[text_sensor] Guard raw_callback_ behind USE_TEXT_SENSOR_FILTER, save 4 bytes per instance ( #15097 )
2026-03-23 08:23:22 -10:00
J. Nick Koston
36d2e58b11
[api] Make ProtoDecodableMessage::decode() non-virtual ( #15076 )
2026-03-23 08:23:08 -10:00
J. Nick Koston
03d6b36fe0
[gpio] Compile out interlock fields when unused ( #15111 )
2026-03-23 08:22:38 -10:00
J. Nick Koston
3b5b51b4f0
[time] Point to valid IANA timezone list on validation failure ( #15110 )
2026-03-23 08:22:25 -10:00
Clyde Stubbs
e8c5dfca3e
[lvgl] Various fixes ( #15098 )
2026-03-23 12:09:30 -04:00
Kevin Ahrendt
5a984b54cf
[audio] Bump microOpus to avoid creating an extra opus-staged directory ( #14974 )
2026-03-23 08:31:05 -04:00
Simone Rossetto and J. Nick Koston
43879964bd
[wireguard] bump esp_wireguard to 0.4.4 for mbedtls 4.0+ compatibility ( #15104 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-22 23:03:19 -10:00
J. Nick Koston
5560c9eef7
[test] Fix flakey ld2412 integration test race condition ( #15100 )
2026-03-22 21:10:51 -10:00
J. Nick Koston
f4097d5a95
[api] Devirtualize API command dispatch ( #15044 )
2026-03-23 19:57:40 +13:00
Keith Burzinski and Claude Sonnet 4.6
225330413a
[uart] Rename FlushResult to UARTFlushResult with UART_FLUSH_RESULT_ prefix ( #15101 )
...
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-03-23 01:55:14 -05:00
J. Nick Koston
e67b5a78d0
[esp32] Patch DRAM segment for testing mode to fix grouped component test overflow ( #15102 )
2026-03-23 01:51:40 -05:00
J. Nick Koston
baf365404c
[network] Inline get_use_address() to eliminate function call overhead ( #14942 )
2026-03-23 04:18:43 +00:00
J. Nick Koston
0de2c758aa
[scheduler] Use placement-new for std::function move in set_timer_common_ ( #14757 )
2026-03-23 16:31:27 +13:00