J. Nick Koston
b8938728b8
Merge branch 'dev' into remove-set-retry
...
Resolve conflict in component.h: keep new upstream features
(runtime stats, component_source_lookup, WARN_IF_BLOCKING_OVER_CS)
while preserving RetryResult removal from this branch.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-01 18:44:53 -10:00
J. Nick Koston
9b97e95cf3
[binary_sensor] Add on_multi_click integration test ( #15329 )
2026-03-31 07:42:12 -10:00
J. Nick Koston
584807b039
[ld2410] Fix flaky integration test race condition ( #15299 )
2026-03-29 11:58:03 -10:00
J. Nick Koston
f5cd1e5e76
[ld2450] Fix flaky integration test race condition ( #15226 )
2026-03-27 08:23:26 -10:00
J. Nick Koston
80028ea1ad
Merge branch 'dev' into remove-set-retry
2026-03-25 20:32:34 -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
5560c9eef7
[test] Fix flakey ld2412 integration test race condition ( #15100 )
2026-03-22 21:10:51 -10:00
Keith Burzinski
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
4d09eb2cec
[tests] Fix flaky ld24xx integration tests by disabling API batching ( #15050 )
2026-03-22 12:29:28 -10:00
J. Nick Koston
5e68282519
[light] Fix constant_brightness broken by gamma LUT refactor ( #15048 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-03-23 09:14:52 +13:00
J. Nick Koston
5f9dccace0
[scheduler] Remove deprecated set_retry/cancel_retry
...
set_retry and cancel_retry were deprecated in 2026.2.0 with removal
scheduled for 2026.8.0. No internal callers remain.
This removes:
- RetryResult enum
- set_retry/cancel_retry from Scheduler and Component
- RetryArgs struct and retry_handler
- is_retry bit field from SchedulerItem
- match_retry parameter from cancel helpers
- Integration tests for retry functionality
2026-03-19 15:36:34 -10:00
Bonne Eggleston
92d5e7b18c
[tests] Fix integration helper to match entities exactly ( #14837 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-15 13:02:23 -10:00
J. Nick Koston
bd844fcd0a
[template] Fix misleading 'Text value too long to save' warning ( #14753 )
2026-03-13 07:37:44 -10:00
Kjell Braden
326769e43c
[runtime_image] fix BMP parsing ( #14762 )
2026-03-13 09:18:42 -04:00
J. Nick Koston
89719cf4b2
[water_heater] Set OPERATION_MODE feature flag when modes are configured ( #14748 )
2026-03-12 14:48:41 -10:00
J. Nick Koston
4d2ef09a29
[log] Detect early log calls before logger init and optimize hot path ( #14538 )
2026-03-10 09:12:10 -10:00
J. Nick Koston
9dd3ec258c
[scheduler] Replace unique_ptr with raw pointers, add leak detection ( #14620 )
2026-03-10 09:11:28 -10:00
Jonathan Swoboda
c31ac662bd
[multiple] Fix crashes from malformed external input ( #14643 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-09 20:39:58 -04:00
J. Nick Koston
aef2d74e41
[ld2450] Add integration tests with mock UART ( #14611 )
2026-03-08 14:32:59 -10:00
J. Nick Koston
88536ff72b
[modbus] Fix timeout for non-hardware UARTs (e.g., USB UART) ( #14614 )
...
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com >
2026-03-08 14:31:42 -10:00
Keith Burzinski
5e842a8b20
[uart] Return flush result, expose timeout via config ( #14608 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-03-08 05:23:13 +00:00
J. Nick Koston
888f3d804b
[ld2420] Add integration tests with mock UART ( #14471 )
2026-03-07 13:22:50 -10:00
Bonne Eggleston
b0be02e16d
[modbus] Fix timing bugs and better adhere to spec ( #8032 )
...
Co-authored-by: brambo123 <52667932+brambo123@users.noreply.github.com >
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-05 20:54:17 +00:00
J. Nick Koston
5df4fd0a27
[tests] Fix flaky uart_mock integration tests ( #14476 )
2026-03-04 15:51:51 -10:00
J. Nick Koston
b2e8544c58
[ld2412] Add integration tests with mock UART ( #14448 )
2026-03-04 07:18:31 -10:00
Jonathan Swoboda
ee78d7a0c0
[tests] Fix integration test race condition in PlatformIO cache init ( #14435 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-03 17:42:41 -05:00
Clyde Stubbs
cfde0613bb
[const][uart][usb_uart][weikai][core] Move constants to components/const ( #14430 )
2026-03-03 07:53:18 -05:00
J. Nick Koston
2e623fd6c3
[tests] Fix flaky log assertion race in oversized payload tests ( #14414 )
2026-03-02 11:48:50 -10:00
J. Nick Koston
3615a7b90c
[core] Eliminate __udivdi3 in millis() on ESP32 and RP2040 ( #14409 )
2026-03-02 11:42:25 -10:00
Bonne Eggleston
3160457ca6
Create integration tests for modbus ( #14395 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-03-01 22:51:27 -10:00
J. Nick Koston
80a2acca4f
[ld2410] Add UART mock integration test for LD2410 component ( #14377 )
2026-03-01 18:19:32 -10:00
Jonathan Swoboda
0d5b7df77d
[sensor] Fix delta filter percentage mode regression ( #14302 )
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-02-25 19:32:02 -05:00
J. Nick Koston
8bb577de64
[api] Split ProtoVarInt::parse into 32-bit and 64-bit phases ( #14039 )
2026-02-25 12:23:13 -06:00
J. Nick Koston
b539a5aa51
[water_heater] Fix device_id missing from state responses ( #14212 )
2026-02-22 23:07:56 +00:00
Jonathan Swoboda
db7870ef5f
[alarm_control_panel] Fix flaky integration test race condition ( #13964 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-12 16:04:39 -05:00
J. Nick Koston
483b7693e1
[api] Fix debug asserts in production code, encode_bool bug, and reduce flash overhead ( #13936 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-02-11 13:57:08 -06:00
tronikos
e3141211c3
[water_heater] Add On/Off and Away mode support to template platform ( #13839 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-10 12:45:18 +00:00
J. Nick Koston
e0712cc53b
[scheduler] Make core timer ID collisions impossible with type-safe internal IDs ( #13882 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-02-09 13:16:22 -06:00
J. Nick Koston
41fedaedb3
[udp] Eliminate per-loop heap allocation using std::span ( #13838 )
...
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com >
2026-02-08 08:26:47 -06:00
tronikos
eb7aa3420f
Add target_temperature to the template water heater ( #13661 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-02-06 21:23:42 +01:00
dependabot[bot]
4d05cd3059
Bump ruff from 0.14.14 to 0.15.0 ( #13752 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-04 09:24:05 +00:00
J. Nick Koston
d0017ded5b
[template] Split TemplateSelect into TemplateSelectWithSetAction to save RAM ( #13685 )
...
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com >
2026-02-03 11:48:31 +00:00
J. Nick Koston
1119003eb5
[core] Add missing uint32_t ID overloads for defer() and cancel_defer() ( #13720 )
2026-02-02 22:22:11 +01:00
J. Nick Koston
bc49174920
Add additional text_sensor filter tests ( #13479 )
2026-01-26 17:18:36 -10:00
polyfloyd
3c0f43db9e
Add the max_delta filter ( #12605 )
...
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com >
2026-01-21 10:58:47 +11:00
J. Nick Koston
86a1b4cf69
[select][fan] Use StringRef for on_value/on_preset_set triggers to avoid heap allocation ( #13324 )
2026-01-18 19:51:11 -10:00
J. Nick Koston
baf2b0e3c9
[api] Fix truncation of Home Assistant attributes longer than 255 characters ( #13348 )
2026-01-18 18:23:11 -10:00
J. Nick Koston
4d4283bcfa
[udp] Store addresses in flash instead of heap ( #13330 )
2026-01-17 15:50:23 -10:00
J. Nick Koston
d5f557ad1c
[scheduler] Eliminate heap allocations for std::string names and add uint32_t ID API ( #13200 )
2026-01-14 09:15:31 -05:00
J. Nick Koston
cd43b4114e
[api] Fire on_client_disconnected trigger after removing client from list ( #13088 )
2026-01-08 20:36:24 -10:00