mirror of
https://github.com/esphome/esphome.git
synced 2026-05-27 20:53:46 +08:00
Add some components to the new testing framework (I) (#6185)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: 4
|
||||
attenuation: 11db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
||||
@@ -0,0 +1,9 @@
|
||||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: A0
|
||||
attenuation: 2.5db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
||||
@@ -0,0 +1,9 @@
|
||||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: 1
|
||||
attenuation: 11db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
||||
@@ -0,0 +1,9 @@
|
||||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: 1
|
||||
attenuation: 11db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
||||
@@ -0,0 +1,9 @@
|
||||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: A0
|
||||
attenuation: 2.5db
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
||||
@@ -0,0 +1,8 @@
|
||||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: VCC
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
||||
@@ -0,0 +1,8 @@
|
||||
sensor:
|
||||
- platform: adc
|
||||
id: my_sensor
|
||||
pin: VCC
|
||||
- platform: integration
|
||||
sensor: my_sensor
|
||||
name: Integration Sensor
|
||||
time_unit: s
|
||||
Reference in New Issue
Block a user