Hello,
I am new here and I have a problem. I Installed Home Assistant on a Raspberry Pi 4 (the original installation guide Raspberry Pi - Home Assistant). I wanted to get started with ESPHome and Installed the test program on the ESP. Everything worked until I wanted to implement this device. There it shows:
Keine Verbindung zum ESP möglich. Achte darauf, dass deine YAML-Datei eine Zeile ‘api:’ enthält
I don’t know how to fix this issue.
Thanks for your help
esphome:
name: test
esp8266:
board: nodemcuv2
api:
# Enable logging
logger:
ota:
password: "70702f0a92cfc44bf0052ca713890b70"
wifi:
ssid: xxx
password: xxx
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Test Fallback Hotspot"
password: "LDJWM8P9hnj2"
captive_portal: