From 05f9dede702f959892493bed9d8ae75797710587 Mon Sep 17 00:00:00 2001 From: Nikolay Vasilchuk Date: Tue, 31 Dec 2019 14:40:20 +0300 Subject: [PATCH] http_request version fix (#917) --- esphome/components/http_request/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/esphome/components/http_request/__init__.py b/esphome/components/http_request/__init__.py index 897440a454..ea12b0657d 100644 --- a/esphome/components/http_request/__init__.py +++ b/esphome/components/http_request/__init__.py @@ -4,7 +4,7 @@ import esphome.codegen as cg import esphome.config_validation as cv from esphome import automation from esphome.const import CONF_ID, CONF_TIMEOUT, CONF_ESPHOME, CONF_METHOD, \ - CONF_ARDUINO_VERSION, ARDUINO_VERSION_ESP8266_2_5_0 + CONF_ARDUINO_VERSION, ARDUINO_VERSION_ESP8266_2_5_1 from esphome.core import CORE, Lambda from esphome.core_config import PLATFORMIO_ESP8266_LUT @@ -35,8 +35,8 @@ def validate_framework(config): return config framework = PLATFORMIO_ESP8266_LUT[version] if version in PLATFORMIO_ESP8266_LUT else version - if framework < ARDUINO_VERSION_ESP8266_2_5_0: - raise cv.Invalid('This component is not supported on arduino framework version below 2.5.0') + if framework < ARDUINO_VERSION_ESP8266_2_5_1: + raise cv.Invalid('This component is not supported on arduino framework version below 2.5.1') return config