Open AlecRust opened 3 years ago
ran into this too... seems to be a problem with hass-cli and how it uses the click python library
pull https://github.com/home-assistant-ecosystem/home-assistant-cli/pull/319 may fix it by allowing yaml or json as args, but the merge seems to have been stalled
On my MacBook, if I run the following command it completes successfully:
If I SSH in to my NUC where
hass-cli
is also installed and run the same command it fails with:It seems to be an issue with escaping the spaces. This works for example:
Could this be an issue with
hass-cli
? Or the wayhass-cli
is set up on my NUC? I don't seem to have this problem passing strings to other CLI tools.