naftiko: 1.0.0-alpha2 info: label: Tesla Fleet Energy API — Storm Mode description: Enable or disable Storm Mode. When enabled, Powerwall automatically pre-charges to 100% ahead of severe weather alerts. Requires the energy_cmds scope. tags: - Tesla - Energy - Powerwall - Storm Mode created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: TESLA_FLEET_TOKEN: TESLA_FLEET_TOKEN capability: consumes: - type: http namespace: fleet-energy-storm-mode baseUri: https://fleet-api.prd.na.vn.cloud.tesla.com/api/1 description: Tesla Fleet Energy API — storm mode write capability. headers: Authorization: Bearer ${env.TESLA_FLEET_TOKEN} Content-Type: application/json resources: - name: energy-sites-storm-mode path: /energy_sites/{site_id}/storm_mode operations: - name: setstormmode method: POST description: Tesla Set Storm Mode — toggle storm-mode pre-charging outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: site_id in: path type: string required: true - name: body in: body type: object description: '{ "enabled": true|false }' required: true