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 and GitHub
db9a09d05a
[script] Recursively expand nested packages when merging component tests ( #17557 )
2026-07-14 14:11:03 +12:00
Clyde Stubbs and GitHub
5e3e2f82c9
[script] Fix duplicate import in build_codeowners.py ( #17543 )
2026-07-13 10:16:53 -04:00
Jesse Hills and GitHub
4a82b10783
[ci] Group component test output into collapsible CI log sections ( #17536 )
2026-07-13 15:29:35 +12:00
Jonathan Swoboda and GitHub
b3e03868b3
[mipi_rgb] Test in isolation to avoid bus/pin merge conflicts ( #17534 )
2026-07-13 12:00:22 +12:00
Jesse Hills and GitHub
dd0d0942f5
[image] Restructure into a platform component ( #17416 )
2026-07-09 07:38:58 +12:00
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
Clyde Stubbs and GitHub
f6c260a2c5
[ci] Make import time budget more realistic ( #17406 )
2026-07-05 08:01:48 -04:00
8ab19c0242
[esp32] Add RTC-backed preferences (honor in_flash flag) ( #17073 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-05 11:48:30 +10:00
Jonathan Swoboda and GitHub
5738c60206
[nrf52] Run clang-tidy against the native sdk-nrf toolchain ( #17364 )
2026-07-03 18:09:01 -04:00
Jonathan Swoboda and GitHub
187cd51867
[ci] Carry native-toolchain needs on component test batches ( #17359 )
2026-07-03 13:47:08 -04:00
fd16eec416
[nrf52] switch nrf52 builds to native sdk by default ( #17319 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: ESPHome Device Builder <device-builder@esphome.io >
2026-07-03 12:16:55 -04:00
Jonathan Swoboda and GitHub
3035355c0a
[ci] Widen import-time margin for CI runner variance ( #17287 )
2026-06-30 11:38:31 -04:00
Jonathan Swoboda and GitHub
43b3aa0712
[ci] Fix nRF52 zigbee/network test-grouping conflict ( #17295 )
2026-06-30 11:37:59 -04:00
9e72027b64
[devcontainer] Align base image with production, fix Python venv and build tools ( #17296 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-30 08:33:33 -04:00
Jonathan Swoboda and GitHub
b8690c8e31
[core] Drop Python 3.11 support ( #17280 )
2026-06-29 12:32:28 -04:00
5f311d281e
[esphome] Warn when a YAML merge (<<:) drops a key ( #17246 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-29 07:17:01 +10:00
Jesse Hills and GitHub
d0e3e98d55
[dashboard] Remove legacy web dashboard ( #17124 )
2026-06-22 09:33:27 +12:00
Jonathan Swoboda and GitHub
1a553018bf
[build] Skip target-platform deps when populating host unit-test config ( #17039 )
2026-06-18 15:38:57 -04:00
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 and GitHub
7cb6cf2f2a
[ci] Replace clang-tidy hash with direct config-file diff check ( #17019 )
2026-06-17 21:12:39 -04:00
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
10ce6024bf
[lvgl] Fix schema extraction ( #16895 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-13 08:21:38 -04:00
J. Nick Koston and GitHub
36e043debb
[tests] Fail component test merge on conflicting duplicate IDs ( #16849 )
2026-06-08 12:49:25 -05:00
J. Nick Koston and GitHub
cbc3770b11
Include model-driven display schemas in the language schema dump ( #16872 )
2026-06-07 17:30:43 -05:00
Jonathan Swoboda and GitHub
64fc09646c
[esp32] Fix clang-tidy on ESP-IDF 6 ( #16850 )
2026-06-06 20:00:42 -04:00
Jonathan Swoboda and GitHub
6996b7ed1c
[ci] Add ESP32 Variants clang-tidy run (S3/P4/C6) ( #16825 )
2026-06-05 22:03:08 -04:00
Jonathan Swoboda and GitHub
8aa4157574
[fastled_base] Use FastLED IDF component on ESP32 ( #16804 )
2026-06-05 21:01:29 -04:00
J. Nick Koston and GitHub
2a4913713a
Revert "[tests] Fail component test merge on conflicting duplicate IDs" ( #16848 )
2026-06-05 19:37:19 -05:00
J. Nick Koston and GitHub
70d9ab25f3
[tests] Fail component test merge on conflicting duplicate IDs ( #16795 )
2026-06-05 17:57:42 -05:00
93334d4e60
[scripts] Fix build_language_schema ( #16816 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-06-05 21:44:31 +00:00
J. Nick Koston and GitHub
9fbd4c38ae
[i2s_audio] Move test bus into a shared package and give fixtures unique ids ( #16793 )
2026-06-04 17:28:32 -05:00
Jonathan Swoboda and GitHub
5288767abf
[clang-tidy] Add --exclude-grep to skip files by content ( #16813 )
2026-06-04 17:58:22 -04:00
Jonathan Swoboda and GitHub
e2459a3923
[clang-tidy] Support RISC-V targets natively ( #16809 )
2026-06-04 17:57:56 -04:00
Jonathan Swoboda and GitHub
148a5ba68e
[esp32] Run clang-tidy via the native ESP-IDF toolchain ( #16748 )
2026-06-04 11:47:42 -04:00
ffaa31febc
[clang-tidy] Hash idf_component.yml and trigger hash hook on more inputs ( #16753 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
Co-authored-by: J. Nick Koston <nick@home-assistant.io >
2026-06-03 23:48:34 -04:00
J. Nick Koston and GitHub
3e562b9267
[ci] Fix memory impact build selecting unbuildable platform ( #16788 )
2026-06-03 22:30:36 -05:00
J. Nick Koston and GitHub
3cc875c40b
[core] Enable ruff BLE (flake8-blind-except) lint family ( #16659 )
2026-05-27 20:09:57 +12:00
Jonathan Swoboda and GitHub
171ded35a5
[core] Remove cv.only_with_esp_idf and CORE.using_esp_idf ( #16681 )
2026-05-26 18:47:16 -04:00
J. Nick Koston and GitHub
bac62cb7de
[core] Add cv.sensitive marker for schema-level sensitive fields ( #16673 )
2026-05-26 15:29:06 -05:00
J. Nick Koston and GitHub
ceb9d406e1
[core] Enable ruff PIE (flake8-pie) lint family ( #16658 )
2026-05-26 07:46:44 -04:00
J. Nick Koston and GitHub
ae74920b81
[core] Enable ruff PTH (flake8-use-pathlib) lint family ( #16661 )
2026-05-26 05:14:42 +00:00
J. Nick Koston and GitHub
ae814cff5c
[core] Enable ruff B (flake8-bugbear) lint family ( #16655 )
2026-05-26 02:28:14 +00:00
J. Nick Koston and GitHub
b39b34bfe1
[core] Enable ruff C4 (flake8-comprehensions) lint family ( #16653 )
2026-05-25 20:14:26 -05:00
J. Nick Koston and GitHub
f1839489dd
[core] Enable ruff ISC (flake8-implicit-str-concat) lint family ( #16646 )
2026-05-25 20:06:18 -05:00
J. Nick Koston and GitHub
97267105e1
[core] Enable ruff EXE (flake8-executable) lint family ( #16648 )
2026-05-25 20:05:51 -05:00
Jonathan Swoboda and GitHub
e7ab78366d
[core] Add esphome.build_flags option for IDF + PlatformIO ( #16629 )
2026-05-25 10:03:38 -04:00
J. Nick Koston and GitHub
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