1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-13 07:13:47 +01:00

rewrite adc to be groupable

This commit is contained in:
J. Nick Koston
2025-10-09 22:21:49 -10:00
parent 05e39c2195
commit afec0a089c
10 changed files with 92 additions and 57 deletions

View File

@@ -1,7 +1,11 @@
packages:
base: !include common.yaml
sensor:
- id: !extend my_sensor
- id: my_sensor
platform: adc
pin: VCC
attenuation: !remove
name: ADC Test sensor
update_interval: "1:01"
unit_of_measurement: "°C"
icon: "mdi:water-percent"
accuracy_decimals: 5
setup_priority: -100
force_update: true