mirror of
https://github.com/esphome/esphome.git
synced 2024-11-26 17:05:21 +01:00
Fix wifi ble coexistence check (#2573)
This commit is contained in:
parent
7f34561e53
commit
e39f314e7a
1 changed files with 8 additions and 1 deletions
|
@ -159,8 +159,15 @@ def final_validate_power_esp32_ble(value):
|
||||||
"esp32_ble_server",
|
"esp32_ble_server",
|
||||||
"esp32_ble_tracker",
|
"esp32_ble_tracker",
|
||||||
]:
|
]:
|
||||||
|
if conflicting not in fv.full_config.get():
|
||||||
|
continue
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cv.require_framework_version(esp32_arduino=cv.Version(1, 0, 5))(None)
|
# Only arduino 1.0.5+ and esp-idf impacted
|
||||||
|
cv.require_framework_version(
|
||||||
|
esp32_arduino=cv.Version(1, 0, 5),
|
||||||
|
esp_idf=cv.Version(4, 0, 0),
|
||||||
|
)(None)
|
||||||
except cv.Invalid:
|
except cv.Invalid:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in a new issue