mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			425 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			425 B
		
	
	
	
		
			YAML
		
	
	
	
	
	
light:
 | 
						|
  - platform: ${light_platform}
 | 
						|
    id: part_leds
 | 
						|
    default_transition_length: 500ms
 | 
						|
    chipset: ws2812
 | 
						|
    num_leds: 256
 | 
						|
    rgb_order: GRB
 | 
						|
    pin: ${pin}
 | 
						|
  - platform: partition
 | 
						|
    name: Partition Light
 | 
						|
    segments:
 | 
						|
      - id: part_leds
 | 
						|
        from: 0
 | 
						|
        to: 0
 | 
						|
      - id: part_leds
 | 
						|
        from: 1
 | 
						|
        to: 10
 | 
						|
      - id: part_leds
 | 
						|
        from: 20
 | 
						|
        to: 25
 | 
						|
      - single_light_id: part_leds
 |