fix: update shaper command API parameters, track status, and bump to 0.3.3#571
Conversation
📝 WalkthroughWalkthroughThe package version constant in ChangesPackage Version Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~1 minute Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
PR has been updated to include the fix for OpenEVSE shaper command parameters and status tracking updates alongside the package version bump to 0.3.3. Summary of latest updates included:
|
This PR includes the latest updates for
python-openevse-http:Highlights
set_shapercommand parameters to use{"shaper": mode}instead of{"mode": mode}and process the request via RAPI parameters (rapi=data) to resolve shaper activation issues on OpenEVSE chargers.divertmodeandshaper) when issuing mode-change commands.setup.pyto0.3.3.Details
openevsehttp/commands.pyset_shaperto send a POST request with RAPI data.set_shaperandset_divert_mode.DEBUGlevel.tests/test_shaper.pyto cover non-JSON status updates.