rwrozelle
79533cb0d7
media_player add off on capability ( #9294 )
...
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: J. Nick Koston <nick+github@koston.org >
2025-07-30 12:02:53 -10:00
J. Nick Koston
76d33308d9
[api] Eliminate heap allocations when populating repeated fields from containers ( #9948 )
2025-07-30 10:41:37 +12:00
rwrozelle
a7dd849a8e
Media player API enumeration alignment and feature flags ( #9949 )
...
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-07-29 07:00:47 -10:00
J. Nick Koston
2c9987869e
[api] Align ProtoSize API design with ProtoWriteBuffer pattern ( #9920 )
2025-07-29 10:28:32 +12:00
J. Nick Koston
68f388f78e
[api] Optimize protobuf empty message handling to reduce flash and runtime overhead ( #9908 )
2025-07-29 10:25:07 +12:00
J. Nick Koston
59d466a6c8
[api] Remove unnecessary string copies from optional access ( #9897 )
2025-07-29 08:55:41 +12:00
J. Nick Koston
1702356fc8
[api] Fix string lifetime issue in Home Assistant service calls with templated values ( #9909 )
2025-07-28 16:39:25 +12:00
J. Nick Koston
05f6d01cbe
[api] Add conditional compilation for Home Assistant service subscriptions ( #9900 )
2025-07-27 18:35:35 -10:00
J. Nick Koston
7f0c66f835
[api] Reduce code duplication in send_noise_encryption_set_key_response ( #9918 )
2025-07-28 15:24:15 +12:00
J. Nick Koston
a9d6ece752
[api] Add conditional compilation for Home Assistant state subscriptions ( #9898 )
2025-07-26 01:28:44 -05:00
J. Nick Koston
da491f7090
[api] Add missing USE_API_PASSWORD guards to reduce flash usage ( #9899 )
2025-07-26 01:21:09 -05:00
J. Nick Koston
ffebd30033
[ruff] Enable SIM rules and fix code simplification violations ( #9872 )
2025-07-25 18:26:08 +12:00
J. Nick Koston
c74f12be98
[api] Use C++17 nested namespace syntax ( #9856 )
2025-07-24 07:15:42 +00:00
J. Nick Koston
99850255f0
[api] Use emplace_back for TemplatableKeyValuePair construction in HomeAssistant services ( #9804 )
2025-07-24 15:21:35 +12:00
J. Nick Koston
4a27b34685
[api] Reduce code duplication in protobuf dump methods with helper functions ( #9809 )
2025-07-24 15:19:58 +12:00
J. Nick Koston
f863189f96
[api] Simplify generated authentication check code ( #9806 )
2025-07-24 15:18:01 +12:00
J. Nick Koston
04d9698681
[api] Replace magic numbers with MESSAGE_TYPE constants in protobuf switch cases ( #9776 )
2025-07-24 15:16:54 +12:00
J. Nick Koston
a614a68f1a
[api] Implement zero-copy string optimization for outgoing protobuf messages ( #9790 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-22 07:33:03 -10:00
J. Nick Koston
ac08fb314f
[api] Optimize protobuf memory usage with fixed-size arrays for Bluetooth UUIDs ( #9782 )
2025-07-22 21:50:49 +12:00
J. Nick Koston
118b74b7cd
[api] Optimize noise handshake with memcpy for faster connection setup ( #9779 )
2025-07-21 17:56:32 -05:00
J. Nick Koston
5343a6d16a
[api] Optimize string encoding with memcpy for 10x performance improvement ( #9778 )
2025-07-22 09:39:28 +12:00
J. Nick Koston
db62a94712
[api] Implement zero-copy for all protobuf bytes fields ( #9761 )
2025-07-22 09:38:39 +12:00
J. Nick Koston
305667b06d
[api] Sync uses_password field_ifdef optimization from aioesphomeapi ( #9756 )
2025-07-21 16:59:48 +12:00
J. Nick Koston
a45a45c688
[api] Split frame helper implementation into protocol-specific files ( #9746 )
2025-07-21 13:10:08 +12:00
J. Nick Koston
5b5982cfdd
[api] Reduce memory usage by eliminating duplicate client info strings ( #9740 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-21 11:34:59 +12:00
J. Nick Koston
acca629c5c
[api] Fix missing ifdef guards for AreaInfo and DeviceInfo messages ( #9730 )
2025-07-20 23:05:53 +00:00
J. Nick Koston
0aabdaa0c7
[api] Consolidate error handling and remove unused code ( #9726 )
2025-07-20 22:52:46 +00:00
J. Nick Koston
2540e7edb2
[api] Remove deprecated protobuf fields to reduce flash usage ( #9679 )
2025-07-21 10:35:53 +12:00
J. Nick Koston
5511d61dba
[api] Eliminate heap allocation in process_batch_ using stack-allocated PacketInfo array ( #9703 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-21 10:24:57 +12:00
J. Nick Koston
e474a33abd
[api] Memory optimizations for API frame helper buffering ( #9724 )
2025-07-21 10:20:35 +12:00
J. Nick Koston
5b3d61b4a6
[api] Fix missing ifdef guards for field_ifdef fields in protobuf base classes ( #9693 )
2025-07-20 15:41:00 +12:00
J. Nick Koston
ec5a517a76
Fix bluetooth_proxy heap allocations during BLE scanning ( #9633 )
2025-07-18 16:24:29 +12:00
J. Nick Koston
fc1fd3f897
[api] Fix compilation error with char* lambdas in HomeAssistant services ( #9638 )
...
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-07-18 10:55:39 +12:00
J. Nick Koston
f5afe1145e
Refactor API send_message from template to non-template implementation ( #9561 )
2025-07-18 10:28:14 +12:00
J. Nick Koston
f4cd559a0b
Fix compilation error when using string lambdas with homeassistant services ( #9543 )
2025-07-17 09:02:32 +12:00
J. Nick Koston
e40b45cab1
Add ability to have same entity names on different sub devices ( #9355 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-07-16 21:34:51 +12:00
J. Nick Koston
15768ec00d
Reduce API proto vtable overhead by splitting decode functionality ( #9541 )
2025-07-16 20:46:04 +12:00
J. Nick Koston
2c478efcba
Refactor API connection entity encoding to reduce code duplication ( #9505 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-07-16 07:54:49 +00:00
J. Nick Koston
3ab1ee7a04
Reduce binary size with field-level conditional compilation for protobuf messages ( #9473 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2025-07-16 18:36:26 +12:00
J. Nick Koston
f3c0c0c00c
Remove legacy unique_id field from entities ( #9022 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2025-07-16 04:56:49 +00:00
J. Nick Koston
c691f01c7f
Reduce flash usage by replacing ProtoSize template with specialized methods ( #9487 )
2025-07-16 01:50:32 +00:00
J. Nick Koston
b648944973
Optimize API connection batch priority message handling to reduce flash usage ( #9510 )
2025-07-16 13:46:12 +12:00
J. Nick Koston
40935f7ae4
Skip API log message calls for unsubscribed log levels ( #9514 )
2025-07-16 13:43:55 +12:00
J. Nick Koston
e152690867
Optimize API component LOGCONFIG usage for flash memory savings ( #9526 )
2025-07-16 13:42:55 +12:00
J. Nick Koston
bfaf2547e3
Reduce API component flash usage by consolidating error logging ( #9468 )
2025-07-16 13:15:23 +12:00
J. Nick Koston
b5be45273f
Improve API protobuf decode method readability and reduce code size ( #9455 )
2025-07-16 13:15:11 +12:00
J. Nick Koston
5c2dea79ef
Make API ConnectRequest optional for passwordless connections ( #9445 )
2025-07-16 13:14:43 +12:00
J. Nick Koston
856cb182fc
Remove dead code: 64-bit protobuf types never used in 7 years ( #9471 )
2025-07-15 15:12:12 -10:00
tomaszduda23
6ab3de65a6
remove duplication from component_iterator ( #7210 )
...
Co-authored-by: Samuel Tardieu <sam@rfc1149.net >
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-07-16 13:02:14 +12:00
J. Nick Koston
1fda40f0ce
Only generate protobuf encode/decode methods for the message direction they're used ( #9461 )
2025-07-13 10:58:57 +12:00