Fix const used for IDF recommended version (#2542)

This commit is contained in:
Jesse Hills 2021-10-18 09:55:35 +13:00
parent 70b62f272e
commit 0524f8c677
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A

View File

@ -190,7 +190,7 @@ def _esp_idf_check_versions(value):
platform_version = value.get(CONF_PLATFORM_VERSION, ESP_IDF_PLATFORM_VERSION)
value[CONF_PLATFORM_VERSION] = str(platform_version)
if version != RECOMMENDED_ARDUINO_FRAMEWORK_VERSION:
if version != RECOMMENDED_ESP_IDF_FRAMEWORK_VERSION:
_LOGGER.warning(
"The selected ESP-IDF framework version is not the recommended one. "
"If there are connectivity or build issues please remove the manual version."