J. Nick Koston
86073304dc
Merge branch 'dev' into jesserockz-2026-446
2026-09-24 14:21:53 +01:00
Jesse Hills
b0c9a7d5bd
[core] Lint duplicate UNIT_/CONF_ constants against both const homes ( #19422 )
2026-09-24 14:21:32 +01:00
J. Nick Koston and esphbot
8c3ebd3414
[docker] Drop the unused PlatformIO library preinstall ( #19504 )
...
Co-authored-by: esphbot <287758279+esphbot@users.noreply.github.com >
2026-09-23 12:14:04 +01:00
J. Nick Koston
91ab229086
[core] Lint bare string literal ternaries in ESP_LOG arguments ( #18908 )
2026-09-17 09:17:08 -05:00
Jesse Hills
63e1adfd5f
[schema] Keep the field's own range when spreading a named schema
...
Address esphbot review: emitting min/max means named scalar schemas now carry
bounds (e.g. core.uint8_t is 0..255), and shrink()'s spread copied those over a
tighter bound the field defined itself. cv.All(cv.uint8_t, cv.Range(min=1,
max=6)) dumped 0..255 instead of 1..6, and All(uint32_t, Range(min=1)) lost its
min. The spread now reconciles the two to the intersection (larger min, smaller
max); non-numeric bounds keep the field's own value.
2026-09-15 07:13:29 +12:00
Jesse Hills
59044484e2
[schema] Unit-type number-with-unit validators; leave dimensions untyped
...
Address esphbot review: validators that accept a number optionally carrying a
unit (percentage, possibly_negative_percentage, temperature, temperature_delta,
color_temperature, percentage_int, validate_bytes) are dumped as their base
numeric type plus the canonical unit (e.g. {type: float, unit: "%"}), like
float_with_unit, so the editor accepts both the bare-number and the unit-string
form instead of rejecting one. cv.dimensions accepts a "WIDTHxHEIGHT" string or
a [w, h] list, so it is left untyped rather than misrepresented as a string.
2026-09-14 13:52:22 +12:00
Jesse Hills
b40c497d3e
Merge branch 'dev' into jesserockz-2026-446
2026-09-14 13:41:47 +12:00
J. Nick Koston
fc8611a212
[noise] Bump noise-c to 0.1.30 and libsodium to 1.10021.11 ( #19062 )
2026-09-14 09:14:26 +12:00
Jesse Hills
c66fa81208
[core] Consolidate setup scripts into a cross-platform setup.py ( #18856 )
2026-09-10 14:09:49 +12:00
J. Nick Koston
8f511a365a
[noise] Bump noise-c to 0.1.26 and libsodium to 1.10021.8 ( #19030 )
2026-09-09 09:07:06 +12:00
J. Nick Koston
1ce0bed3f6
[core] Share compiled binaries across modbus integration tests ( #18945 )
2026-09-08 18:10:45 +02:00
Jesse Hills and pre-commit-ci-lite[bot]
5e37872da2
[ci] Sync pre-commit revs and prek version from requirements files ( #19026 )
...
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
2026-09-08 10:32:18 +12:00
J. Nick Koston
688af60cbf
[noise] Bump noise-c to 0.1.24 and libsodium to 1.10021.6 ( #18989 )
2026-09-07 10:12:52 +12:00
Bonne Eggleston
afb0022dd0
[core] Lint: require braces around single ESP_LOG control-statement bodies ( #18727 )
2026-09-01 11:53:39 +12:00
J. Nick Koston
1ba1aebfa1
[ci] Balance integration test buckets by recorded durations ( #18895 )
2026-08-31 13:20:47 -05:00
J. Nick Koston
fc977b7b5e
[ci] Cache the integration test PlatformIO dir ( #18896 )
2026-08-30 17:34:32 -05:00
J. Nick Koston
ce163b8258
[ci] Cache clang-tidy idedata and key ESP-IDF cache on Python version ( #18868 )
2026-08-28 20:41:57 -05:00
J. Nick Koston
a8094ed548
[docker] Parallelize the image's PlatformIO library preinstall ( #18777 )
2026-08-27 14:45:47 +12:00
J. Nick Koston
49fc4be861
[ci] Run C++ unit tests when a component's Python or test override changes ( #18706 )
2026-08-24 12:18:17 -05:00
J. Nick Koston
5f6a910e2d
[core] Harden the shared library converter ( #18685 )
2026-08-23 22:24:12 -05:00
J. Nick Koston
9974ad97fa
[core] Extract the shared idedata and size-summary helpers into build_helpers ( #18661 )
2026-08-23 21:59:19 -05:00
Jonathan Swoboda
476d540065
[ci] Fall back to files API when PR diff exceeds GitHub line limit ( #18486 )
2026-08-18 10:22:28 -04:00
J. Nick Koston
27483a4101
[core] Retry gh CLI calls on transient network errors in CI scripts ( #18292 )
2026-08-17 13:15:31 -05:00
J. Nick Koston
d9567b2974
Normalize marker-wrapped callable keys in the schema dump ( #18218 )
2026-08-10 10:05:37 -05:00
J. Nick Koston
a7740091ec
[ci] Run CodSpeed benchmarks when top-level esphome Python modules change ( #18114 )
2026-08-05 20:50:13 -05:00
J. Nick Koston
16930c4e2c
[ci] Read the GitHub event file as UTF-8 ( #17896 )
2026-07-27 17:33:08 -10:00
dependabot[bot] and Jonathan Swoboda
345bd11a2c
Bump ruff from 0.15.22 to 0.16.0 ( #17818 )
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-07-27 12:08:51 -04:00
J. Nick Koston
14e71e190c
[ci] Restore memory impact detail for ESP-IDF builds ( #17587 )
2026-07-16 08:00:19 -04:00
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