From 29015d0c3afc8a8929591ae864f1e2a7fc080d16 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Fri, 30 Nov 2018 19:56:53 +0100 Subject: [PATCH] Update platformio versions --- esphomeyaml/automation.py | 2 +- esphomeyaml/core_config.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/esphomeyaml/automation.py b/esphomeyaml/automation.py index a1f1dd7d57..1c6c035d35 100644 --- a/esphomeyaml/automation.py +++ b/esphomeyaml/automation.py @@ -275,7 +275,7 @@ def lambda_condition_to_code(config, condition_id, arg_type, template_arg): for lambda_ in process_lambda(config, [(arg_type, 'x')]): yield rhs = LambdaCondition.new(template_arg, lambda_) - type = LambdaAction.template(template_arg) + type = LambdaCondition.template(template_arg) yield Pvariable(condition_id, rhs, type=type) diff --git a/esphomeyaml/core_config.py b/esphomeyaml/core_config.py index ce46fdad1f..d897f373db 100644 --- a/esphomeyaml/core_config.py +++ b/esphomeyaml/core_config.py @@ -115,14 +115,14 @@ PLATFORMIO_ESP8266_LUT = { '2.4.1': 'espressif8266@1.7.3', '2.4.0': 'espressif8266@1.6.0', '2.3.0': 'espressif8266@1.5.0', - 'RECOMMENDED': 'espressif8266@>=1.8.0', + 'RECOMMENDED': 'espressif8266@1.8.0', 'LATEST': 'espressif8266', 'DEV': ARDUINO_VERSION_ESP8266_DEV, } PLATFORMIO_ESP32_LUT = { '1.0.0': 'espressif32@1.4.0', - 'RECOMMENDED': 'espressif32@>=1.4.0', + 'RECOMMENDED': 'espressif32@1.5.0', 'LATEST': 'espressif32', 'DEV': ARDUINO_VERSION_ESP32_DEV, }