alandtse / alandtse/tesla

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

Aperta
#1,162 3 commenti 1 reazione 0 assegnatari Vedi su GitHub
powerwall stale triage
Lingua principale
Python
Stelle
780
Fork
127
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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_

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.