diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index aa5d00df..56ab6759 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -10,7 +10,7 @@ ## New Features - +- Added message linking microgrid and sensor IDs. ## Bug Fixes diff --git a/proto/frequenz/api/common/v1/microgrid/microgrid.proto b/proto/frequenz/api/common/v1/microgrid/microgrid.proto index 4729188c..419a1f02 100644 --- a/proto/frequenz/api/common/v1/microgrid/microgrid.proto +++ b/proto/frequenz/api/common/v1/microgrid/microgrid.proto @@ -77,3 +77,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; +}