Using NodeMCU V3 and DS18B20 Sensor Monitor Temperature with Home Assistant
Connect NodeMCU V3 (ESP8266) and DS18B20 Temperature Sensor

Home Assistant Configuration (ESPHome)
esphome:
name: esp8266_nodemcu_v3
platform: ESP8266
board: nodemcuv2
# Wifi
wifi:
ssid: "your_ssid"
password: "your_password"
fast_connect: true
manual_ip:
static_ip: 192.168.1.33
gateway: 192.168.1.1
subnet: 255.255.255.0
dns1: 192.168.1.1
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
# DS18B20 Temperature Sensor
dallas:
- pin: D7
sensor:
- platform: dallas
address: 0xFC04146F37EDFF28
name: "ESP8266 NodeMCU V3 Temperature"