feat(lattice): dispatch durable charge power intents - #4318
Open
mgazza wants to merge 2 commits into
Open
Conversation
This was referenced Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #4313 at exact commit
ea3aa1b1. This adds the first default-off BatPred Lattice write path forbattery.charge_power_limit:docVersion, node,cap_ref,gw-local)UNKNOWNviaresult/get/<command_id>without another control writeNOT_APPLIEDCurrent gateway topology fragments remain 0.2; the scalar path accepts supported 0.2/0.3 topology provenance while using the additive 0.3 control wire. The future
schedule_intentpath will require a 0.3 topology contract.Both flags default off:
lattice_control_enablelattice_charge_power_limit_enableSafety
UNKNOWN, publish failure, lost ACK, corrupt storage, and an interrupted legacy fallback cannot trigger another write.Verification
0.0.0.0:5052in the sandboxTracks Predictive-Cloud-Ltd/predbat-saas-infra#552.
Depends on Predictive-Cloud-Ltd/lattice-spec#35 and Predictive-Cloud-Ltd/predbat-gateway#228.