Jesse Hills
d4fb77af75
[schema] Emit unit for float fields; leave union validators untyped
...
Address review feedback:
- float_with_unit fields now dump as type "float" with the canonical unit
(e.g. {"type": "float", "unit": "Hz"}) rather than the quantity name as the
type. This keeps the type vocabulary closed and lets editors label the field
with its unit directly instead of mapping each quantity name. The unit is the
first alternative of the accepted-units regex; current/voltage list A/V first
(no validation change).
- Drop scalar typing of validate_bytes and date_time: both accept multiple YAML
forms (unit-suffixed strings or numbers, and a formatted string or a mapping)
that a single scalar type would wrongly reject in the editor.
2026-07-16 07:51:26 +12:00
Jesse Hills
c0b59ea10b
Merge remote-tracking branch 'origin/dev' into jesserockz-2026-446
2026-07-15 14:44:56 +12:00
Jesse Hills
98f6e74385
[schema] Type config_validation validators and range bounds in language schema dump
...
The language schema dump left many config_validation validators untyped
(icon, mac_address, percentage, update_interval, lambdas, encryption keys,
...), so the visual editor and dashboard could not tell what YAML those
fields accept. Type them via convert() and schema_extractor decorators,
emit float_with_unit quantities (frequency, voltage, current, ...) as the
field type, and attach min/max bounds detected from range validators next
to the type.
2026-07-15 14:44:28 +12:00
Jesse Hills
db9a09d05a
[script] Recursively expand nested packages when merging component tests ( #17557 )
2026-07-14 14:11:03 +12:00
Jesse Hills
4a82b10783
[ci] Group component test output into collapsible CI log sections ( #17536 )
2026-07-13 15:29:35 +12:00
Jesse Hills and Jonathan Swoboda
cdd334284e
[rp2] Rename rp2040 platform to rp2 ( #17145 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-07-07 08:20:24 +12:00
Jonathan Swoboda
187cd51867
[ci] Carry native-toolchain needs on component test batches ( #17359 )
2026-07-03 13:47:08 -04:00
Jonathan Swoboda
43b3aa0712
[ci] Fix nRF52 zigbee/network test-grouping conflict ( #17295 )
2026-06-30 11:37:59 -04:00
Jesse Hills
d0e3e98d55
[dashboard] Remove legacy web dashboard ( #17124 )
2026-06-22 09:33:27 +12:00
Jonathan Swoboda
1a553018bf
[build] Skip target-platform deps when populating host unit-test config ( #17039 )
2026-06-18 15:38:57 -04:00
Jonathan Swoboda and Jesse Hills
1753ccd811
[ci] Update component-test CI for ESP-IDF default toolchain ( #16383 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
2026-06-18 08:57:59 -04:00
Jonathan Swoboda
7cb6cf2f2a
[ci] Replace clang-tidy hash with direct config-file diff check ( #17019 )
2026-06-17 21:12:39 -04:00
Jesse Hills
b09a5f9e43
[ci] Push branch-tagged docker images to ghcr.io for local testing ( #16992 )
2026-06-16 13:37:31 +12:00
Jesse Hills and J. Nick Koston
1ee49720c7
[psram] Make schema extractable with per-variant options ( #16949 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-06-15 19:55:21 +12:00
Clyde Stubbs and Claude Opus 4.8
10ce6024bf
[lvgl] Fix schema extraction ( #16895 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-13 08:21:38 -04:00
Jesse Hills
6a527c7efc
[tests] Mock target branch in memory-impact exclusion test ( #16913 )
2026-06-11 14:04:22 +12:00
J. Nick Koston
36e043debb
[tests] Fail component test merge on conflicting duplicate IDs ( #16849 )
2026-06-08 12:49:25 -05:00
J. Nick Koston
cbc3770b11
Include model-driven display schemas in the language schema dump ( #16872 )
2026-06-07 17:30:43 -05:00
Jonathan Swoboda
6996b7ed1c
[ci] Add ESP32 Variants clang-tidy run (S3/P4/C6) ( #16825 )
2026-06-05 22:03:08 -04:00
J. Nick Koston
2a4913713a
Revert "[tests] Fail component test merge on conflicting duplicate IDs" ( #16848 )
2026-06-05 19:37:19 -05:00
J. Nick Koston
70d9ab25f3
[tests] Fail component test merge on conflicting duplicate IDs ( #16795 )
2026-06-05 17:57:42 -05:00
J. Nick Koston
3e562b9267
[ci] Fix memory impact build selecting unbuildable platform ( #16788 )
2026-06-03 22:30:36 -05:00
J. Nick Koston
bac62cb7de
[core] Add cv.sensitive marker for schema-level sensitive fields ( #16673 )
2026-05-26 15:29:06 -05:00
J. Nick Koston
ae74920b81
[core] Enable ruff PTH (flake8-use-pathlib) lint family ( #16661 )
2026-05-26 05:14:42 +00:00
J. Nick Koston
a58b4edb6a
[ci] Gate unconditional CI jobs on a single determine-jobs output instead of a path filter ( #16580 )
2026-05-22 18:39:06 -05:00
J. Nick Koston
48d17571c8
[tests] Mock determine_cpp_unit_tests in clang_tidy_mode tests ( #16456 )
2026-05-15 15:50:58 -07:00
Jonathan Swoboda
a92b607754
[ci] Add ci-run-all label to force full CI matrix ( #16421 )
2026-05-14 18:54:13 -04:00
J. Nick Koston
b866525437
[ci] Skip native ESP-IDF compile test when no relevant files changed ( #16395 )
2026-05-13 10:01:11 -05:00
Jesse Hills
cb2dbcd70d
[ci] Add validate.*.yaml for config-only component tests ( #16384 )
2026-05-13 11:37:33 +12:00
Jesse Hills
76ce45c59e
[script] Preserve source order of enum options in language schema ( #16371 )
2026-05-13 06:28:39 +12:00
J. Nick Koston
15ab5422c7
[ci] Run downstream device-builder tests against PR Python code ( #16214 )
2026-05-03 19:45:08 -05:00
J. Nick Koston
2fbfb4c385
[ci] Split integration tests into 3 buckets when count is more than 10 ( #16152 )
2026-04-30 19:10:53 -05:00
J. Nick Koston
49c7a6928e
[script] Fix cpp_unit_test crash for non-MULTI_CONF platform components ( #16104 )
2026-04-29 14:32:13 +12:00
J. Nick Koston
0a4d9b430f
[ci] Add import-time regression check for esphome.__main__ ( #15954 )
2026-04-28 14:05:12 +00:00
J. Nick Koston
4cab262ef8
[ci] Trigger CodSpeed benchmarks on host platform changes ( #15995 )
2026-04-25 17:18:21 -04:00
J. Nick Koston and Copilot Autofix powered by AI
b293be23b0
[ci] Honor CONFLICTS_WITH when grouping component tests ( #15834 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-04-18 08:11:38 -05:00
Tomer27cz
f01762ea44
[ci] move import to function ( #15440 )
2026-04-05 19:17:52 -04:00
0c5f055d45
[core] cpp tests: Allow customizing code generation during tests ( #14681 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-18 00:16:01 +00:00
J. Nick Koston
1670f04a87
[core] Add CodSpeed C++ benchmarks for protobuf, main loop, and helpers ( #14878 )
2026-03-17 12:29:38 -10:00
J. Nick Koston
56f7b3e61b
[ci] Only run integration tests for changed components ( #14776 )
2026-03-13 13:20:35 -10:00
e82f0f4432
[cpptests] support testing platform components ( #13075 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-03-10 02:41:02 +00:00
J. Nick Koston
d6ce5dda81
[ci] Skip YAML anchor keys in integration fixture component extraction ( #14670 )
2026-03-09 22:54:56 +00:00
dependabot[bot] and J. Nick Koston
4d05cd3059
Bump ruff from 0.14.14 to 0.15.0 ( #13752 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-02-04 09:24:05 +00:00
J. Nick Koston
42491569c8
[analyze_memory] Add nRF52/Zephyr platform support for memory analysis ( #13249 )
2026-01-15 17:53:53 -10:00
J. Nick Koston
00cc9e44b6
[analyze_memory] Fix ELF section mapping for RTL87xx and LN882X platforms ( #13213 )
2026-01-15 10:38:24 -10:00
J. Nick Koston
45c0796e40
[ci] Add RP2040 to memory impact analysis ( #13134 )
2026-01-11 17:19:00 -10:00
Jonathan Swoboda and Claude
08beaf8750
[esp32] Remove Arduino-specific code from core.cpp ( #12501 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2025-12-16 20:06:12 -05:00
J. Nick Koston
a5bf55b6ac
[ci] Fix component batching for beta/release branches (3-4 → 40 per batch) ( #11759 )
2025-11-07 20:19:45 +13:00
J. Nick Koston
85d2565f25
[tests] Fix determine_jobs tests failing when target branch is beta ( #11758 )
2025-11-07 20:18:43 +13:00
J. Nick Koston
bdfd88441a
[ci] Skip memory impact analysis when more than 40 components changed ( #11741 )
2025-11-05 19:31:23 -06:00