mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 07:03:55 +00:00 
			
		
		
		
	[CI] Consolidate some tests (N, O, P) (#8204)
This commit is contained in:
		
							
								
								
									
										25
									
								
								tests/components/ntc/common.yaml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								tests/components/ntc/common.yaml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,25 @@ | ||||
| sensor: | ||||
|   - platform: adc | ||||
|     id: my_sensor | ||||
|     pin: ${pin} | ||||
|   - platform: resistance | ||||
|     sensor: my_sensor | ||||
|     configuration: DOWNSTREAM | ||||
|     resistor: 10kΩ | ||||
|     reference_voltage: 3.3V | ||||
|     name: Resistance | ||||
|     id: resist | ||||
|   - platform: ntc | ||||
|     sensor: resist | ||||
|     name: NTC Sensor | ||||
|     calibration: | ||||
|       b_constant: 3950 | ||||
|       reference_resistance: 10k | ||||
|       reference_temperature: 25°C | ||||
|   - platform: ntc | ||||
|     sensor: resist | ||||
|     name: NTC Sensor2 | ||||
|     calibration: | ||||
|       - 10.0kOhm -> 25°C | ||||
|       - 27.219kOhm -> 0°C | ||||
|       - 14.674kOhm -> 15°C | ||||
		Reference in New Issue
	
	Block a user