J. Nick Koston
d7bda29ada
Merge branch 'dev' into jesserockz-2026-446
2026-10-12 15:07:27 -10:00
J. Nick Koston
0ae24f7536
[core] Catch heap allocating helper calls with explicit template arguments ( #20391 )
2026-10-10 02:00:41 +00:00
J. Nick Koston
456e3d8979
[ci] Keep bus group partners on the same runner ( #20431 )
2026-10-09 09:10:18 -10:00
J. Nick Koston
24237a07c9
[ci] Refit component batch estimates to a full run ( #20401 )
2026-10-09 07:12:35 -10:00
Jesse Hills
e03db60a52
[core] Add a DOMAIN constant to every component ( #20395 )
2026-10-08 14:04:26 -10:00
J. Nick Koston
052f5a4cc6
[core] Declare component log tags with ESPHOME_LOG_TAG ( #20291 )
2026-10-08 07:24:17 -10:00
Bascht74
718b6651fe
[ci] Run pylint when its version, dependencies or configuration change ( #20202 )
2026-10-05 21:20:28 -05:00
J. Nick Koston
797682cccc
[espidf] Skip the lwip sources that compile to empty objects ( #20000 )
2026-10-02 07:59:52 -05:00
J. Nick Koston
8617368294
[espidf] Read the ESP-IDF version in process instead of starting idf_tools ( #19998 )
2026-10-01 19:48:00 -05:00
J. Nick Koston
7962b52d2a
[ci] Skip the bootloader in the component batch build jobs ( #19931 )
2026-10-01 14:05:15 -05:00
J. Nick Koston
0ed997da92
[espidf] Add --skip-bootloader for OTA only builds ( #19925 )
2026-10-01 13:55:30 -05:00
J. Nick Koston and Jonathan Swoboda
788d2bc631
[ci] Balance component test batches by estimated build time ( #19980 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-10-01 18:19:30 +00:00
J. Nick Koston
7e32770c5a
[ci] Pin SOURCE_DATE_EPOCH in the idf.py equivalence check ( #19970 )
2026-10-01 12:37:42 +00:00
J. Nick Koston
b8ba8aa1a8
[espidf] Run cmake and ninja directly instead of through idf.py ( #19871 )
2026-09-29 19:55:22 +02:00
J. Nick Koston
d31ffd4ca3
[esp32] Enable the precompiled header on the PlatformIO toolchain ( #19825 )
2026-09-28 19:41:59 +02:00
Jesse Hills and J. Nick Koston
32e11c4f4a
[host] Build natively with ninja instead of PlatformIO ( #19214 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-09-28 11:29:59 +02:00
J. Nick Koston
b9dfae50c1
[ci] Compile esp8266 component tests with the native toolchain ( #19740 )
2026-09-27 12:09:06 +02:00
J. Nick Koston
b5b6d0bacd
[ci] Add the native ESP8266 compile smoke test ( #19714 )
2026-09-26 21:00:48 +01:00
J. Nick Koston
d3fd124c59
[core] Lint against std::nothrow, use RAMAllocator instead ( #19244 )
2026-09-25 15:50:32 +01:00
Ivan Kruglov and J. Nick Koston
7dc98c683b
[uart] clock_source option ( #16486 )
...
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-09-24 15:16:40 +01:00
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