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

Set Get Entities config Search Criteria/Properties via msg #133

Closed
MisterWil opened this issue Jul 11, 2019 · 0 comments
Closed

Set Get Entities config Search Criteria/Properties via msg #133

MisterWil opened this issue Jul 11, 2019 · 0 comments

Comments

@MisterWil
Copy link

MisterWil commented Jul 11, 2019

Is your feature request related to a problem? Please describe.
I would like to be able to get a list of all entities based on a non-fixed search criteria.

Specifically in this instance I would like to be able to pass in the msg.payload (which is a regex string) as an entity_id IS regex string search criteria.

Describe the solution you'd like
Consume some msg attribute that represents the search criteria. Something like the actual representation of the node would work:

"getEntityConfig": [
    {
        "property": "entity_id",
        "logic": "is",
        "value": "light\\..*",
        "valueType": "rg"
    }
]

Describe alternatives you've considered
Perhaps support JSONATA as a value type?

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

2 participants