mirror of
https://github.com/esphome/esphome.git
synced 2025-09-04 12:22:20 +01:00
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) (#6802)
* Initial changes to support testing of additional framework versions * Rename Arduino test files
This commit is contained in:
25
tests/components/ntc/test.esp8266-ard.yaml
Normal file
25
tests/components/ntc/test.esp8266-ard.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: A0
|
||||
- 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