esphome:
  name: test
  platform: ESP8266
  board: d1_mini_lite

sensor:
  - platform: adc
    pin: A0
    id: s_1
    name: "test s1"
    update_interval: 60s
    device_class: "voltage"