Skip to content

Adoption overwites non-common config #203

@bmbouter

Description

@bmbouter

To Reproduce

I create more or less a dummy esphome entry in home assistant with these contents. Just enough to get it to compile and load onto the esp32.

Then I connect to its AP, give it the creds and it connects to my network (same network as home assistant). I can then "Take Control" which I can see from the diffs on the common_yaml has recently been added (kudos for going that route btw). That shared config is the whole reason I'm taking time to write about this.

Unfortunately after home assistant takes control, it completely rewrites the original contents which removes almost all of the original non-shared config.

The result compiles and reflashes wirelessly, the common_yaml parts are referenced correctly, but don't work (see warnings during compilation) stating "disp_name" is missing, which indeed it is ... because taking control totally rewrites it.

This work is coming along nicely, I think there's just a bit more to go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions