Fix wifi ble coexistence check (#2573)

This commit is contained in:
Otto Winter 2021-10-21 12:24:01 +02:00 committed by Otto winter
parent f6935a4b4b
commit 2f32833a22
No known key found for this signature in database
GPG Key ID: 48ED2DDB96D7682C

View File

@ -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: