How to configure a KY-013 Thermistor Temperature Sensor Module

I am trying to connect a KY-013 via ESPHome on a ESP8266 D1 mini but I always get wrong temperature values. Her is my test config:

esphome:
name: laboresp8266 # Changed name (no underscore)
friendly_name: labor_esp8266

esp8266:
board: esp01_1m

Enable logging

logger:

Enable Home Assistant API

api:
encryption:
key: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”

ota:
password: “xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password

Enable fallback hotspot (captive portal) in case wifi connection fails

ap:
ssid: “Test1 Fallback Hotspot”
password: “XXXXXXXXXX”

captive_portal:

Sensor definition

sensor:

  • platform: adc
    pin: A0
    name: “KY-013 Temperatursensor”
    update_interval: 60s

The results are:

Analog Temperature. 1,00 V
Temperature Calculation 59,6 °C

In the room it’s about 22 °C!