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

Will Not Work With Certain Labels #473

Open
homeauto-git opened this issue Nov 13, 2024 · 3 comments
Open

Will Not Work With Certain Labels #473

homeauto-git opened this issue Nov 13, 2024 · 3 comments

Comments

@homeauto-git
Copy link

So im trying to use auto entities to display all lights and then if I add a new light all I have to do is add the label "Lights Column 2"

type: custom:auto-entities
card:
  type: entities
filter:
  include:
    - label: Lights Column 2

Very simple setup but it does not show any entities, I have 1 light switch and 2 light bulbs in the label "Lights Column 2" and in label "Lights" if i use

type: custom:auto-entities
card:
  type: entities
filter:
  include:
    - label: Lights

All the label "lights" show up. I do not understand why the label "Lights" work but "Lights Column 2" does not. I know you need to have exact spelling and I did insure that.

@homeauto-git homeauto-git changed the title will now work with certain labels Will Not Work With Certain Labels Nov 13, 2024
@coolcow
Copy link

coolcow commented Nov 25, 2024

I think i had the same problem, and it drove me crazy for a while. Try force-reloading your browser-cache with ctrl-F5. It did the trick for me.

@gabfv
Copy link

gabfv commented Nov 25, 2024

Oh wow, just chiming in that a force-reload worked for me! It was a newly created label too, so the old labels worked but not the new one until I force-reloaded my browser with CTRL+F5.

@ildar170975
Copy link

so the old labels worked but not the new one until I force-reloaded my browser with CTRL+F5.

Labels are not a part of a "states" object.
Since auto-entities is listening to "states" - surely it will not reflect changes realtime.
Even Dev tools -> Template does not since there is nothing to listen:
image

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

4 participants