mirror of
https://github.com/esphome/esphome.git
synced 2025-01-03 19:31:46 +01:00
Only include FastLED if user says so
This commit is contained in:
parent
cf2752b9e0
commit
3b1cba7ad1
2 changed files with 4 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue