Non interactive CLI calls #1859
Topolino65
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
How do you get around the issue of calling the API and bypassing interactive CLI requests. I am writing some python scripts that call certain endpoints but which fail with "User Aborted" as the CLI is expecting either a username or locale to be entered. I have managed to successfully call some endpoints and bypass this but not all of them work such as HVAC and battery-status. I have also looked into reauthentication of the token so if it expires then it automatically logs you back in but it's flaky to say the least. Would love some insight into how the integration manages it This is purely to extend the functionality of an otherwise sound HA integration. Happy to share my code if required.
Beta Was this translation helpful? Give feedback.
All reactions