Skip to content

Revert "Add power-source selection for hybrid inverter controls"#392

Merged
tiyash-basu-frequenz merged 1 commit intofrequenz-floss:v0.x.xfrom
tiyash-basu-frequenz:revert_hybrid_controls
Apr 28, 2026
Merged

Revert "Add power-source selection for hybrid inverter controls"#392
tiyash-basu-frequenz merged 1 commit intofrequenz-floss:v0.x.xfrom
tiyash-basu-frequenz:revert_hybrid_controls

Conversation

@tiyash-basu-frequenz
Copy link
Copy Markdown
Contributor

This reverts commit 3d497c8.

We have eventually decided to not include the power-source selection for hybrid inverter controls in the API in this form, due to the complexities and potential for confusion it introduces. Instead, we will explore alternative approaches, strengthened by tests on the field, to provide users with the necessary control over power sources in a more intuitive and user-friendly manner.

Note that this change was not yet released, so this removal does not break anything for the end-users of this API.

@tiyash-basu-frequenz tiyash-basu-frequenz self-assigned this Apr 27, 2026
Copilot AI review requested due to automatic review settings April 27, 2026 15:08
@tiyash-basu-frequenz tiyash-basu-frequenz requested a review from a team as a code owner April 27, 2026 15:08
@github-actions github-actions Bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files labels Apr 27, 2026
This reverts commit 3d497c8.

We have eventually decided to not include the power-source selection for
hybrid inverter controls in the API in this form, due to the
complexities and potential for confusion it introduces. Instead, we will
explore alternative approaches, strengthened by tests on the field, to
provide users with the necessary control over power sources in a more
intuitive and user-friendly manner.

Signed-off-by: Tiyash Basu <tiyash.basu@frequenz.com>
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reverts the previously introduced “power-source selection” API surface for hybrid inverter discharge commands, removing the PowerSource enum and the power_source request field from the preview microgrid protobuf APIs, and updating release notes accordingly.

Changes:

  • Removed PowerSource enum from v1alpha18 and v1alpha19 microgrid protos.
  • Removed SetElectricalComponentPowerRequest.power_source from both preview protos (and renumbered remaining fields in v1alpha19).
  • Updated RELEASE_NOTES.md to drop the v1alpha18 additions mention and adjust v1alpha19 description text.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
proto/frequenz/api/microgrid/v1alpha19/microgrid.proto Removes PowerSource / power_source and renumbers remaining request fields.
proto/frequenz/api/microgrid/v1alpha18/microgrid.proto Removes PowerSource / power_source while keeping existing field tags for remaining fields.
RELEASE_NOTES.md Removes references to the reverted additions and updates upgrade guidance wording.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread proto/frequenz/api/microgrid/v1alpha19/microgrid.proto
Comment thread RELEASE_NOTES.md
@tiyash-basu-frequenz tiyash-basu-frequenz added this pull request to the merge queue Apr 28, 2026
Merged via the queue into frequenz-floss:v0.x.x with commit 062ea87 Apr 28, 2026
8 checks passed
@tiyash-basu-frequenz tiyash-basu-frequenz deleted the revert_hybrid_controls branch April 28, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants