./query_cli.py: riga 6: errore di sintassi vicino al token non atteso "newline"
Hi i am trying to integrate but it gives me this error when i run query_cli.py
./query_cli.py: riga 6: errore di sintassi vicino al token non atteso "newline" ./query_cli.py: riga 6: `'
the command I send is this
./query_cli.py --user xxxxxxxx --passwd xxxxx--app hisense-eu --config salotto.json --device salotto
That's strange, line 6 is part of the header comment.
Try to prefix your command line with python3.7.
python3.7 ./query_cli.py --user xxxx --passwd xxxx--app hisense-eu --config salotto.json --device salotto File "./query_cli.py", line 6 ^ SyntaxError: invalid syntax
my card is an AEH-W4 why can't I?
How did you download the file? If you use copy-paste, auto-styling can break the syntax. Better enter the raw view, and save the file.
Alternatively you can run:
curl -O https://raw.githubusercontent.com/deiger/AirCon/master/query_cli.py