alandtse / alandtse/tesla

Are we supposed to be able to set the Controls (Energy export, Operation mode, Grid charging, Backup reserve)?

Ouverte
#1,162 3 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
powerwall stale triage
Langage dominant
Python
Étoiles
780
Forks
127
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

### Is there an existing issue for this?

- [x] I have searched both the existing open issues & recently closed issues and did not find a duplicate of this issue.

### Version of the Tesla component

25.42.1

### Version of the Powerwall Gateway software

25.42.1 1d1ff4c6

### Model

2

### Current Behavior

The documentation seems to indicate that we can set these controls but so far I've only been able to change "Backup reserve" and "Operation mode" on the Tesla app and see the values reflected on these two controls but not the other way around.
I'm basically interested in finding out if changing "Energy export" to "Everything" means the Tesla battery starts exporting energy to the grid? That's the feature I am looking for most and just want to confirm I'm trying to use it the correct way.

### Expected Behavior

My understanding is I can change these settings without doing it on the Tesla app.
I'm basically interested in finding out if changing "Energy export" to "Everything" means the Tesla battery starts exporting energy to the grid? That's the feature I am looking for most and just want to confirm I'm trying to use it the correct way.

### Debug logs

```true
2026-01-04 18:57:30.416 DEBUG (MainThread) [teslajsonpy.connection] get: https://owner-api.teslamotors.com/api/1/energy_sites/xxxxxxxxxxxxxxxxx/site_info {}
2026-01-04 18:57:31.147 DEBUG (MainThread) [teslajsonpy.energy] Response from command BATTERY_OPERATION_MODE: {'response': {'Message': 'Operation mode updated', 'Code': 200}}
2026-01-04 18:57:31.317 DEBUG (MainThread) [teslajsonpy.connection] 200: {"response":{"resource_type":"battery","site_name":"xxxxxxxxxxxxxxxxx","gateway_id":"xxxxxxxxxxxxxxxxx","percentage_charged":72.13357583484895,"battery_type":"ac_powerwall","battery_power":3150,"go_off_grid_test_banner_enabled":null,"storm_mode_enabled":true,"powerwall_onboarding_settings_set":true,"powerwall_tesla_electric_interested_in":null,"vpp_tour_enabled":null}}
2026-01-04 18:57:31.317 DEBUG (MainThread) [custom_components.tesla_custom] Finished fetching tesla_custom data in 1.756 seconds (success: True)
```

### Anything else?

_No response_

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.