mirror of
https://github.com/esphome/esphome.git
synced 2024-11-16 10:45:48 +01:00
Fix wifi ble coexistence check (#2573)
This commit is contained in:
parent
7f34561e53
commit
e39f314e7a
@ -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 New Issue
Block a user