From 3b1cba7ad18839dc69d7b965fad1544fb0d801cb Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Fri, 30 Nov 2018 12:41:34 +0100 Subject: [PATCH] Only include FastLED if user says so --- esphomeyaml/components/light/fastled_clockless.py | 2 ++ esphomeyaml/components/light/fastled_spi.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/esphomeyaml/components/light/fastled_clockless.py b/esphomeyaml/components/light/fastled_clockless.py index 3d894a403a..afdbcb0d23 100644 --- a/esphomeyaml/components/light/fastled_clockless.py +++ b/esphomeyaml/components/light/fastled_clockless.py @@ -104,6 +104,8 @@ def to_code(config): BUILD_FLAGS = '-DUSE_FAST_LED_LIGHT' +LIB_DEPS = 'FastLED@3.2.0' + def to_hass_config(data, config): return light.core_to_hass_config(data, config, brightness=True, rgb=True, color_temp=False, diff --git a/esphomeyaml/components/light/fastled_spi.py b/esphomeyaml/components/light/fastled_spi.py index ab79f34f6e..1230c4b644 100644 --- a/esphomeyaml/components/light/fastled_spi.py +++ b/esphomeyaml/components/light/fastled_spi.py @@ -84,6 +84,8 @@ def to_code(config): BUILD_FLAGS = '-DUSE_FAST_LED_LIGHT' +LIB_DEPS = 'FastLED@3.2.0' + def to_hass_config(data, config): return light.core_to_hass_config(data, config, brightness=True, rgb=True, color_temp=False,