Update battery device settings
Write one or more writable settings on the device. Sparse: send only the settings you want to change. Read-only keys (e.g. scheduler_enabled) are rejected with 422 READ_ONLY_SETTING.
Authorizations
Path Parameters
The unique identifier for the battery device.
"device_abc123"
Body
Sparse map of writable settings. At least one field is required. Each value uses the canonical { value, unit } shape; unit must match the canonical setting.
Sparse map of writable settings. At least one field is required. Unknown or read-only keys are rejected with UNSUPPORTED_SETTING.
The lowest state-of-charge the battery will ever reach, even during a power cut. (unit: percent, min: 0, max: 100)
The lowest state-of-charge the battery will reach during normal operation. (unit: percent, min: 0, max: 100)
The highest state-of-charge the battery will charge to. (unit: percent, min: 0, max: 100)
Maximum power the battery can send back to the grid. (unit: watts, min: 0)
Maximum rate the battery will charge at. (unit: amps, min: 0, max: 1000)
Maximum rate the battery will discharge at. (unit: amps, min: 0, max: 1000)
Response
Settings written. Response lists the canonical setting keys that changed.
Always true for success responses.
Acknowledgement of a settings write. updated lists the canonical setting keys that changed; OEMs that fire-and-forget will still echo the keys.
Metadata attached to every response: the request identifier, the serving environment, the build timestamp, and the server-side latency.