diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 9f0ce577..a1e366fc 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -1,5 +1,9 @@ # Frequenz Common API Release Notes +## New Features + +- Added message linking microgrid and sensor IDs. + ## Bug Fixes - Fix a dependency issue by pinning the `grpcio` version and related libraries. diff --git a/proto/frequenz/api/common/v1/microgrid/microgrid.proto b/proto/frequenz/api/common/v1/microgrid/microgrid.proto index 698658eb..743b8a5d 100644 --- a/proto/frequenz/api/common/v1/microgrid/microgrid.proto +++ b/proto/frequenz/api/common/v1/microgrid/microgrid.proto @@ -71,3 +71,12 @@ message MicrogridComponentIDs { // List of component IDs belonging to this microgrid. repeated uint64 component_ids = 2; } + +/// A message to link sensor IDs with their respective microgrid ID. +message MicrogridSensorIDs { + // The ID of the microgrid. + uint64 microgrid_id = 1; + + // List of sensor IDs belonging to this microgrid. + repeated uint64 sensor_ids = 2; +}