home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
69.03k stars 28.27k forks source link

Packages: if a package with same name is found - no error messages in Log #116832

Open ildar170975 opened 1 week ago

ildar170975 commented 1 week ago

The problem

(instead of closed https://github.com/home-assistant/core/issues/75327)

Assume we have a file "/config/conf/test/test.yaml":

input_boolean:
  test_boolean_1:
  test_boolean_2:
  test_boolean_3:

And packages are merged by

homeassistant:
  ...
  packages: !include_dir_named conf

So, entities from the package "test" are added: image

Let's create another "test.yaml" in some subfolder (here - in "person"): image with this content:

input_boolean:
  some_boolean:

After reboot only one package "test" is merged, another one is ignored - as expected. And no messages are shown in Log. Suggest to show a corr. message - otherwise a user may not know that there is a yaml file with same name.

What version of Home Assistant Core has the issue?

2024.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

No response

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