You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now the code uses HTML parsing to handle the login and for getting the meter ID(s). Research should be done to see if this part can be replaced with just HTTP calls.
Benefits would include:
simpler code
less dependencies (Beautiful Soup, lxml)
possibility of being added to the official Home Assistant repo (they don't allow HTML scraping for authentication)
https://www.evergy.com/api/user/current
The text was updated successfully, but these errors were encountered:
I looked into this a bit and while the data can all be obtained without HTML parsing, I can't find a way to actually log in without parsing the csrf token. There appears to be an evrgaf that comes in the response headers, but it didn't seem to work for logging in.
Right now the code uses HTML parsing to handle the login and for getting the meter ID(s). Research should be done to see if this part can be replaced with just HTTP calls.
Benefits would include:
https://www.evergy.com/api/user/current
The text was updated successfully, but these errors were encountered: