Skip to content

Commit

Permalink
Use project name before friendly name and hostname (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz authored Dec 5, 2024
1 parent e8aea7b commit 11097cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def main(argv) -> int:

if args.complete_manifest:
manifest = {
"name": config.friendly_name or config.original_name,
"name": config.project_name or config.friendly_name or config.original_name,
"version": config.project_version or esphome_version,
"home_assistant_domain": "esphome",
"new_install_prompt_erase": False,
Expand Down
2 changes: 1 addition & 1 deletion tests/complete-manifest-template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "test",
"name": "esphome.example-project",
"version": "3.5.0",
"home_assistant_domain": "esphome",
"new_install_prompt_erase": false,
Expand Down

0 comments on commit 11097cf

Please sign in to comment.