Implementing Analog pH Sensor of DFRobot

Hi guys,

I got some issues with implementing the pH Sensor of DFRobot into ESPHome. I get it connected but I can’t get any values of it. It’s all the time the same value.

I used this for the sensor:

sensor:
  # https://esphome.io/components/sensor/adc.html
  - platform: adc
    pin: A0
    id: ph
    name: "pH Sensor"
    update_interval: 1s
    unit_of_measurement: pH
    # https://esphome.io/components/sensor/index.html#sensor-filters
    filters:
      - median:
          window_size: 7
          send_every: 4
          send_first_at: 3
      # Measured voltage -> Actual pH (buffer solution)
      - calibrate_linear:
          - 0.59 -> 7.0
          - 0.71 -> 4.0
type or paste code here

please search before posting