8000 Device YAML Overwrite when creating device with same name · Issue #5345 · esphome/issues · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Device YAML Overwrite when creating device with same name #5345

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

Open
ChuckMash opened this issue Jan 7, 2024 · 3 comments
Open

Device YAML Overwrite when creating device with same name #5345

ChuckMash opened this issue Jan 7, 2024 · 3 comments

Comments

@ChuckMash
Copy link

The problem

Creating a new device of a certain name overwrites any existing device with that name without any warning.
It seems that at very least, this action should be warned against as it can lead to loss of existing data.

Same as #4491

Which version of ESPHome has the issue?

2023.12.5

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

Core 2024.1.2

What platform are you using?

ESP8266

Board

No response

Component causing the issue

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@scarolan
Copy link

I just got burned by this myself. There really ought to be at least a warning that you're about to overwrite an existing config!

@Cossid
Copy link
Cossid commented Feb 22, 2024

Saw someone comment this happened to them and thought they just didn't read a prompt, but nope, this overwrites with no warning what-so-ever, and this definitely needs to be addressed.

@jspiros
Copy link
jspiros commented May 9, 2025

Just had this happen, was surprised to see that it did this with no warning. At the very least I'd have expected it to move the existing yaml to the trash, but no.

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

No branches or pull requests

4 participants
0