Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
- A new inverter type `INVERTER_TYPE_WIND_TURBINE` has been added to the `InverterType` enum.
- Renamed `ComponentCategoryMetadataVariant` to `ElectricalComponentCategorySpecificInfo`.
- Renamed field `ElectricalComponent.category_type` to `ElectricalComponent.category_specific_info` to better reflect its purpose.
- Renamed `ElectricalComponentState` to `ElectricalComponentStateSnapshot` to better reflect its purpose.
- Renamed `SensorState` to `SensorStateSnapshot` to better reflect its purpose.

## Bug Fixes

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ message ElectricalComponentDiagnostic {
}

// Representation of a component state, warnings, and errors.
message ElectricalComponentState {
message ElectricalComponentStateSnapshot {
// The time at which the state was sampled.
google.protobuf.Timestamp sampled_at = 1;
Copy link
Contributor

@tar-viturawong-frequenz tar-viturawong-frequenz May 20, 2025

Choose a reason for hiding this comment

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

The issue conversation wants origin_time/snapshot_time here (for ElectricalComponentStateSnapshot).

Copy link
Contributor

Choose a reason for hiding this comment

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

Exactly, I just also spotted that and reopened the issue.


Expand Down Expand Up @@ -561,5 +561,5 @@ message ElectricalComponentData {
repeated frequenz.api.common.v1.metrics.MetricSample metric_samples = 2;

// List of states of a specific microgrid component.
repeated ElectricalComponentState states = 3;
repeated ElectricalComponentStateSnapshot states = 3;
}
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ message SensorDiagnostic {
}

// Representation of a sensor state and errors.
message SensorState {
message SensorStateSnapshot {
// The time at which the state was sampled.
google.protobuf.Timestamp sampled_at = 1;
Copy link
Contributor

@tar-viturawong-frequenz tar-viturawong-frequenz May 20, 2025

Choose a reason for hiding this comment

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

The issue conversation wants origin_time/snapshot_time here (for SensorStateSnapshot).


Expand Down Expand Up @@ -257,6 +257,6 @@ message SensorData {
repeated SensorMetricSample metric_samples = 2;

// List of states of a specific microgrid sensor.
repeated SensorState states = 3;
repeated SensorStateSnapshot states = 3;
}

Loading