mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	[CI] Consolidate some tests (Q, R) (#8205)
This commit is contained in:
		
							
								
								
									
										15
									
								
								tests/components/rtttl/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								tests/components/rtttl/common.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: ${output_platform} | ||||
|     id: rtttl_output | ||||
|     pin: ${pin} | ||||
|     frequency: 1500Hz | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
| @@ -1,16 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
| substitutions: | ||||
|   output_platform: ledc | ||||
|   pin: GPIO14 | ||||
|  | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: rtttl_output | ||||
|     pin: 13 | ||||
|     frequency: 1500Hz | ||||
|     channel: 14 | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,16 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
| substitutions: | ||||
|   output_platform: ledc | ||||
|   pin: GPIO4 | ||||
|  | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: rtttl_output | ||||
|     pin: 1 | ||||
|     frequency: 1500Hz | ||||
|     channel: 14 | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,16 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
| substitutions: | ||||
|   output_platform: ledc | ||||
|   pin: GPIO4 | ||||
|  | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: rtttl_output | ||||
|     pin: 1 | ||||
|     frequency: 1500Hz | ||||
|     channel: 14 | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,16 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
| substitutions: | ||||
|   output_platform: ledc | ||||
|   pin: GPIO14 | ||||
|  | ||||
| output: | ||||
|   - platform: ledc | ||||
|     id: rtttl_output | ||||
|     pin: 13 | ||||
|     frequency: 1500Hz | ||||
|     channel: 14 | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,15 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
| substitutions: | ||||
|   output_platform: esp8266_pwm | ||||
|   pin: GPIO14 | ||||
|  | ||||
| output: | ||||
|   - platform: esp8266_pwm | ||||
|     id: rtttl_output | ||||
|     pin: 13 | ||||
|     frequency: 1500Hz | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
| <<: !include common.yaml | ||||
|   | ||||
| @@ -1,15 +1,5 @@ | ||||
| esphome: | ||||
|   on_boot: | ||||
|     then: | ||||
|       - rtttl.play: 'siren:d=8,o=5,b=100:d,e,d,e,d,e,d,e' | ||||
|       - rtttl.stop | ||||
| substitutions: | ||||
|   output_platform: rp2040_pwm | ||||
|   pin: GPIO4 | ||||
|  | ||||
| output: | ||||
|   - platform: rp2040_pwm | ||||
|     id: rtttl_output | ||||
|     pin: 3 | ||||
|     frequency: 1500Hz | ||||
|     max_power: 0.5 | ||||
|  | ||||
| rtttl: | ||||
|   output: rtttl_output | ||||
| <<: !include common.yaml | ||||
|   | ||||
		Reference in New Issue
	
	Block a user