J. Nick Koston
e2cb5df6c8
Simplify host check in socket to_code: use CORE.is_host
2026-04-04 11:17:12 -10:00
J. Nick Koston
75a2b23bdb
Replace USE_SOCKET_SELECT_SUPPORT with USE_HOST
2026-04-04 11:16:41 -10:00
J. Nick Koston
5dd43bca2d
Simplify wake.h file doc
2026-04-04 11:11:13 -10:00
J. Nick Koston
7e8d3ba13e
Inline RP2040 wakeable_delay using function-local static + lambda callback
2026-04-04 11:08:41 -10:00
J. Nick Koston
0bf0fc7eb8
Inline ESP8266 wakeable_delay (no static state, 5 lines)
2026-04-04 11:07:41 -10:00
J. Nick Koston
aaead7b5eb
Move wakeable_delay into namespace internal to signal it's not public API
2026-04-04 11:07:01 -10:00
J. Nick Koston
95e8a22250
Fix wake_loop_isrsafe comment: ESP32 only, not LibreTiny
2026-04-04 11:03:07 -10:00
J. Nick Koston
ad3c92e3f7
Remove unused wakeable_delay on host
2026-04-04 11:01:11 -10:00
J. Nick Koston
edc5ec62e0
Fix socket to_code: USE_SOCKET_SELECT_SUPPORT only for BSD sockets on host
2026-04-04 10:59:58 -10:00
J. Nick Koston
f3778edc69
Clean up dead lwip code paths under USE_SOCKET_SELECT_SUPPORT (now host-only)
2026-04-04 10:56:30 -10:00
J. Nick Koston
4be95e274d
Fix host platform: use POSIX socket APIs instead of lwip_*
2026-04-04 10:55:25 -10:00
J. Nick Koston
843b63edb4
Move host wake_loop_threadsafe from application.cpp to wake.cpp
2026-04-04 10:53:15 -10:00
J. Nick Koston
d3586c76ba
Deduplicate wakeable_delay call in yield_with_select_
2026-04-04 10:52:24 -10:00
J. Nick Koston
8cbf3e354b
Define wakeable_delay on all platforms, simplify yield_with_select_
2026-04-04 10:49:22 -10:00
J. Nick Koston
eac783697a
Fix cpptests build: handle defines.h having both USE_ESP32 and USE_HOST
2026-04-04 10:48:30 -10:00
J. Nick Koston
ffb2fe5f10
Stop setting USE_SOCKET_SELECT_SUPPORT on fast-select platforms
...
USE_SOCKET_SELECT_SUPPORT now exclusively means 'host select() fallback'.
ESP32/LibreTiny use USE_LWIP_FAST_SELECT instead. This eliminates
all 'USE_SOCKET_SELECT_SUPPORT && !USE_LWIP_FAST_SELECT' guards.
2026-04-04 10:44:45 -10:00
J. Nick Koston
88d7198fa4
Add wakeable_delay for ESP32/LibreTiny using ulTaskNotifyTake
2026-04-04 10:40:14 -10:00
J. Nick Koston
bfad79f34c
Replace unreachable delay fallback with #error
2026-04-04 10:38:27 -10:00
J. Nick Koston
91bfa8d4fa
Make wake_loop_any_context available on all platforms including host
2026-04-04 10:37:35 -10:00
J. Nick Koston
72c7fc25b4
Restrict wake_loop_isrsafe to ESP32 only
2026-04-04 10:34:49 -10:00
J. Nick Koston
04b40f8f15
Clean up comments in application.h
2026-04-04 10:32:49 -10:00
J. Nick Koston
e372440ed2
[core] Move wake_loop out of socket component into core
...
Wake primitives (esp_schedule, __sev, FreeRTOS task notifications)
are platform SDK functions that don't depend on the socket/network
stack. Move them to esphome/core/wake.h/.cpp so they work
unconditionally on all platforms.
This eliminates the require_wake_loop_threadsafe() boilerplate,
the USE_WAKE_LOOP_THREADSAFE define, and the socket AUTO_LOAD
entries that 12 components needed just to use wake.
wake_loop_threadsafe() and wake_loop_any_context() now just work
on every platform without opt-in.
2026-04-04 10:32:32 -10:00
Clyde Stubbs
1a1725f958
[esp32] Clean build when sdkconfig options change ( #15439 )
2026-04-04 09:11:29 -04:00
J. Nick Koston
297f9c134f
[time] Use set_interval for CronTrigger instead of loop() ( #15433 )
2026-04-04 01:07:16 -10:00
J. Nick Koston
f51871fa6b
[total_daily_energy] Replace loop() with timeout-based midnight reset ( #15432 )
2026-04-04 00:37:50 -10:00
J. Nick Koston
9ee5089891
[time] Support */N syntax in cron expressions ( #15434 )
2026-04-04 00:30:41 -10:00
J. Nick Koston
b0d39aedd3
[hlw8012] Change periodic sensor reading logs to LOGV ( #15431 )
2026-04-04 00:30:29 -10:00
Clyde Stubbs
89de00e7ce
[online_image] Clear LVGL dsc when image size changes. ( #15360 )
2026-04-04 17:04:01 +11:00
alorente and clydebarrow
53b6528cc5
[epaper_spi] Allow runtime rotation change ( #15419 )
...
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com >
2026-04-04 16:02:15 +10:00
Boris Krivonog
16ae753317
[mitsubishi_cn105] Add climate component for Mitsubishi A/C units with CN105 connector (Part 2) ( #15358 )
2026-04-03 19:44:04 -10:00
J. Nick Koston
2337767c38
[modbus_controller] Fix format specifier warnings ( #15429 )
2026-04-03 16:37:31 -10:00
J. Nick Koston
4f2290d548
[web_server] Disable loop when no SSE clients are connected ( #15428 )
2026-04-03 16:37:20 -10:00
Clyde Stubbs
7ab26a4fe0
[ili9xxx][st7735] Add deprecation warnings ( #15416 )
2026-04-04 13:21:58 +11:00
dependabot[bot]
533eeabf1d
Bump aioesphomeapi from 44.8.1 to 44.9.0 ( #15425 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 23:17:49 +00:00
Bonne Eggleston and J. Nick Koston
c6bb1fe141
[modbus] Add integration tests for server and server via controller ( #14845 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-04-03 20:24:02 +00:00
dependabot[bot]
f8f65c1a7b
Bump click from 8.3.1 to 8.3.2 ( #15421 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-04-03 09:42:37 -10:00
J. Nick Koston
d90e2a6a9a
[core] Use __builtin_ctz for FiniteSetMask bit scanning ( #15400 )
2026-04-03 08:28:54 -10:00
J. Nick Koston
4969fd6e99
[light] Use reciprocal multiply in normalize_color ( #15401 )
2026-04-03 08:28:41 -10:00
J. Nick Koston
95683b7416
[light] Pass LightTraits to avoid redundant virtual get_traits() calls ( #15403 )
2026-04-03 08:28:29 -10:00
J. Nick Koston
38f4dc3217
[uptime] Pass known length to publish_state to avoid redundant strlen ( #15410 )
2026-04-03 08:28:07 -10:00
J. Nick Koston
f2a0d9943d
[benchmarks] Add host platform benchmarks for text_sensor and button ( #15407 )
2026-04-03 08:27:55 -10:00
J. Nick Koston
ea0227a206
[benchmarks] Add host platform benchmarks for number, select, and switch ( #15405 )
2026-04-03 08:27:44 -10:00
J. Nick Koston
5a23669747
[scheduler] Fix unrealistic scheduler benchmarks missing periodic drain ( #15396 )
2026-04-03 08:27:29 -10:00
J. Nick Koston
2a5933e4f7
[host] Add graceful shutdown on SIGINT/SIGTERM ( #15387 )
2026-04-03 08:27:13 -10:00
Jonathan Swoboda
6fecd72049
[ezo_pmp] Fix change_i2c_address action using wrong template type ( #15393 )
2026-04-03 08:35:16 -04:00
Clyde Stubbs
8360502a94
[ci] Fix deprecated-component matcher ( #15417 )
2026-04-03 08:01:04 -04:00
Jonathan Swoboda
5548a32771
[ili9xxx] Fix SPI MOSI pin validation never executing ( #15399 )
2026-04-03 21:15:51 +11:00
Clyde Stubbs
6f05e3d204
[ci] Run ci-custom.py as a pre-commit check ( #15411 )
2026-04-03 12:54:44 +11:00
Jonathan Swoboda and clydebarrow
bcd8ddeabe
[lvgl] Fix ext_click_area property application ( #15394 )
...
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com >
2026-04-03 12:44:54 +11:00
Clyde Stubbs
af662da90d
[mipi_spi] Rotation and buffer size changes ( #15047 )
2026-04-03 12:28:45 +11:00