Only include FastLED if user says so

This commit is contained in:
Otto Winter 2018-11-30 12:41:34 +01:00
parent cf2752b9e0
commit 3b1cba7ad1
No known key found for this signature in database
GPG key ID: DB66C0BE6013F97E
2 changed files with 4 additions and 0 deletions

View file

@ -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,

View file

@ -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,