1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-30 22:53:59 +00:00

[core] Fix platform component normalization happening too late in validation pipeline (#10908)

This commit is contained in:
J. Nick Koston
2025-09-28 18:09:08 -05:00
committed by GitHub
parent 78655968df
commit 4b86f31b66
5 changed files with 181 additions and 6 deletions

View File

@@ -0,0 +1,17 @@
esphome:
name: test-device2
esp32:
board: esp32dev
framework:
type: esp-idf
# OTA with empty dict - should be normalized
ota: {}
wifi:
ssid: "test"
password: "test"
# Captive portal auto-loads ota.web_server which triggers the issue
captive_portal:

View File

@@ -0,0 +1,17 @@
esphome:
name: test-device
esp32:
board: esp32dev
framework:
type: esp-idf
# OTA with no value - this should be normalized to empty list
ota:
wifi:
ssid: "test"
password: "test"
# Captive portal auto-loads ota.web_server which triggers the issue
captive_portal:

View File

@@ -0,0 +1,19 @@
esphome:
name: test-device3
esp32:
board: esp32dev
framework:
type: esp-idf
# OTA with proper list format
ota:
- platform: esphome
password: "test123"
wifi:
ssid: "test"
password: "test"
# Captive portal auto-loads ota.web_server
captive_portal: