mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Fix esp32_rmt_led_strip color modes (#4886)
This commit is contained in:
		
				
					committed by
					
						 Keith Burzinski
						Keith Burzinski
					
				
			
			
				
	
			
			
			
						parent
						
							6e414180e0
						
					
				
				
					commit
					91ff502872
				
			| @@ -34,7 +34,7 @@ class ESP32RMTLEDStripLightOutput : public light::AddressableLight { | ||||
|   light::LightTraits get_traits() override { | ||||
|     auto traits = light::LightTraits(); | ||||
|     if (this->is_rgbw_) { | ||||
|       traits.set_supported_color_modes({light::ColorMode::RGB, light::ColorMode::RGB_WHITE}); | ||||
|       traits.set_supported_color_modes({light::ColorMode::RGB_WHITE, light::ColorMode::WHITE}); | ||||
|     } else { | ||||
|       traits.set_supported_color_modes({light::ColorMode::RGB}); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user