Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP Home Device Management Bug #134163

Open
rsmanning opened this issue Dec 28, 2024 · 2 comments
Open

ESP Home Device Management Bug #134163

rsmanning opened this issue Dec 28, 2024 · 2 comments

Comments

@rsmanning
Copy link

The problem

Its rare I run into this but its always a pain. Normally its when replacing a device and attempting to use the same names or simply changing names to try and keep things organized. You can completely delete a device from ESP Devices and ESP Compiler area, create new and only paste in the config after "Captive Portal", manually flash the device. It shows in the compiler as online immediately even though there is still adaption to do. Then it works but attempts to OTA update or even adopt (depending on the exact procedure and name used), and it says OTA auth failed or issues with API key. Its REALLY annoying, its like the database has remnants of it and key associations it retains even when deleted from everywhere in the GUI. Normally to correct it I have to tweak the name in some less desirable way and add it fresh. Restarting HA after deleting it in the GUI before adding doesn't help the outcome.

What version of Home Assistant Core has the issue?

2024.12.5

What was the last working version of Home Assistant Core?

N/A

What type of installation are you running?

Home Assistant OS

Integration causing the issue

ESPHome Builder

Link to integration documentation on our website

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@rsmanning
Copy link
Author

I deleted the builder and ESP device instance of the device and recreated the device with a different name but everything after Captive Portal in the yaml is the same. It immediately detected it after manually flashing and booting as the old device name in discovered devices. I restarted HA services and it showed up as the new name discovered. Then I added it in again and now I can reflash via OTA. Please fix this.

@home-assistant
Copy link

Hey there @OttoWinter, @jesserockz, @kbx81, @bdraco, mind taking a look at this issue as it has been labeled with an integration (esphome) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of esphome can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign esphome Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


esphome documentation
esphome source
(message by IssueLinks)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants