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
4be8302190
[ci] Move skills to .agents/skills with .claude and .github symlinks ( #19369 )
2026-09-16 23:36:08 -05:00
J. Nick Koston
2f248390b2
[modbus] Remove disable_crc validation stub ( #19078 )
2026-09-17 09:53:35 +12:00
d824a32ef1
[uart_mux] New component to share a UART between a CDC-ACM bridge and local consumers ( #19066 )
...
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-09-15 20:32:15 -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
4f0faac148
[core] Add FixedVector::try_init so callers can handle an exhausted heap ( #19253 )
2026-09-14 09:16:37 +12:00
ebb9037ea1
[bridge] New component and cdc_acm_uart platform ( #11689 )
...
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com >
Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com >
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-09-11 22:08:23 -05: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
1ce0bed3f6
[core] Share compiled binaries across modbus integration tests ( #18945 )
2026-09-08 18:10:45 +02:00
Jesse Hills
1700a40b7c
[core] Restore the shared git hooks after post-checkout runs script/setup ( #19036 )
2026-09-08 19:59:55 +12: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
Jesse Hills
d58b37faa1
[esp32_hosted] Add ESP-NOW-over-hosted shim for the ESP32-P4 ( #17712 )
2026-09-07 10:29:20 +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
Jesse Hills
2031be0c23
[core] Make script/setup idempotent and prepare new worktrees ( #18843 )
2026-08-28 14:11:38 +12: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
e53870085b
[improv_serial] Add uart bus support and host integration test ( #18794 )
2026-08-26 21:13:47 -05:00
J. Nick Koston
145373ed13
[api] Widen message type storage to uint16_t ( #18526 )
2026-08-25 18:04:41 +00: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
J. Nick Koston
d877fb021c
[time] Remove C++ POSIX TZ string parser ( #18383 )
2026-08-24 13:24:00 +12: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
fffa902a1a
[gpio_expander][pcf8574][pca9554][tca9555][pca6416a][pi4ioe5v6408][mcp23016][mcp23xxx_base] Reject unsupported interrupt_pin options (inverted, allow_other_uses) ( #18472 )
2026-08-18 13:32:03 +12: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
945c2458b3
[core] Load component aliases from a generated registry ( #18335 )
2026-08-13 13:31:19 -05:00
J. Nick Koston
37eae9b466
[api] Gate the bluetooth connection messages on their own define ( #18281 )
2026-08-11 21:31:13 -05:00
Josef Zweck and J. Nick Koston
82a63658f9
[hoermann_hcp] Add Hörmann HCP garage door component ( #17355 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2026-08-10 17:20:20 -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
f971e404c7
[core] Resolve GCC multilib include dirs for clang-tidy ( #18111 )
2026-08-05 19:09:13 -05:00
J. Nick Koston
d47acf5d0b
[core] Read the mqtt IP discovery flag without importing the mqtt component ( #18066 )
2026-08-04 15:12:57 -05:00
Jesse Hills
4ceae9cf85
[ci] Replace pre-commit with prek ( #18029 )
2026-08-04 16:18:46 +12:00
J. Nick Koston
4424af8c5b
[api] Move runtime log client out of the component package ( #18043 )
2026-08-03 19:57:52 -05:00
J. Nick Koston
ca1f89e500
[ci] Enable the ruff rule requiring explicit encoding on text file I/O ( #17897 )
2026-07-29 13:44:39 -04: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
Jonathan Swoboda
8a7d2d0ca0
[ci] Enforce list form for platform domains in test fixtures ( #17869 )
2026-07-26 19:01:15 -04:00
J. Nick Koston
37be04f58e
[core] Reduce memory footprint of esphome upload ( #17684 )
2026-07-21 12:21:12 -10:00
Jonathan Swoboda
ebaf32c82a
[ci] Add LibreTiny clang-tidy environments ( #17491 )
2026-07-17 21:38:55 -04:00
J. Nick Koston
14e71e190c
[ci] Restore memory impact detail for ESP-IDF builds ( #17587 )
2026-07-16 08:00:19 -04:00
Jonathan Swoboda
5a3c2f4d11
[ci] Add rp2 clang-tidy environment ( #17486 )
2026-07-15 21:17:21 -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