1
0
mirror of https://github.com/esphome/esphome.git synced 2025-08-03 04:39:39 +01:00

239 Commits

Author SHA1 Message Date
cryptk
2f9475a927 Add seed flag when running setup with uv present () 2025-07-28 15:55:07 +12:00
J. Nick Koston
bc7cfeb9cd Only generate protobuf encode/decode methods for the message direction they're used () 2025-07-13 11:05:13 +12:00
J. Nick Koston
8605994cc6 Apply existing protobuf buffer optimization to nested message encoding (~2.3x speed up) () 2025-07-13 11:05:13 +12:00
J. Nick Koston
3c864b2bca Reduce API flash usage by eliminating unnecessary template instantiations () 2025-07-13 11:05:13 +12:00
J. Nick Koston
7a6894e087 Optimize API proto size calculations by removing redundant force parameter () 2025-07-13 11:05:13 +12:00
J. Nick Koston
1b222ceca3 Optimize API flash usage by storing message size at compile time () 2025-07-13 11:05:13 +12:00
J. Nick Koston
e58c793da2 Replace deprecated sprintf with snprintf in API protobuf code generation () 2025-07-08 08:38:41 +12:00
Jesse Hills
8147d117a0 [core] Move platform helper implementations into their own file () 2025-07-07 15:55:02 +00:00
J. Nick Koston
4ef5c941c9 Fix missing ifdef guards in API protobuf generator () 2025-07-03 09:39:20 +12:00
J. Nick Koston
eba2c82fec Use encode_bytes() for protobuf bytes fields () 2025-07-02 04:36:09 +00:00
Jesse Hills
6a096c1d5a [api] Dump bytes fields as hex instead of unreadable string () 2025-07-02 13:36:15 +12:00
J. Nick Koston
e907050a17 Remove unused return value from read_message and fix ifdef placement in generated API code () 2025-06-30 11:45:03 +12:00
Jesse Hills
09e5aa6011 [script] Add exec bit to run-in-env () 2025-06-26 00:59:16 -05:00
J. Nick Koston
f029f4f20e Fix missing protobuf message dump for batched messages with very verbose logging () 2025-06-26 13:57:41 +12:00
J. Nick Koston
a08d021f77 Reduce code duplication in auto-generated API protocol code () 2025-06-19 12:10:01 +12:00
J. Nick Koston
b7b1d17ecb Remove empty generated protobuf methods () 2025-06-19 12:06:39 +12:00
J. Nick Koston
1dbebe90ba Add common base classes for entity protobuf messages to reduce duplicate code () 2025-06-16 09:29:25 +12:00
J. Nick Koston
2ed5611a08 Replace API deferred queue with efficient message batching system () 2025-06-11 11:49:15 +12:00
Clyde Stubbs
9e862b8b53 [list-components.py] Only add platforms that are actually platforms. () 2025-06-07 21:25:24 -05:00
Keith Burzinski
44f1ff10e6 Introduce "communication failed" log macro () 2025-05-29 01:59:38 -05:00
Jesse Hills
64e4589f4e [esp32] Regenerate boards from recommended platform version () 2025-05-29 05:21:05 +00:00
J. Nick Koston
4ac433fddb Add integration tests for host () 2025-05-26 21:31:32 -05:00
Jesse Hills
bd7c2a680c Updates for development environment () 2025-05-22 13:24:34 +12:00
Thomas Rupprecht
aeb4e63950 update minimal python version to 3.10 () 2025-05-22 13:21:43 +12:00
Jesse Hills
ef7a22ff04 [api-docs] Run using netlify builders ()
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-19 19:48:04 +12:00
Jesse Hills
2e15ee232d Deploy doxygen docs to netlify () 2025-05-19 14:09:38 +12:00
Clyde Stubbs
5c92367ca2 [script] Use local import for zephyr () 2025-05-16 23:41:19 +00:00
tomaszduda23
7c0546c9f0 [clang] clang tidy support with zephyr ()
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2025-05-12 23:36:34 +00:00
J. Nick Koston
54ead9a6b4 Reserve buffer space to avoid frequent realloc when generating protobuf messages () 2025-05-07 21:56:54 -05:00
Jesse Hills
43580739ac Ensure new const file stays in order () 2025-04-28 18:58:13 -05:00
Clyde Stubbs
38dae8489e [http_request] Implement for host platform () 2025-04-28 13:45:28 +12:00
Jesse Hills
adcd6517db [docker] Use new base container image () 2025-04-28 11:14:50 +12:00
Guillermo Ruffino
3d24dea455 fix schema-gen-ci failures () 2025-04-24 15:30:22 -10:00
Guillermo Ruffino
f29ccb9e75 Schema gen action ()
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2025-04-24 15:43:37 +12:00
J. Nick Koston
3677ef71d1 Add typing to protobuf code generator () 2025-04-16 08:19:22 +12:00
Calum McConnell
a52d6388a9 Use python3 in place of python, as some systems don't emulate the former () 2025-04-15 04:13:37 +00:00
Calum McConnell
34a4e70cc5 Update setup to make .temp directory () 2025-04-14 10:48:45 +12:00
Jonathan Swoboda
219ba6152c [CI] Clang tidy fixes for 5.3.2 ()
Co-authored-by: Keith Burzinski <kbx81x@gmail.com>
2025-04-03 07:32:17 +00:00
dependabot[bot]
4adda632bb Bump ruff from 0.9.2 to 0.11.0 () 2025-03-20 09:51:23 -10:00
Katherine Whitlock
c281351732 Finish up transition from black-format to ruff () 2025-02-21 13:02:55 -06:00
J. Nick Koston
abbd72e802 Use the process CPU count to determine how many children to create () 2025-02-19 06:10:33 +13:00
Stefan Rado
0d13e2040d Don't activate venv in devcontainer () 2025-02-10 17:12:46 +13:00
Katherine Whitlock
16bf56b0f9 Fix running pre-commit on Windows () 2025-01-17 09:10:20 +13:00
Clyde Stubbs
f1c0570e3b [image] Transparency changes; code refactor () 2025-01-13 16:21:42 +13:00
tomaszduda23
731fb1d172 [spi] relay on KEY_TARGET_PLATFORM as the other platforms does () 2025-01-13 11:15:39 +13:00
Keith Burzinski
9c8976be13 [CI] Update clang-tidy to 18.1.3 () 2024-12-03 11:29:45 +13:00
tomaszduda23
a3ef2ed7fd python lint for platform components () 2024-11-27 09:56:43 +13:00
Keith Burzinski
4fbf41472a [CI] Add/update some system include paths () 2024-11-25 17:41:27 -06:00
Faidon Liambotis
a043022444 [font] Add support for "glyphsets" ()
Co-authored-by: clydebarrow <2366188+clydebarrow@users.noreply.github.com>
2024-10-31 16:36:23 +13:00
tomaszduda23
312799babf Update test_build_components ()
Co-authored-by: Clyde Stubbs <2366188+clydebarrow@users.noreply.github.com>
2024-10-14 14:31:37 +13:00