mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Only include FastLED if user says so
This commit is contained in:
		| @@ -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, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user