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
J. Nick Koston
49bbceb1da
[libretiny] Keep renamed board generic-ln882hki validating against generic-ln882h ( #17542 )
2026-07-14 11:51:54 +12:00
Jesse Hills
e27a14ec70
[core] Classify entity metadata visibility for the visual editor ( #17503 )
2026-07-12 08:33:29 -04:00
J. Nick Koston
c0636e2bf7
[core] Make config-hash independent of machine-local paths ( #17523 )
2026-07-11 14:30:47 -10:00
Jesse Hills
7c130fc970
[core] Hide build & framework internals from the visual editor ( #17449 )
2026-07-09 11:58:40 +12:00
Jesse Hills
dd0d0942f5
[image] Restructure into a platform component ( #17416 )
2026-07-09 07:38:58 +12:00
J. Nick Koston
902cf6a679
[analyze_memory] Report aliased RAM symbols once in the RAM strings report ( #17397 )
2026-07-06 20:54:53 -04: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
J. Nick Koston
e095c457ff
[esp32] Suppress -Wvolatile in the direct ESP-IDF build ( #17404 )
2026-07-06 03:02:12 +00:00
Chris Boot and Claude Opus 4.8
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
5738c60206
[nrf52] Run clang-tidy against the native sdk-nrf toolchain ( #17364 )
2026-07-03 18:09:01 -04:00
Jonathan Swoboda
648f5e1b06
[nrf52] Install native sdk-nrf into a machine-global cache dir ( #17353 )
2026-07-02 15:42:59 -04:00
Jonathan Swoboda
65fc10d627
[nrf52] Build PlatformIO libraries as Zephyr modules (sdk-nrf) ( #17250 )
2026-07-02 10:26:34 -04:00
Jonathan Swoboda
b79cbcbde7
[espidf] Install native ESP-IDF into a machine-global cache dir ( #17306 )
2026-06-30 14:56:18 -04:00
Jonathan Swoboda
b8690c8e31
[core] Drop Python 3.11 support ( #17280 )
2026-06-29 12:32:28 -04:00
Clyde Stubbs and Copilot Autofix powered by AI
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
Jonathan Swoboda
d3892b8399
[platformio] Extract toolchain-agnostic PlatformIO library converter ( #17243 )
2026-06-28 07:03:09 -04:00
Jonathan Swoboda
0fb100f2d1
[core] Suppress unactionable legacy-redaction warning for substitutions ( #17242 )
2026-06-27 18:05:00 -04:00
tomaszduda23 and Jonathan Swoboda
690e8c3fb9
[nrf52] add upload for native build ( #17100 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-06-27 15:50:28 -04:00
Franck Nijhof and Jonathan Swoboda
da5e11d196
[core] Fix area saved as null in storage.json ( #17219 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-06-27 09:49:56 -04:00
Franck Nijhof
239211e521
[time] Defer aioesphomeapi import to speed up config validation ( #17214 )
2026-06-25 15:34:44 -04:00
Franck Nijhof
cc646b2213
[core] Defer requests import in framework_helpers to speed up config validation ( #17215 )
2026-06-25 15:34:33 -04:00
Jesse Hills
46cf052ec5
[config_validation] Fix multicast typo in error message ( #17206 )
2026-06-25 08:28:43 -04:00
Jesse Hills
8c68e95568
[config_validation] Add tests for 100% validator coverage ( #17204 )
2026-06-25 22:33:28 +12:00
Jonathan Swoboda
91e515ca7c
[esp32] Accept '#' as ESP-IDF source ref separator ( #17193 )
2026-06-24 20:40:28 -04:00
Jesse Hills
84de814e6f
[config_validation] Make bind_key a sensitive dual-mode validator ( #17146 )
2026-06-24 09:05:39 +12:00
Jonathan Swoboda
1d32b6c9e0
[espidf] Enable ccache by default for ESP-IDF builds ( #17163 )
2026-06-23 16:41:13 -04:00
Jonathan Swoboda
7763ce958d
[tests] Disable Hypothesis deadline on IP validation property tests ( #17138 )
2026-06-23 15:21:40 -04:00
Jesse Hills
225d426d95
[core] Use CORE.is_* platform helpers in __main__ ( #17144 )
2026-06-23 08:40:16 -04:00
Jonathan Swoboda
1ace836744
[espidf] Don't fail framework check on broken unrelated PATH tools ( #17053 )
2026-06-22 18:41:21 -04:00
Jesse Hills
d0e3e98d55
[dashboard] Remove legacy web dashboard ( #17124 )
2026-06-22 09:33:27 +12:00
J. Nick Koston
921758f87d
[core] Clarify resolve error when a device has no network log/OTA transport ( #17107 )
2026-06-21 15:00:55 -05:00
J. Nick Koston
d8f883bd9d
[core] Remove deprecated get_object_id() and get_compilation_time() ( #17112 )
2026-06-22 07:54:05 +12:00
Jonathan Swoboda
53e85e07d4
[esp32] Support esphome idedata with the native ESP-IDF toolchain ( #17040 )
2026-06-18 15:56:21 -04:00
J. Nick Koston and Copilot Autofix powered by AI
bd9375117a
[core] Honor transferred address cache in has_resolvable_address ( #17025 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-06-17 22:11:24 -05:00
Jesse Hills
c214a8ce79
[core] Add generic component alias infrastructure ( #16826 )
2026-06-18 01:21:00 +00:00
tomaszduda23 and Jonathan Swoboda
e3f164fff2
[nrf52] add support for native builds ( #16898 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
2026-06-17 21:17:07 -04:00
Jesse Hills
d8fa0e4140
[core] Stop parent git repos from breaking ESP-IDF/PlatformIO builds ( #16994 )
2026-06-16 20:24:26 +12:00
Jonathan Swoboda
e191fc5d47
[core] Support platformio_options on the native ESP-IDF toolchain ( #16917 )
2026-06-15 10:56:03 +12:00
Jonathan Swoboda
1e5771a3fa
[esp32] Fix idedata generation failing on unset ESPHOME_ARDUINO ( #16925 )
2026-06-15 09:48:43 +12:00
J. Nick Koston
750cf1995b
[esp8266] Decode crash handler PC and backtrace in logs ( #16911 )
2026-06-11 08:47:50 -05:00
Jonathan Swoboda
29a79b1373
[core] Make set_cpp_standard work on the native IDF toolchain ( #16907 )
2026-06-11 07:25:03 +12:00
Clyde Stubbs and Claude Opus 4.8
dafc3560dd
[tests] Isolate ESPHOME_LOG_STATES in main logs-states tests ( #16905 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-10 07:44:58 -04:00
Jonathan Swoboda
6809af3de0
[espidf] Warn when the install path is too long for Windows MAX_PATH ( #16896 )
2026-06-10 13:12:28 +12:00
Jonathan Swoboda
4963ddcb95
[espidf] Fix idedata generation on Windows ( #16894 )
2026-06-10 13:09:50 +12:00
5faed9d5f5
[nrf52] native build - download toolchain and sdk in venv ( #16388 )
...
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com >
Co-authored-by: Jonathan Swoboda <swoboda1337@users.noreply.github.com >
2026-06-09 07:04:51 -04:00
Jonathan Swoboda
6996b7ed1c
[ci] Add ESP32 Variants clang-tidy run (S3/P4/C6) ( #16825 )
2026-06-05 22:03:08 -04:00
Jonathan Swoboda
8aa4157574
[fastled_base] Use FastLED IDF component on ESP32 ( #16804 )
2026-06-05 21:01:29 -04:00