-
Notifications
You must be signed in to change notification settings - Fork 80
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
Powerwall - cannot retrieve the mode #131
Comments
Yes facing the same issue here, "default_real_mode" produces error. Would like advice on getting mode. |
While get_battery_data() no longer retrieves "default_real_mode" or "operation" (that always seemed to be the same as "default_real_mode"), I have found from experimenting that getting data from the endpoint To access that I added the following method to the Battery class in init.py
Powerwall mode is then given by |
Thanks for this. After some fidding around I got it to work. |
I've just upgraded to the lastest version but I am no longer able to retrieve the Powerwall mode. It looks as though the output of get_battery_data() no longer contains "default_real_mode" or "operation".
Please can you advise how I can get the mode now?
Thanks for your help.
The text was updated successfully, but these errors were encountered: