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

Get entities label didn't work #1686

Closed
kakou-fr opened this issue Nov 11, 2024 · 3 comments · Fixed by #1676
Closed

Get entities label didn't work #1686

kakou-fr opened this issue Nov 11, 2024 · 3 comments · Fixed by #1676

Comments

@kakou-fr
Copy link

Describe the bug

I just upgrated to the last version, and the Get entities, filter with label name, return all entities.
Before, it was just return the entities that == to the label name

To Reproduce

  1. Add get entities
  2. Add label filter, and a label name, split output
  3. Add debug node to display the entities

Expected behavior

Only get the list of entities that match the label name

Screenshots

No response

Example Flow

[{"id":"eeb76ebe4af2a4ef","type":"ha-get-entities","z":"f132e3ac120d2b3c","name":"Check","server":"c1b64b6e.ebdda8","version":1,"rules":[{"condition":"label_registry","property":"name","logic":"is","value":"Check","valueType":"str"}],"outputType":"split","outputEmptyResults":false,"outputLocationType":"msg","outputLocation":"payload","outputResultsCount":1,"x":370,"y":940,"wires":[["1a2214efe1b9fbfd"]]},{"id":"7c4786d2d36de8b7","type":"inject","z":"f132e3ac120d2b3c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"600","crontab":"","once":true,"onceDelay":"10","topic":"","payload":"","payloadType":"date","x":190,"y":940,"wires":[["eeb76ebe4af2a4ef"]]},{"id":"1a2214efe1b9fbfd","type":"debug","z":"f132e3ac120d2b3c","name":"debug 173","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":530,"y":940,"wires":[]},{"id":"c1b64b6e.ebdda8","type":"server","name":"Home Assistant","addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"","statusSeparator":"","enableGlobalContextStore":false}]

Environment Information

Version: 0.74.2

Home Assistant version: 2024.11.1
Companion version: 4.1.1

Node-RED version: 4.0.3
Docker: yes
Add-on: 18.1.1

Node.js version: v18.20.4 arm64 linux
OS: Linux 6.6.51+rpt-rpi-2712 arm64

Additional context

No response

@wolfwander
Copy link

Same for me.

@Fertx0
Copy link

Fertx0 commented Dec 5, 2024

Isn't this problem considered a bug?

@dartzon
Copy link

dartzon commented Dec 6, 2024

I am having the exact same problem, the conditions to filter out entities based on their labels are not working at all.

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

Successfully merging a pull request may close this issue.

4 participants