Skip to content
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

light entities created by a Helper are not picked up automatically by auto-entities #462

Open
lblando opened this issue Aug 15, 2024 · 0 comments

Comments

@lblando
Copy link

lblando commented Aug 15, 2024

Disclaimer: I am not sure if this is an issue, or if it is the expected behavior. I have searched, but I cannot find the answer.

The Issue
I have a switch, for example: "Office Closet". It controls a light, and I want to treat all lights the same way. Thus, I am using a helper function, the one built-in within HA, to turn this switch into a light entity. Notice the last row in the table below for this specific helper:
image

For clarity, the definition of this helper is as vanilla as it comes, with all the default choices and nothing else, as you can see below:
image

It seems to be working correctly, as the switch entity is hidden by default, and the light entity is the one remaining, as you can see below:
image

However, when I am using Auto Entities, I add all lights, all switches, and all fans; while excluding the light entities for the LED indicators on some of the light switches.
image

And this yields:
image

Notice that the light "Office Closet" is missing.

And yet, if you explicitly add it, it shows, as you can see in the snippet below (notice the addition of line #13 and its result):
image

Which yields...
image

My question: Did I miss a configuration of auto-entities to enable it to both "ignore hidden entities" and also "pick up helper-created entities"?

Thanks in advance for your help.

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

1 participant