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

After update "get entities node" is not returning sensors created by API #1481

Closed
kelvinrafaeli opened this issue Aug 18, 2024 · 0 comments · Fixed by #1483
Closed

After update "get entities node" is not returning sensors created by API #1481

kelvinrafaeli opened this issue Aug 18, 2024 · 0 comments · Fixed by #1483
Labels
bug Something isn't working

Comments

@kelvinrafaeli
Copy link

Describe the bug

Before the update it was possible to get sensor entities created by the API. Now I can only get "normal" sensors

To Reproduce

Create a sensor using node API, the sensor will be available in home assistant.

Expected behavior

When using node get entities it was previously possible to get all sensors, even those created by the API.

Screenshots

image

image

image

Example Flow

[{"id":"f4bb01fa55756449","type":"ha-get-entities","z":"5033af82468f1080","name":"Pegar sensores","server":"db1ab0af.caa65","version":1,"rules":[{"condition":"state_object","property":"entity_id","logic":"starts_with","value":"sensor.game_","valueType":"str"}],"outputType":"array","outputEmptyResults":false,"outputLocationType":"msg","outputLocation":"sensores","outputResultsCount":1,"x":380,"y":1100,"wires":[["b20a3286d47a8262"]]},{"id":"b50c043540e520c0","type":"inject","z":"5033af82468f1080","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":230,"y":1100,"wires":[["f4bb01fa55756449"]]},{"id":"b20a3286d47a8262","type":"debug","z":"5033af82468f1080","name":"debug 43","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":540,"y":1100,"wires":[]},{"id":"db1ab0af.caa65","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]

Environment Information

Version: 0.67.1

Home Assistant version: 2024.8.2
Companion version: 4.0.2

Node-RED version: 4.0.2
Docker: yes
Add-on: no

Node.js version: v18.20.3 x64 linux
OS: Linux 6.6.44-haos x64

Additional context

No response

@zachowj zachowj added the bug Something isn't working label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants