Skip to content

Adding New Device Issue - YAML File & CLI #867

@polskikrol

Description

@polskikrol

Version

2026.1.3

What type of installation are you using?

Docker

Browser

Brave

What happened?

Wanted to add a new device by creating a new YAML file. So, in the /config directory, copied one of my templates and populated the values for IPs, API keys, etc. I was expecting the new file / device to be picked up by the web browser and show up in the GUI but it did not. So, this is the first issue.

Second issue, is that I tried to run the install for this new file via 'root@esphome:/config# esphome run esphome-dev.yaml'. Now the device showed up, BUT the run command did not use the correct name from the .yaml file:

root@esphome:/config# cat esphome-dev.yaml | grep name
  name: esphome-dev 
  friendly_name: ESPHOME-DEV 

Instead, it used the name of the previous device I had added via the GUI -- ESPHOME-HOTUB.

Image

I would have expected it to use the correct name.

How to reproduce

Please see above.

Expected behavior

Please see above.

Relevant log output

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions