mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	preen
This commit is contained in:
		| @@ -2,11 +2,23 @@ substitutions: | ||||
|   pin1: GPIO3 | ||||
|   pin2: GPIO4 | ||||
|  | ||||
| packages: | ||||
|   common: !include common.yaml | ||||
|  | ||||
| # Configuration is inlined instead of using !extend to make this component groupable. | ||||
| # Using !extend prevents automatic component grouping in CI, requiring individual builds. | ||||
| light: | ||||
|   - id: !extend led_strip1 | ||||
|   - platform: esp32_rmt_led_strip | ||||
|     id: led_strip1 | ||||
|     pin: ${pin1} | ||||
|     num_leds: 60 | ||||
|     rgb_order: GRB | ||||
|     chipset: ws2812 | ||||
|     use_dma: "true" | ||||
|   - id: !extend led_strip2 | ||||
|   - platform: esp32_rmt_led_strip | ||||
|     id: led_strip2 | ||||
|     pin: ${pin2} | ||||
|     num_leds: 60 | ||||
|     rgb_order: RGB | ||||
|     bit0_high: 100us | ||||
|     bit0_low: 100us | ||||
|     bit1_high: 100us | ||||
|     bit1_low: 100us | ||||
|     use_dma: "false" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user