File tree Expand file tree Collapse file tree 3 files changed +4
-2
lines changed
proto/frequenz/api/common/v1/microgrid Expand file tree Collapse file tree 3 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2828 * `ComponentState` to `ElectricalComponentStateSnapshot`
2929 * `ComponentState.sampled_at` to `ElectricalComponentStateSnapshot.origin_time`
3030 * `ComponentData` to `ElectricalComponentTelemetry` (to better specify its purpose of encapsulating general telemetry data from electrical components)
31+ * `ComponentData.states` to `ElectricalComponentTelemetry.state_snapshots`
3132 * Grid-related terms to clarify their meaning and purpose:
3233
3334 + `COMPONENT_CATEGORY_GRID` to `ELECTRICAL_COMPONENT_CATEGORY_GRID_CONNECTION_POINT`
3839 * ` SensorErrorCode ` to ` SensorDiagnosticCode `
3940 * ` SensorData ` to ` SensorTelemetry ` (to better specify its purpose of encapsulating general telemetry data from sensors)
4041 * ` SensorState ` to ` SensorStateSnapshot `
42+ * ` SensorData.states ` to ` SensorTelemetry.state_snapshots `
4143 * ` SensorState.sampled_at ` to ` SensorStateSnapshot.origin_time `
4244 * ` SensorStateCode.SENSOR_STATE_CODE_ON ` to ` SensorStateCode.SENSOR_STATE_CODE_OK ` (to better indicate that we do not control on/off state of sensors)
4345
Original file line number Diff line number Diff line change @@ -581,5 +581,5 @@ message ElectricalComponentTelemetry {
581581 repeated frequenz.api.common.v1.metrics.MetricSample metric_samples = 2 ;
582582
583583 // List of states of a specific microgrid component.
584- repeated ElectricalComponentStateSnapshot states = 3 ;
584+ repeated ElectricalComponentStateSnapshot state_snapshots = 3 ;
585585}
Original file line number Diff line number Diff line change @@ -183,6 +183,6 @@ message SensorTelemetry {
183183 repeated frequenz.api.common.v1.metrics.MetricSample metric_samples = 2 ;
184184
185185 // List of states of a specific microgrid sensor.
186- repeated SensorStateSnapshot states = 3 ;
186+ repeated SensorStateSnapshot state_snapshots = 3 ;
187187}
188188
You can’t perform that action at this time.
0 commit comments