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

Issue escaping spaces #351

Open
AlecRust opened this issue Dec 12, 2020 · 1 comment
Open

Issue escaping spaces #351

AlecRust opened this issue Dec 12, 2020 · 1 comment

Comments

@AlecRust
Copy link

On my MacBook, if I run the following command it completes successfully:

hass-cli service call notify.alec --arguments title="My Title",message="My description."

If I SSH in to my NUC where hass-cli is also installed and run the same command it fails with:

Error: Got unexpected extra arguments (Title,message=My description.)

It seems to be an issue with escaping the spaces. This works for example:

hass-cli service call notify.alec --arguments title="My-Title",message="My-description."

Could this be an issue with hass-cli? Or the way hass-cli is set up on my NUC? I don't seem to have this problem passing strings to other CLI tools.

@kreucher
Copy link

kreucher commented Jan 3, 2023

ran into this too... seems to be a problem with hass-cli and how it uses the click python library

pull #319 may fix it by allowing yaml or json as args, but the merge seems to have been stalled

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