J. Nick Koston
ec833ce2d9
[core] Move host socket-select wake mechanism into wake.h/wake.cpp
...
The host platform's wake plumbing was split between wake.cpp (which had
wake_loop_threadsafe()) and application.{h,cpp} (which owned the fd
registry, wake socket lifecycle, select() loop, and readiness query).
The split required application.h to friend wake_loop_threadsafe() and
expose the wake socket fd, and forced a host-only out-of-line override
of yield_with_select_() that was equivalent to wakeable_delay() on every
other platform.
Consolidate the host wake mechanism in wake.h/wake.cpp:
- New host-only API: wake_register_fd, wake_unregister_fd, wake_fd_ready,
wake_setup, wake_drain_notifications.
- Host implementation of internal::wakeable_delay now performs the
select() over registered fds, mirroring the role of xTaskNotifyTake on
ESP32 and esp_delay on ESP8266.
- Application drops the host-specific socket_fds_, max_fd_,
wake_socket_fd_, socket_fds_changed_, read_fds_, base_read_fds_
members, the host include block (sys/select.h, sys/socket.h, etc.),
and the friend declarations for wake_loop_threadsafe() and
socket::socket_ready_fd().
- yield_with_select_() collapses to a single inline definition for all
platforms that delegates to wakeable_delay().
- Socket factories (bsd_sockets_impl.cpp, lwip_sockets_impl.cpp) and
socket::socket_ready_fd() now call the wake.h API directly instead of
going through App.
2026-04-23 00:33:04 +02:00
Keith Burzinski
36720c8495
[usb_uart] Derive TX output chunk count from buffer_size config ( #15909 )
2026-04-23 09:16:14 +12:00
Jonathan Swoboda
c48ab2ef92
[io_expanders] Self-heal interrupt-driven expanders when INT stays asserted across the read ( #15923 )
2026-04-23 09:05:15 +12:00
Keith Burzinski
162ee2ecaf
[i2s_audio] Split speaker into base class and standard subclass ( #15404 )
2026-04-22 14:40:18 -05:00
Asela Fernando and Jonathan Swoboda
a73bac0b5f
[ac_dimmer] Zero-crossing interrupt type ( #15862 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-04-22 14:57:53 -04:00
Rishab Mehta and Jonathan Swoboda
4e84611ae7
[internal_temperature] Fix internal Temperature discrepancy on BK7231T ( #15771 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-04-22 17:50:59 +00:00
PolarGoose
ea2e36e55a
[dsmr] Improve performance. Add missing sensors. Remove Crypto-no-arduino. ( #15875 )
2026-04-22 13:49:14 -04:00
fcbc4d64fe
[one_wire] Reset bus before SKIP ROM command ( #14669 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-04-22 13:20:02 -04:00
Timothy and Jonathan Swoboda
dcd103cec0
[cse7761] bidirectional active power ( #15162 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-04-22 13:11:18 -04:00
Ludovic BOUÉ and Jonathan Swoboda
5e715692d6
[network] Reorder IPv6 configuration for network components ( #11694 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-04-22 17:01:20 +00:00
rwrozelle and J. Nick Koston
d5263cd46e
[esp32] add watchdog_timeout configuration variable ( #15908 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-22 13:01:23 +00:00
J. Nick Koston
c399cd2fa2
[core] RAII guard for component loop phase ( #15897 )
2026-04-22 14:04:29 +02:00
J. Nick Koston
f6bf6dc8e5
[core] Dedupe yield() fast path in wakeable_delay and always-inline ( #15915 )
2026-04-22 13:52:40 +02:00
J. Nick Koston
e35b435f02
[libretiny] Inline xTaskGetTickCount() for millis() fast path ( #15918 )
2026-04-22 13:52:27 +02:00
J. Nick Koston
886cd7ab72
[core] Collapse adjacent USE_HOST ifdef blocks in Application ( #15914 )
2026-04-22 07:47:01 -04:00
dependabot[bot]
73714dc489
Bump aioesphomeapi from 44.18.0 to 44.19.0 ( #15920 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 12:26:25 +02:00
dependabot[bot]
5218bbd791
Update argcomplete requirement from >=2.0.0 to >=3.6.3 ( #15921 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 12:19:47 +02:00
J. Nick Koston
23ad30cb4c
[esp32] Use xTaskGetTickCount() for millis() when tick rate is 1kHz ( #15661 )
2026-04-22 06:44:53 +02:00
J. Nick Koston
a3b49d1ed9
[core] Use MAC_ADDRESS_BUFFER_SIZE constant instead of duplicated literal ( #15913 )
2026-04-22 04:43:33 +00:00
J. Nick Koston
9c80cbf19c
[light] Reduce validate_ clamp code size and speed up unit-range clamps ( #15728 )
2026-04-22 16:34:26 +12:00
J. Nick Koston
699cf9690a
[core] Optimize value_accuracy_to_buf to avoid snprintf ( #15596 )
2026-04-22 16:31:34 +12:00
J. Nick Koston
67576d4879
[rp2040] Tune oversized lwIP defaults for ESPHome ( #14843 )
2026-04-22 06:29:13 +02:00
J. Nick Koston
edcf96d057
[wifi] Use queue abstraction for LibreTiny WiFi events ( #15343 )
2026-04-22 06:24:09 +02:00
dependabot[bot]
bb81c91d0c
Update tzdata requirement from >=2021.1 to >=2026.1 ( #15911 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 03:08:58 +00:00
dependabot[bot]
78f1467be4
Bump aioesphomeapi from 44.17.0 to 44.18.0 ( #15912 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 03:08:42 +00:00
dependabot[bot]
da44d43981
Update pyparsing requirement from >=3.0 to >=3.3.2 ( #15910 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-22 05:07:48 +02:00
Javier Peletier and J. Nick Koston
9cebce1b6e
[substitutions] Improve error messages with include stack trace ( #15874 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-22 03:19:01 +02:00
Jesse Hills and J. Nick Koston
b20fedd806
[bl0906] Disable loop when idle and introduce BL0906Stage enum ( #15884 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-04-22 03:18:21 +02:00
Keith Burzinski
ee91ad8f06
[esp32] Add Secure Boot V1 ECDSA signing scheme for pre-rev-3.0 ESP32 ( #15882 )
2026-04-22 11:25:05 +12:00
dependabot[bot]
7560112144
Bump aioesphomeapi from 44.16.1 to 44.17.0 ( #15906 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-21 22:08:41 +02:00
43c6b839cd
[sensor] Filter to round to significant digits ( #11157 )
...
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
2026-04-21 14:00:03 +00:00
Edward Firmo
0c9d443a5c
[esp32_ble] Add use_psram option to offload BT memory allocation to SPIRAM ( #15644 )
2026-04-21 15:18:46 +02:00
J. Nick Koston
14defb69b6
[template] Use placement new for template text restore saver ( #15883 )
2026-04-21 13:04:13 +00:00
3a6f3dfb94
[lock] Implemented open states support ( #15120 )
...
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@koston.org >
2026-04-21 13:03:07 +00:00
J. Nick Koston
7bd36e0c8d
[debug] Migrate trivial buf_append_printf sites to buf_append_str ( #15885 )
2026-04-21 12:51:45 +00:00
J. Nick Koston
e4f413adad
[core] decouple main loop cadence from scheduler wake timing ( #15792 )
2026-04-21 14:48:21 +02:00
J. Nick Koston
1504ac3d19
[core] Replace strnlen in buf_append_str for Zephyr compatibility ( #15892 )
2026-04-21 12:32:29 +00:00
J. Nick Koston
947c714f89
[core] Inline api_is_connected() for hot-path callers ( #15888 )
2026-04-21 13:48:33 +02:00
J. Nick Koston
e4d5886383
[zwave_proxy] Inline loop() hot-path fast-paths for response_handler_ and process_uart_ ( #15887 )
2026-04-21 13:48:16 +02:00
J. Nick Koston
f504099485
[api] Replace clients_ std::vector with compile-time std::array + uint8_t count ( #15889 )
2026-04-21 13:47:37 +02:00
Jonathan Swoboda
cb56f9a9bf
[qmc5883l] Use GPIO interrupt when DRDY pin is configured ( #15876 )
2026-04-21 07:47:16 -04:00
Jonathan Swoboda
26a656af29
[ld2412] Fix null deref in set_basic_config when entities unconfigured ( #15893 )
2026-04-21 07:47:07 -04:00
dependabot[bot]
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