J. Nick Koston
5d4fcaaf34
Merge remote-tracking branch 'upstream/dev' into integration
2026-02-11 11:42:01 -06:00
Nate Clark
1411868a0b
[mqtt.cover] Add option to publish states as JSON payload ( #12639 )
...
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-11 11:40:27 -06:00
J. Nick Koston
68c233b3bd
Merge branch 'api-optimize-varint-encoding' into integration
2026-02-11 11:37:42 -06:00
J. Nick Koston
242d152edc
Use ESPHOME_DEBUG_API guard instead of DEBUG
...
CI compile tests also define DEBUG, so a dedicated guard is needed.
Enable ESPHOME_DEBUG_API in integration tests via conftest.py.
2026-02-11 11:34:14 -06:00
J. Nick Koston
e63308aa33
Use DEBUG guard for asserts instead of custom define
...
Integration tests already pass -DDEBUG, so no custom define needed.
2026-02-11 11:30:51 -06:00
J. Nick Koston
93ff39709a
Enable ESPHOME_DEBUG_API in API integration tests
2026-02-11 11:28:08 -06:00
tomaszduda23
9bdae5183c
[nrf52,logger] add support for task_log_buffer_size ( #13862 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-11 15:43:55 +00:00
J. Nick Koston
e0f3d87c17
Merge remote-tracking branch 'tomaszduda23/logger_threading' into integration
2026-02-11 09:18:41 -06:00
J. Nick Koston
8b53f9a649
revert to 0 disabled to test off path
2026-02-11 08:48:22 -06:00
J. Nick Koston
4f7d4e1fd3
make sure its > 0 in test
2026-02-11 08:36:38 -06:00
Tomasz Duda
054716fa51
fix
2026-02-11 12:54:35 +01:00
J. Nick Koston
1af70e67b7
Merge branch 'light-validate-eliminate-redundant-clamp' into integration
2026-02-10 21:07:20 -06:00
Jonathan Swoboda
548b7e5dab
[esp32] Fix ESP32-P4 test: replace stale esp_hosted component ref ( #13920 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-11 00:04:12 +00: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
75c952eaef
Merge branch 'template_water_heater_onoff' into integration
2026-02-10 06:21:45 -06:00
J. Nick Koston
1b3f3c04b9
Use mutable globals in water heater test fixture
...
Use globals for away/is_on lambdas and sync them in set_action
so optimistic state changes persist across loop iterations.
2026-02-10 06:17:52 -06:00
J. Nick Koston
6410c6cf9b
improve tests
2026-02-10 06:14:41 -06:00
J. Nick Koston
0503760af4
Add integration tests for toggling away and on/off state flags
2026-02-10 06:09:18 -06:00
J. Nick Koston
22b038f6a4
Import WaterHeaterFeature from aioesphomeapi instead of redefining locally
2026-02-10 05:47:46 -06:00
J. Nick Koston
50aaea6bf1
Merge branch 'dev' into template_water_heater_onoff
2026-02-10 05:38:01 -06:00
Cody Cutrer
b97a728cf1
[ld2450] add on_data callback ( #13601 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2026-02-09 22:40:44 -05:00
J. Nick Koston
13ef9d0fcd
Merge remote-tracking branch 'upstream/dev' into integration
2026-02-09 16:46:03 -06:00
Jonathan Swoboda
475db750e0
[uart] Change available() return type from int to size_t ( #13893 )
...
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com >
2026-02-09 17:41:16 -05:00
tronikos
1419ac8ad8
Merge branch 'dev' into template_water_heater_onoff
2026-02-09 13:03:50 -08:00
J. Nick Koston
b6fdd29953
[voice_assistant] Replace timer unordered_map with vector to eliminate per-tick heap allocation ( #13857 )
2026-02-09 14:42:40 -06:00
Clyde Stubbs
00256e3ca0
[mipi_rgb] Allow use on P4 ( #13740 )
2026-02-10 06:35:41 +11: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
abb88f6b0f
Merge remote-tracking branch 'origin/api-flash-string-progmem' into integration
2026-02-09 11:16:41 -06:00
J. Nick Koston
5d5344cf91
Add tests for cg.templatable() auto FlashStringLiteral wrapping
...
Cover the new automatic ESPHOME_F() wrapping behavior: static strings
with std::string output_type, non-string values, None output_type,
to_exp callable/dict, and lambda passthrough.
2026-02-09 10:56:56 -06:00
J. Nick Koston
66af998098
[dashboard] Handle malformed Basic Auth headers gracefully ( #13866 )
2026-02-09 08:45:03 -06:00
J. Nick Koston
8b8acb3b27
[dashboard] Use constant-time comparison for username check ( #13865 )
2026-02-09 08:31:06 -06:00
J. Nick Koston
1c60efa4b6
[ota] Use secrets module for OTA authentication cnonce ( #13863 )
2026-02-09 08:30:49 -06:00
J. Nick Koston
c990da265a
Add unit tests for FlashStringLiteral
...
Cover the three lines reported uncovered by codecov in
cpp_generator.py (FlashStringLiteral.__init__ and __str__).
2026-02-09 07:45:03 -06:00
J. Nick Koston
a6345eea08
Merge branch 'scheduler_uint32t_core_filters' into integration
2026-02-09 06:32:01 -06:00
J. Nick Koston
3d2b9641a4
[scheduler] Add integration test for internal vs numeric ID isolation
...
Verifies that NUMERIC_ID_INTERNAL and NUMERIC_ID are completely
independent matching namespaces — same uint32_t value on the same
component does not collide. Tests that cancelling one type does not
affect the other, and that string names also don't cross-match.
2026-02-09 06:05:13 -06:00
tronikos
2cf853d6a1
Merge branch 'dev' into template_water_heater_onoff
2026-02-09 02:04:15 -08:00
J. Nick Koston
5370687001
[wizard] Use secrets module for fallback AP password generation ( #13864 )
2026-02-09 03:25:41 -06:00
J. Nick Koston
6ee185c58a
[dashboard] Use resolve/relative_to for download path validation ( #13867 )
2026-02-09 03:25:23 -06:00
tronikos
0c510ff1e7
update
2026-02-08 22:09:08 -08:00
tronikos
2d22bd4951
fix
2026-02-08 21:35:29 -08:00
Clyde Stubbs
756f1c6b7e
[lvgl] Fix crash with unconfigured top_layer ( #13846 )
2026-02-08 21:53:43 -05:00
J. Nick Koston
5cb3af9e0e
Merge branch 'hardening/api-varint-guard' into integration
2026-02-08 08:38:46 -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
J. Nick Koston
b283f1ae75
Merge all hardening branches into integration
...
Resolve conflict in web_server_idf.cpp: keep constant-time compare
logic adapted to stack-allocated digest buffer from integration.
2026-02-08 08:03:23 -06:00
J. Nick Koston
2ceb6ee95b
Add comment explaining Windows-specific multiple_dots behavior
...
On Windows, Path.resolve() treats '....' as parent traversal (403),
while on Unix it is a literal directory name that stays inside the
base directory (404).
2026-02-08 07:55:48 -06:00
J. Nick Koston
4cdd73904f
Encode usernames as UTF-8 bytes for hmac.compare_digest
...
hmac.compare_digest() on str inputs raises TypeError if either
contains non-ASCII characters. Encode both sides as UTF-8 bytes.
Add test with non-ASCII username to prevent regressions.
2026-02-08 07:49:53 -06:00
J. Nick Koston
b8cad678b1
URL-encode whitespace in empty file name test parameter
...
Replace raw spaces with %20%20 to avoid flakiness from HTTP clients
handling unencoded spaces differently.
2026-02-08 07:48:41 -06:00
J. Nick Koston
5c5bf50e49
Update test docstring to reflect validation instead of sanitization
2026-02-08 07:41:00 -06:00
J. Nick Koston
401d3c2056
Fix idedata test mock to use Path instead of str
...
The test set mock_image.path to str, but FlashImage.path is a Path.
This masked a pre-existing bug where Path.endswith() doesn't exist.
Fix the mock to match the real type so as_posix() works correctly.
2026-02-08 07:36:02 -06:00
J. Nick Koston
30662bc11b
Update module docstring to reflect auth test coverage
2026-02-08 07:34:14 -06:00