Open jasonacox opened 1 year ago
The API or the way the teslapy
mapps the Tesla API response has changed. The operational mode for the Powerwall used to be visible in the get_battery_data()
which this script used but is no longer visible there. It does show up at the site configuration payload at api('SITE_CONFIG')
. I adjusted the script to use that as the source for the operational mode (see commit change).
You can pull the latest changes from set-mode.py.
Raised by user:
Confirmed that the data payload no longer contains 'operation' key.