J. Nick Koston
cbd30ce37a
as const object
2025-10-08 07:32:12 +13:00
J. Nick Koston
cd4c4eab35
remove std::map, only 1 or 2 callbacks in flight ever
2025-10-08 07:29:56 +13:00
J. Nick Koston
1f557b46b3
fix ifdefs
2025-10-08 07:28:35 +13:00
Jesse Hills
49b271747d
Add missing ifdef
2025-10-07 20:11:43 +13:00
Jesse Hills
a11bef0558
Handle action status response without json
2025-10-07 17:25:35 +13:00
J. Nick Koston
38b727e0b8
Merge branch 'dev' into jesserockz-2025-457
2025-10-06 15:45:43 -05:00
J. Nick Koston
f670d775ac
[api] Fix clang-tidy sign comparison error ( #11081 )
2025-10-06 19:26:58 +00:00
Jesse Hills
8ef8a7eaaf
Merge branch 'dev' into jesserockz-2025-457
2025-10-07 07:35:49 +13:00
Jesse Hills
0e0b67f126
Split response and error triggers
...
Simplify variables in response lambdas to JsonObject
Use `const char *` for message and parse to json right away
2025-10-06 17:04:47 +13:00
Keith Burzinski
cfd241ff29
[zwave_proxy] Send HomeID upon client connect ( #11037 )
2025-10-06 03:47:55 +00:00
Jesse Hills
a405592385
Update esphome/components/api/__init__.py
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-10-06 13:32:09 +13:00
J. Nick Koston
19439199cc
[api] Add configurable send queue limit to prevent OOM crashes ( #10973 )
2025-10-06 09:25:04 +13:00
J. Nick Koston
7b48fc292f
[api] Consolidate fatal error logging to reduce flash usage ( #11015 )
2025-10-05 09:56:30 -04:00
J. Nick Koston
b1859c50bd
[api] Simplify message reading conditional ( #11016 )
2025-10-04 21:42:21 -04:00
J. Nick Koston
0137954f2b
[const] Move CONF_MAX_CONNECTIONS to const.py ( #11007 )
2025-10-03 18:20:00 -05:00
J. Nick Koston
f2aa5a754c
[api] Remove ClientInfo::get_combined_info() to eliminate heap fragmentation ( #10970 )
2025-10-02 12:44:30 +13:00
J. Nick Koston
638c6cc14e
[api] Reduce flash usage in user services by eliminating vector copy ( #10971 )
2025-10-01 20:26:47 +02:00
Jesse Hills
f4b7009c96
move callback
2025-10-01 13:50:07 +13:00
Jesse Hills
226399222d
move error message
2025-10-01 11:16:07 +13:00
Jesse Hills
9a95ec95f9
Merge branch 'dev' into jesserockz-2025-457
2025-10-01 11:12:55 +13:00
Jesse Hills
2ef4f3c65f
Update esphome/components/api/__init__.py
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-01 08:45:58 +13:00
J. Nick Koston
6018f5f5d1
[api] Add configurable connection limits ( #10939 )
2025-09-30 22:24:19 +13:00
Jesse Hills
6c362d42c3
[api] Add support for getting action responses from home-assistant
2025-09-30 15:28:41 +13:00
J. Nick Koston
a56d044d98
[api] Prevent API from overriding noise encryption keys set in YAML ( #10927 )
2025-09-28 22:42:58 -05:00
Keith Burzinski
9dd6be4061
[zwave_proxy, api] Add notification message when Z-Wave HomeID changes ( #10860 )
2025-09-27 17:50:18 -05: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
Michael Hansen
f22143f090
Add external wake word message ( #10850 )
2025-09-24 19:08:29 -05:00
J. Nick Koston
adfacdf1b7
[api] Consolidate authentication checks to reduce function call overhead ( #10852 )
2025-09-23 19:43:55 -05:00
Jesse Hills
63326cbd6d
[api] Rename HomeassistantServiceResponse
to HomeassistantActionRequest
( #10839 )
...
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 >
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-09-23 17:58:24 -05:00
J. Nick Koston
d0d7abb542
Implement zero-copy for strings in base API calls ( #10851 )
2025-09-23 16:15:28 -05:00
J. Nick Koston
365e3afa9b
Implement zero-copy API for zwave_proxy ( #10836 )
...
Co-authored-by: Keith Burzinski <kbx81x@gmail.com >
2025-09-23 20:12:54 +00:00
J. Nick Koston
2f8a4d0caa
[api] Implement zero-copy API for bluetooth_proxy writes ( #10840 )
2025-09-23 13:48:57 -05:00
Keith Burzinski
1ccec6950a
[zwave_proxy] Send Home ID in DeviceInfoResponse ( #10798 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick+github@koston.org >
Co-authored-by: AlCalzone <d.griesel@gmx.net >
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-09-19 14:52:54 +00:00
Keith Burzinski
fad0ec7793
[zwave_proxy] New component ( #10762 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-09-18 15:43:14 -05:00
J. Nick Koston
ff2df278d6
[api] Rename ConnectRequest/Response to AuthenticationRequest/Response ( #10726 )
2025-09-18 07:42:37 +12:00
J. Nick Koston
459ef7f262
[api] Exclude ConnectRequest/Response when password is disabled ( #10704 )
2025-09-14 20:45:28 -05:00
J. Nick Koston
7ae11de2e4
[api] Optimize HelloResponse server_info to reduce memory usage ( #10701 )
2025-09-15 09:54:42 +12:00
J. Nick Koston
bb6be9c939
[api] Revert unneeded GetTime bidirectional support added in #9790 ( #10702 )
2025-09-15 09:52:19 +12:00
J. Nick Koston
5fd64c5c89
[core] Add millisecond precision to logging timestamps ( #10677 )
2025-09-11 14:25:55 -05:00
J. Nick Koston
422d209786
[api] Add timezone support to GetTimeResponse for automatic timezone synchronization ( #10661 )
2025-09-09 15:54:50 -05:00
J. Nick Koston
666e33e70b
[api] Store plaintext error message in PROGMEM on ESP8266 ( #10634 )
2025-09-07 20:09:47 -05:00
J. Nick Koston
3fd469cfe8
[esp8266][api] Store error strings in PROGMEM to reduce RAM usage ( #10568 )
2025-09-05 18:16:43 -05:00
J. Nick Koston
1359142106
[api] Store Noise protocol prologue in flash on ESP8266 ( #10598 )
2025-09-05 18:10:18 -05:00
J. Nick Koston
23c6650902
[api] Fix VERY_VERBOSE logging compilation error with bool arrays ( #10539 )
2025-09-04 08:07:13 +12:00
J. Nick Koston
d1276dc6df
[core] Replace magic coroutine priority numbers with self-documenting CoroPriority enum ( #10518 )
2025-09-02 21:41:50 +00:00
J. Nick Koston
6daeffcefd
[bluetooth_proxy] Expose configured scanning mode in API responses ( #10490 )
2025-09-01 13:07:29 +12:00
J. Nick Koston
a92a08c2de
[api] Fix string lifetime issue in fill_and_encode_entity_info for dynamic object_id ( #10482 )
2025-08-28 18:40:36 +00:00
Jesse Hills
d45944a9e2
[api] Add `USE_API_HOMEASSISTANT_SERVICES
if using
tag_scanned
` action ( #10316 )
2025-08-20 06:47:20 -05:00
J. Nick Koston
5a1533bea9
[api] Avoid object_id string allocations for all entity info messages ( #10260 )
2025-08-20 14:28:13 +12:00
J. Nick Koston
0e31bc1a67
[api] Add zero-copy StringRef methods for compilation_time and effect_name ( #10257 )
2025-08-20 14:26:53 +12:00