J. Nick Koston
f7aeaad929
[api] Replace std::vector<uint8_t> with APIBuffer to skip zero-fill
...
Replace std::vector<uint8_t> with a minimal APIBuffer class for the
shared protobuf write buffer, frame helper receive buffer (rx_buf_),
and noise handshake prologue buffer.
std::vector::resize() zero-fills new bytes via memset. Every byte is
immediately overwritten by the protobuf encoder or socket reads,
making the zero-fill pure waste. APIBuffer skips zero-initialization
on resize() and uses make_unique_for_overwrite where available.
Also removes a dead write_raw_ template overload from api_frame_helper.h.
2026-03-07 19:45:50 -10:00
f20aaf3981
[api] Device defined action responses ( #12136 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-12-06 09:47:57 -06:00
09f3f62194
[api] Connected Condition - state_subscription_only flag ( #11906 )
...
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 >
2025-11-24 11:49:16 -06:00
J. Nick Koston
c17a31a8f8
Ensure event paths are enabled in api compile tests ( #11776 )
2025-11-10 14:28:49 +13:00
J. Nick Koston
d0b399d771
[ci] Reduce release time by removing 468 redundant ESP32-C3 IDF tests ( #11737 )
2025-11-07 15:44:01 +13:00
J. Nick Koston
40f919eaa6
Add action continuation tests ( #11674 )
2025-11-03 14:07:03 +13:00
J. Nick Koston
dcf2697a2a
Group component tests to reduce CI time ( #11134 )
2025-10-12 07:21:45 +13:00
J. Nick Koston
56334b7832
[ci][tests] Remove redundant ESP32 Arduino test files ( #11136 )
2025-10-10 07:26:41 +13:00
a62c7a03dd
[api] Add support for getting action responses from home-assistant ( #10948 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2025-10-08 20:47:36 +13:00
J. Nick Koston
1922b7b3ed
[api] Make password and encryption mutually exclusive, add deprecation warning for password auth ( #10871 )
2025-09-24 22:20:35 -05:00
Keith Burzinski and Jesse Hills
2fd5f9ac58
[api] Allow noise encryption key to be set at runtime ( #7296 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-04-17 13:15:25 +12:00
Clyde Stubbs
ecd3d838c9
[api] Bump noise-c library version ( #7288 )
2024-08-15 15:35:03 +12:00
Jesse Hills
cb9906b921
[api] `homeassistant.action replaces homeassistant.service` ( #7171 )
2024-08-01 22:38:36 +12:00
Keith Burzinski
f6848fe24d
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) ( #6802 )
...
* Initial changes to support testing of additional framework versions
* Rename Arduino test files
2024-06-17 16:32:11 -05:00
Keith Burzinski
d604c8ae64
[CI-api] Test fix for IDF 5+ ( #6918 )
2024-06-17 07:18:04 +00:00
Keith Burzinski
f6a3784eba
Consolidate test files where all tests are identical ( #6690 )
2024-05-08 07:33:37 +12:00
Keith Burzinski
cb731926be
Add actions for component tests A, B and C ( #6256 )
2024-03-19 10:00:06 +13:00
Keith Burzinski
9dbbc80c74
Add some components to the new testing framework (A part 2) ( #6162 )
2024-02-07 04:05:04 +09:00