mirror of
https://github.com/esphome/esphome.git
synced 2026-06-05 01:52:47 +08:00
[wifi] Reject EAP/WPA2 Enterprise config on unsupported platforms (#14746)
This commit is contained in:
@@ -166,6 +166,7 @@ TTLS_PHASE_2 = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
EAP_AUTH_SCHEMA = cv.All(
|
EAP_AUTH_SCHEMA = cv.All(
|
||||||
|
cv.only_on([Platform.ESP32, Platform.ESP8266]),
|
||||||
cv.Schema(
|
cv.Schema(
|
||||||
{
|
{
|
||||||
cv.Optional(CONF_IDENTITY): cv.string_strict,
|
cv.Optional(CONF_IDENTITY): cv.string_strict,
|
||||||
|
|||||||
Reference in New Issue
Block a user