sensor: - platform: adc id: my_sensor pin: A0 attenuation: 2.5db - platform: integration sensor: my_sensor name: Integration Sensor time_unit: s