mirror of
https://github.com/esphome/esphome.git
synced 2024-11-30 10:44:13 +01:00
13 lines
234 B
YAML
13 lines
234 B
YAML
|
sensor:
|
||
|
- platform: adc
|
||
|
id: my_sensor
|
||
|
name: VSYS
|
||
|
pin: VCC
|
||
|
- platform: resistance
|
||
|
sensor: my_sensor
|
||
|
configuration: DOWNSTREAM
|
||
|
resistor: 10kΩ
|
||
|
reference_voltage: 3.3V
|
||
|
name: Resistance
|
||
|
id: resist
|