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:
		
							
								
								
									
										16
									
								
								tests/components/rtttl/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								tests/components/rtttl/test.esp32-c3-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
|  | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: rtttl_output | ||||
|     pin: 1 | ||||
|     frequency: 1500Hz | ||||
|     channel: 14 | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
							
								
								
									
										16
									
								
								tests/components/rtttl/test.esp32-c3.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								tests/components/rtttl/test.esp32-c3.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
|  | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: rtttl_output | ||||
|     pin: 1 | ||||
|     frequency: 1500Hz | ||||
|     channel: 14 | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
							
								
								
									
										16
									
								
								tests/components/rtttl/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								tests/components/rtttl/test.esp32-idf.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
|  | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: rtttl_output | ||||
|     pin: 13 | ||||
|     frequency: 1500Hz | ||||
|     channel: 14 | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
							
								
								
									
										16
									
								
								tests/components/rtttl/test.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								tests/components/rtttl/test.esp32.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,16 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
|  | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: rtttl_output | ||||
|     pin: 13 | ||||
|     frequency: 1500Hz | ||||
|     channel: 14 | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
							
								
								
									
										15
									
								
								tests/components/rtttl/test.esp8266.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								tests/components/rtttl/test.esp8266.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
|  | ||||
| output: | ||||
|   - platform: esp8266_pwm | ||||
|     id: rtttl_output | ||||
|     pin: 13 | ||||
|     frequency: 1500Hz | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
							
								
								
									
										15
									
								
								tests/components/rtttl/test.rp2040.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								tests/components/rtttl/test.rp2040.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
|  | ||||
| output: | ||||
|   - platform: rp2040_pwm | ||||
|     id: rtttl_output | ||||
|     pin: 3 | ||||
|     frequency: 1500Hz | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
		Reference in New Issue
	
	Block a user