mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	Consolidate test files where all tests are identical (#6690)
This commit is contained in:
		
							
								
								
									
										13
									
								
								tests/components/pulse_meter/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								tests/components/pulse_meter/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| sensor: | ||||
|   - platform: pulse_meter | ||||
|     id: pulse_meter_sensor | ||||
|     name: Pulse Meter | ||||
|     pin: 4 | ||||
|     internal_filter: 100ms | ||||
|     timeout: 2 min | ||||
|     on_value: | ||||
|       - pulse_meter.set_total_pulses: | ||||
|           id: pulse_meter_sensor | ||||
|           value: 12345 | ||||
|     total: | ||||
|       name: Pulse Meter Total | ||||
		Reference in New Issue
	
	Block a user