What's Changed
- feat(proxy): Optional companion parameters on
/control/reserveand/control/modePOST endpoints to update both reserve and mode in a singleset_operation()call - Proxy t90 - by @drdrak3 in #308/control/reservenow accepts optionalmode=$MODEparameter — callsset_operation(level, mode)instead ofset_reserve(level)/control/modenow accepts optionallevel=$RESERVEparameter — callsset_operation(level, mode)instead ofset_mode(mode)- Prevents duplicate Tesla audit-log entries caused by calling set_reserve + set_mode separately
- Invalid companion values return a 400 error without making any Powerwall call (no silent fallback)
- Full backward compatibility: omitting the companion parameter preserves original behavior
- Added unit tests for all code paths (legacy single-value, combined, and invalid companion)
- Updated proxy README with combined-request examples
New Contributors
Full Changelog: v0.15.9...v0.15.10