max_charge_rate once and the charger keeps it across sessions until you change it. See Settings for how settings differ from commands.
1. Check the device supports it
settings.max_charge_rate is missing, the charger doesn’t expose a power cap in kW. Stay inside its min and max, on a multiple of step.
2. Write the setting
Send only the settings you want to change.200, not 202, and don’t create an action. A value outside the bounds or off the step grid returns 422 SETTING_OUT_OF_RANGE. max_charge_rate and max_charge_current are the same cap in two units: send one, or you get 422 UNSUPPORTED_SETTING_COMBINATION.
3. Confirm
Read the device again:settings.max_charge_rate.value shows 7.4. See Pull for how fresh a read is.
To cap a single session instead, send power or current on the charge command. See Start and stop a session.
Cap for a grid event, then restore
A grid operator may require a lower limit for a few hours, such as 4.2 kW. Amps keeps no record of the previous value, so savesettings.max_charge_rate.value before you write the cap, and write it back when the event ends.
idle for the event instead. The restore overwrites any change someone else made meanwhile: read the device first if that matters.
Next steps
Start and stop a session
Charge now, pause, or charge inside a time window.
Settings
Every setting code and how writes work.