Skip to content

Commit f66ed39

Browse files
Rename SensorState to SensorStateSnapshot
The state message in this case is a snapshot of the sensor's composite state at a given time. The name `SensorStateSnapshot` is more descriptive and accurately reflects the purpose of the message. Signed-off-by: Tiyash Basu <[email protected]>
1 parent 9aa4690 commit f66ed39

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
- Renamed `ComponentCategoryMetadataVariant` to `ElectricalComponentCategorySpecificInfo`.
3333
- Renamed field `ElectricalComponent.category_type` to `ElectricalComponent.category_specific_info` to better reflect its purpose.
3434
- Renamed `ElectricalComponentState` to `ElectricalComponentStateSnapshot` to better reflect its purpose.
35+
- Renamed `SensorState` to `SensorStateSnapshot` to better reflect its purpose.
3536

3637
## Bug Fixes
3738

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ message SensorDiagnostic {
168168
}
169169

170170
// Representation of a sensor state and errors.
171-
message SensorState {
171+
message SensorStateSnapshot {
172172
// The time at which the state was sampled.
173173
google.protobuf.Timestamp sampled_at = 1;
174174

0 commit comments

Comments
 (0)