J. Nick Koston
3a72deddf9
[core] Address review: drop redundant defines.h include from util.cpp
...
util.h now includes defines.h unconditionally, so the explicit include in
util.cpp is duplicative.
2026-04-21 11:26:45 +02:00
J. Nick Koston
b8de93aabe
[core] Inline api_is_connected() for hot-path callers
...
Move the api_is_connected() definition from util.cpp to util.h and mark it
ESPHOME_ALWAYS_INLINE. The body is trivial — a nullptr check on
global_api_server plus APIServer::is_connected() (which is
!clients_.empty()) — so the out-of-line call8 was pure overhead for hot
paths that check connectivity every loop tick (e.g. zwave_proxy::loop,
serial_proxy::loop).
With USE_API disabled the function collapses to "return false" at compile
time and folds away entirely.
util.h now pulls in api_server.h under USE_API. Only 25 .cpp files include
util.h and all of them are on USE_API builds in practice (wifi, safe_mode,
nextion, web_server, etc.), so the additional transitive include is
essentially free on the platforms that matter.
Measured on ESP32-S3: the call8 in ZWaveProxy::loop() is replaced by
5 inline Xtensa instructions (load global_api_server, deref, null check,
clients_ start/finish compare) — no call overhead, no stack frame.
2026-04-21 11:14:12 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a8bd035b62
Bump CodSpeedHQ/action from 4.13.1 to 4.14.0 ( #15880 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-21 04:44:25 +02:00
J. Nick Koston
f05fa45747
[sensor] Specialize throttle_with_priority NaN-only case ( #15823 )
2026-04-21 04:41:13 +02:00
J. Nick Koston and Copilot
78875abee4
[core] Make buf_append_str PROGMEM-aware on ESP8266 ( #15738 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-04-21 04:40:40 +02:00
J. Nick Koston
37608c2656
[ltr390] Reduce data polling delay and timeout ( #15507 )
2026-04-21 04:40:24 +02:00
J. Nick Koston
a5b1f3eece
[core] Remove pre-sleep socket scan from fast select path ( #15639 )
2026-04-21 04:40:03 +02:00
J. Nick Koston
0d3a3552da
[core] Move heap-allocating helpers to alloc_helpers.h/cpp ( #15623 )
2026-04-21 04:39:49 +02:00
J. Nick Koston
0a0176d600
[core] raise WDT_FEED_INTERVAL_MS from 3 ms to 300 ms ( #15846 )
2026-04-21 04:38:12 +02:00
J. Nick Koston
4cb7ea2584
[light] Force-inline LightCall::set_flag_/clear_flag_ ( #15729 )
2026-04-21 04:37:56 +02:00
Jonathan Swoboda
a43ee15b56
[core] Fix Pvariable placement new losing subclass identity ( #15881 )
2026-04-20 22:33:48 -04:00
Jonathan Swoboda
213ab312d2
[image] Fix rodata bloat for multi-frame RGB565+alpha animations ( #15873 )
2026-04-20 16:27:34 -04:00
Kevin Ahrendt
94f30d5950
[micro_wake_word] Use ESPMicroSpeechFeatures from Espressif registry (v1.2.3) ( #15879 )
2026-04-20 16:26:47 -04:00
Elvin Luff
6af341bb5b
[epaper_spi] Support SSD1683 and GDEY042T81 4.2 inch display ( #13910 )
2026-04-20 09:34:31 -04:00
Clyde Stubbs
82656cb0cf
[mipi_dsi] Add Seeed reTerminal d1001 display ( #15867 )
2026-04-20 09:28:52 -04:00
Rui Marinho
b72f5447c3
[modbus] Simplify payload size validation in modbus_helpers ( #15838 )
2026-04-20 09:24:07 -04:00
Clyde Stubbs
73b8e8ac09
[lvgl] Fix update of textarea attached to keyboard ( #15866 )
2026-04-20 09:15:51 -04:00
Clyde Stubbs
9459f0426d
[lvgl] Fix overloads for setting images on styles ( #15864 )
2026-04-20 09:14:15 -04:00
Clyde Stubbs
0dae41aa22
[lvgl] Fix format of hello world page ( #15868 )
2026-04-20 09:13:42 -04:00
7321e6e52f
[rtttl] allow any control parameters order and default value fallback ( #14438 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-04-20 09:10:05 -04:00
guillempages
f0c21520aa
[mipi_rgb] Add definitions for sunton displays ( #15858 )
2026-04-20 21:56:56 +10:00
Jesse Hills
b0c133201f
Merge branch 'release' into dev
2026-04-20 13:53:30 +12:00
Jesse Hills
572fb83015
Merge pull request #15859 from esphome/bump-2026.4.1
...
2026.4.1
2026.4.1
2026-04-20 13:52:45 +12:00
Clyde Stubbs
0d3db2b670
[lvgl] Fix angles for arc ( #15860 )
2026-04-20 12:08:35 +12:00
Clyde Stubbs
e5f6a734ba
[lvgl] Fix angles for arc ( #15860 )
2026-04-20 12:08:07 +12:00
J. Nick Koston
bab9cd3e7a
[runtime_stats] Track main loop active time and report overhead ( #15743 )
2026-04-20 11:20:39 +12:00
Jesse Hills
36812591eb
Bump version to 2026.4.1
2026-04-20 10:20:56 +12:00
1862c6115f
[packages] Improve error messages with include stack and fix missing path propagation ( #15844 )
...
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 >
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2026-04-20 10:20:56 +12:00
J. Nick Koston
ef780886c3
[substitutions] Fix substitutions: !include file.yaml regression ( #15850 )
2026-04-20 10:20:56 +12:00
J. Nick Koston
602305b20d
[core] Default PollingComponent() to 1ms when codegen is bypassed ( #15831 )
2026-04-20 10:20:56 +12:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
78701debec
Bump aioesphomeapi from 44.16.0 to 44.16.1 ( #15836 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 10:20:56 +12:00
J. Nick Koston
08ac61ae94
[core] Feed WDT unconditionally in main loop to fix empty-config panic ( #15830 )
2026-04-20 10:20:16 +12:00
Clyde Stubbs
6d5340f253
[lvgl] Fix crash with snow on rotated display ( #15822 )
2026-04-20 10:18:05 +12:00
Clyde Stubbs
e2dfef5ddc
[runtime_image] Fix RGB order ( #15813 )
2026-04-20 10:18:05 +12:00
Jonathan Swoboda
1d88027618
[esp32] Downgrade unneeded ignore_pin_validation_error to a warning ( #15811 )
2026-04-20 10:18:05 +12:00
J. Nick Koston
9841deec31
[core] Fix DelayAction compile error with non-const reference args ( #15814 )
2026-04-20 10:18:05 +12:00
Jonathan Swoboda and J. Nick Koston
ed5852c2d6
[ethernet] Fix SPI3_HOST default breaking compile on variants without SPI3 ( #15809 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-20 10:18:05 +12:00
J. Nick Koston
b26601a3dc
[core] coerce set_interval(0) / update_interval: 0ms to 1ms ( #15799 )
2026-04-20 10:18:05 +12:00
Clyde Stubbs
f5806818cd
[image] Fix byte order handling ( #15800 )
2026-04-20 10:18:05 +12:00
Clyde Stubbs
c3e739eba9
[mipi_spi] Drawing fixes for native display ( #15802 )
2026-04-20 10:18:05 +12:00
Jonathan Swoboda
b167b64f06
[lvgl] Guard lv_image_set_src wrapper with LV_USE_IMAGE ( #15789 )
2026-04-20 10:18:05 +12:00
Jonathan Swoboda
722cfae04c
[esp32] Accept unquoted minimum_chip_revision values ( #15785 )
2026-04-20 10:18:05 +12:00
J. Nick Koston
9cb2b562b9
[ili9xxx] Guard against null buffer in display_() when allocation fails ( #15786 )
2026-04-20 10:18:05 +12:00
J. Nick Koston
81fb6712fe
[bundle] Force-resolve nested IncludeFile during file discovery ( #15762 )
2026-04-20 10:18:05 +12:00
Jonathan Swoboda
227dfa3730
[qmc5883l] Move per-update log line from DEBUG to VERBOSE ( #15781 )
2026-04-20 10:18:05 +12:00
J. Nick Koston
aa80bdbbc6
[time] Fix RTC is_valid() rejecting valid times after day_of_year cleanup ( #15763 )
2026-04-20 10:18:05 +12:00
J. Nick Koston
914ed10bcc
[core] Diagnose missing cg.templatable in codegen for TEMPLATABLE_VALUE fields ( #15758 )
2026-04-20 10:18:05 +12:00
Boris Krivonog
92c99a7d41
[mitsubishi_cn105] use HEAT_COOL mode to enable temperature slider ( #15748 )
2026-04-20 10:18:05 +12:00
Clyde Stubbs
af1aaba547
[lvgl] Clean the build if lv_conf.h changes ( #15777 )
2026-04-20 10:18:05 +12:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5a2b7546f6
Bump aioesphomeapi from 44.15.0 to 44.16.0 ( #15757 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-20 10:18:05 +12:00