1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-17 15:26:01 +00:00

Allow framework version validator to be maximum version (#3197)

This commit is contained in:
Jesse Hills
2022-02-15 11:57:47 +13:00
parent dd554bcdf4
commit dcc80f9032
3 changed files with 39 additions and 10 deletions

View File

@@ -49,7 +49,12 @@ CONFIG_SCHEMA = cv.All(
}
),
_validate,
cv.only_with_arduino,
cv.require_framework_version(
esp8266_arduino=cv.Version(2, 7, 4),
esp32_arduino=cv.Version(99, 0, 0),
max_version=True,
extra_message="Please see note on documentation for FastLED",
),
)