Skip to content

Commit a3a3656

Browse files
Remove ElectricalComponentStatus enum
The `ElectricalComponentStatus` enum has been removed in favour of the `ElectricalComponentControlMode` enum. Signed-off-by: Tiyash Basu <[email protected]>
1 parent d44aa3b commit a3a3656

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Upgrading
88

9-
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
9+
- The `ElectricalComponentStatus` enum has ben removed in favour of the `ElectricalComponentControlMode` enum.
1010

1111
## New Features
1212

proto/frequenz/api/common/v1/microgrid/electrical_components/electrical_components.proto

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -103,24 +103,6 @@ message ElectricalComponentCategoryMetadataVariant {
103103
}
104104
}
105105

106-
// ElectricalComponentStatus defines the possible statuses for a component.
107-
//
108-
// !!! note
109-
// The status indicates the status set by the user via the user interface.
110-
// The status is not yet included in the Component messages and should be
111-
// added.
112-
//
113-
enum ElectricalComponentStatus {
114-
// The status is unspecified. This should not be used.
115-
ELECTRICAL_COMPONENT_STATUS_UNSPECIFIED = 0;
116-
117-
// The component is active.
118-
ELECTRICAL_COMPONENT_STATUS_ACTIVE = 1;
119-
120-
// The component is inactive.
121-
ELECTRICAL_COMPONENT_STATUS_INACTIVE = 2;
122-
}
123-
124106
// `ElectricalComponentControlMode` explicitly defines whether an electrical
125107
// component is intended to be active (enabled) or inactive (disabled). This
126108
// intentional setting directly determines component availability to downstream

0 commit comments

Comments
 (0)