Skip to content

Handle multiple queries at once #57

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

Merged
merged 1 commit into from
Jul 9, 2021
Merged

Conversation

scholzie
Copy link
Contributor

@scholzie scholzie commented Jun 30, 2021

The documentation says that this action can handle multiple queries passed into it when separated with a |, but it looks like that wasn't actually implemented anywhere. This enables that behavior, and (should) resolve #51.

The documentation says that this action can handle multiple queries passed into it when separated with a `|`, but it looks like that wasn't actually implemented anywhere. This enables that behavior.
@scholzie
Copy link
Contributor Author

There might be a more robust way to handle this, and the additional creation of a list at L#190 isn't strictly necessary, but it gets the job done without cluttering up the for loop.

@benknight
Copy link
Owner

Sorry for the delay. Thanks for this. I'm happy to merge as is, but if I would love to some how move this logic into an abstraction layer so that deconz-specific logic is abstracted away from the procedural code.

@benknight benknight merged commit a11b346 into benknight:master Jul 9, 2021
benknight added a commit that referenced this pull request Aug 19, 2021
Bug introduced in #57
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 this pull request may close these issues.

Combining commands with | doesn't work?
2 participants