Most of my ESP devices don’t have any keys, or even an API password since I have never been a security paranoid. But I have decided to migrate them to a single key like @John_p recommends because it’s easy to do.
It worked for me, I added single key for all my devices. Besides this I created new secrets.yaml file under /config/esphome folder and saved my key there. ESPHome configuration was not able to reference my original secrets file under /config folder so ended up created new one right under /esphome folder. I also have my sample ESP device config file posted above for reference, hope this helps.
I tried using these instructions after repeated warnings about the password deprecation. But I have a problem at the reconfigure step. It prompts me for a “password”. When I enter the base64 encryption key, it doesn’t accept it:
I think it is still looking for the old-style password, not the new encryption key, this is why it’s not working. Is there any way to update the device? I definitely don’t want to delete it because I’ll lose my history.
I reverted to the password again and it is reporting again, though the reconfigure badge is still there. Weird.
Had this issue with one device, followed your instruction today and will monitor and report any issues. Thanks.
Update: This did not solve my problem. HA again and again asks for the key.
If I enter the key into the dialogue window it is happy for a few hours but then again …