mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 12:17:23 +00:00
20 lines
419 B
YAML
20 lines
419 B
YAML
esphome:
|
|
on_boot:
|
|
then:
|
|
- sensor.integration.reset:
|
|
id: integration_sensor
|
|
- sensor.integration.set_value:
|
|
id: integration_sensor
|
|
value: 100.0
|
|
|
|
sensor:
|
|
- platform: adc
|
|
id: integration_my_sensor
|
|
pin: ${pin}
|
|
attenuation: 12db
|
|
- platform: integration
|
|
id: integration_sensor
|
|
sensor: integration_my_sensor
|
|
name: Integration Sensor
|
|
time_unit: s
|