mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Add some components to the new testing framework (R) (#6219)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		
							
								
								
									
										28
									
								
								tests/components/rgbct/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tests/components/rgbct/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: light_output_1 | ||||
|     pin: 1 | ||||
|   - platform: ledc | ||||
|     id: light_output_2 | ||||
|     pin: 2 | ||||
|   - platform: ledc | ||||
|     id: light_output_3 | ||||
|     pin: 3 | ||||
|   - platform: ledc | ||||
|     id: light_output_4 | ||||
|     pin: 4 | ||||
|   - platform: ledc | ||||
|     id: light_output_5 | ||||
|     pin: 5 | ||||
|  | ||||
| light: | ||||
|   - platform: rgbct | ||||
|     name: RGBCT Light | ||||
|     red: light_output_1 | ||||
|     green: light_output_2 | ||||
|     blue: light_output_3 | ||||
|     color_temperature: light_output_4 | ||||
|     white_brightness: light_output_5 | ||||
|     cold_white_color_temperature: 153 mireds | ||||
|     warm_white_color_temperature: 500 mireds | ||||
|     color_interlock: true | ||||
							
								
								
									
										28
									
								
								tests/components/rgbct/test.esp32-c3.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tests/components/rgbct/test.esp32-c3.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: light_output_1 | ||||
|     pin: 1 | ||||
|   - platform: ledc | ||||
|     id: light_output_2 | ||||
|     pin: 2 | ||||
|   - platform: ledc | ||||
|     id: light_output_3 | ||||
|     pin: 3 | ||||
|   - platform: ledc | ||||
|     id: light_output_4 | ||||
|     pin: 4 | ||||
|   - platform: ledc | ||||
|     id: light_output_5 | ||||
|     pin: 5 | ||||
|  | ||||
| light: | ||||
|   - platform: rgbct | ||||
|     name: RGBCT Light | ||||
|     red: light_output_1 | ||||
|     green: light_output_2 | ||||
|     blue: light_output_3 | ||||
|     color_temperature: light_output_4 | ||||
|     white_brightness: light_output_5 | ||||
|     cold_white_color_temperature: 153 mireds | ||||
|     warm_white_color_temperature: 500 mireds | ||||
|     color_interlock: true | ||||
							
								
								
									
										28
									
								
								tests/components/rgbct/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tests/components/rgbct/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: light_output_1 | ||||
|     pin: 12 | ||||
|   - platform: ledc | ||||
|     id: light_output_2 | ||||
|     pin: 13 | ||||
|   - platform: ledc | ||||
|     id: light_output_3 | ||||
|     pin: 14 | ||||
|   - platform: ledc | ||||
|     id: light_output_4 | ||||
|     pin: 15 | ||||
|   - platform: ledc | ||||
|     id: light_output_5 | ||||
|     pin: 16 | ||||
|  | ||||
| light: | ||||
|   - platform: rgbct | ||||
|     name: RGBCT Light | ||||
|     red: light_output_1 | ||||
|     green: light_output_2 | ||||
|     blue: light_output_3 | ||||
|     color_temperature: light_output_4 | ||||
|     white_brightness: light_output_5 | ||||
|     cold_white_color_temperature: 153 mireds | ||||
|     warm_white_color_temperature: 500 mireds | ||||
|     color_interlock: true | ||||
							
								
								
									
										28
									
								
								tests/components/rgbct/test.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tests/components/rgbct/test.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: light_output_1 | ||||
|     pin: 12 | ||||
|   - platform: ledc | ||||
|     id: light_output_2 | ||||
|     pin: 13 | ||||
|   - platform: ledc | ||||
|     id: light_output_3 | ||||
|     pin: 14 | ||||
|   - platform: ledc | ||||
|     id: light_output_4 | ||||
|     pin: 15 | ||||
|   - platform: ledc | ||||
|     id: light_output_5 | ||||
|     pin: 16 | ||||
|  | ||||
| light: | ||||
|   - platform: rgbct | ||||
|     name: RGBCT Light | ||||
|     red: light_output_1 | ||||
|     green: light_output_2 | ||||
|     blue: light_output_3 | ||||
|     color_temperature: light_output_4 | ||||
|     white_brightness: light_output_5 | ||||
|     cold_white_color_temperature: 153 mireds | ||||
|     warm_white_color_temperature: 500 mireds | ||||
|     color_interlock: true | ||||
							
								
								
									
										28
									
								
								tests/components/rgbct/test.esp8266.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tests/components/rgbct/test.esp8266.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| output: | ||||
|   - platform: esp8266_pwm | ||||
|     id: light_output_1 | ||||
|     pin: 12 | ||||
|   - platform: esp8266_pwm | ||||
|     id: light_output_2 | ||||
|     pin: 13 | ||||
|   - platform: esp8266_pwm | ||||
|     id: light_output_3 | ||||
|     pin: 14 | ||||
|   - platform: esp8266_pwm | ||||
|     id: light_output_4 | ||||
|     pin: 15 | ||||
|   - platform: esp8266_pwm | ||||
|     id: light_output_5 | ||||
|     pin: 16 | ||||
|  | ||||
| light: | ||||
|   - platform: rgbct | ||||
|     name: RGBCT Light | ||||
|     red: light_output_1 | ||||
|     green: light_output_2 | ||||
|     blue: light_output_3 | ||||
|     color_temperature: light_output_4 | ||||
|     white_brightness: light_output_5 | ||||
|     cold_white_color_temperature: 153 mireds | ||||
|     warm_white_color_temperature: 500 mireds | ||||
|     color_interlock: true | ||||
							
								
								
									
										28
									
								
								tests/components/rgbct/test.rp2040.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										28
									
								
								tests/components/rgbct/test.rp2040.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,28 @@ | ||||
| output: | ||||
|   - platform: rp2040_pwm | ||||
|     id: light_output_1 | ||||
|     pin: 12 | ||||
|   - platform: rp2040_pwm | ||||
|     id: light_output_2 | ||||
|     pin: 13 | ||||
|   - platform: rp2040_pwm | ||||
|     id: light_output_3 | ||||
|     pin: 14 | ||||
|   - platform: rp2040_pwm | ||||
|     id: light_output_4 | ||||
|     pin: 15 | ||||
|   - platform: rp2040_pwm | ||||
|     id: light_output_5 | ||||
|     pin: 16 | ||||
|  | ||||
| light: | ||||
|   - platform: rgbct | ||||
|     name: RGBCT Light | ||||
|     red: light_output_1 | ||||
|     green: light_output_2 | ||||
|     blue: light_output_3 | ||||
|     color_temperature: light_output_4 | ||||
|     white_brightness: light_output_5 | ||||
|     cold_white_color_temperature: 153 mireds | ||||
|     warm_white_color_temperature: 500 mireds | ||||
|     color_interlock: true | ||||
		Reference in New Issue
	
	Block a user