Hi,
I’m trying to install an ESP32 and when I try to configure it in Home Assistant I always get this:
I have tried multiple keys generated from here: Native API Component — ESPHome
I have tried creating a password, I also tried to disable the encryption, commenting the api section but I always get asked for the encryption key but it’s always invalid.
Right now, the start section of my code looks like this:
esphome:
name: sensores
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
logger:
# Enable Home Assistant API
api:
password: !secret api_password
encryption:
key: "VEd2HRtV8kO7D1KV26anQctVYdSRW9nda5fCVfxKn94="
What can I do?
What I think is happening is that even when my ESP32 is conecting to Wi-Fi and is getting recognised by Home Assistant at first, in the image you can see that the first sentence is missing something, like the name of the device or something like that.