@@ -17,10 +17,10 @@ import "google/protobuf/field_mask.proto";
1717import "google/protobuf/struct.proto" ;
1818import "google/protobuf/timestamp.proto" ;
1919
20- import "frequenz/api/common/v1/microgrid/components /battery.proto" ;
21- import "frequenz/api/common/v1/microgrid/components/components .proto" ;
22- import "frequenz/api/common/v1/microgrid/components /ev_charger.proto" ;
23- import "frequenz/api/common/v1/microgrid/components /inverter.proto" ;
20+ import "frequenz/api/common/v1/microgrid/electrical_components /battery.proto" ;
21+ import "frequenz/api/common/v1/microgrid/electrical_components/electrical_components .proto" ;
22+ import "frequenz/api/common/v1/microgrid/electrical_components /ev_charger.proto" ;
23+ import "frequenz/api/common/v1/microgrid/electrical_components /inverter.proto" ;
2424import "frequenz/api/common/v1/pagination/pagination_info.proto" ;
2525import "frequenz/api/common/v1/pagination/pagination_params.proto" ;
2626import "frequenz/api/common/v1/types/time_interval_filter.proto" ;
@@ -332,7 +332,7 @@ message TargetComponents {
332332 // Deprecated: Use `CategoryTypeSet` instead
333333 message CategorySet {
334334 // Set of component categories
335- repeated frequenz.api.common.v1.microgrid.components.ComponentCategory categories = 1 ;
335+ repeated frequenz.api.common.v1.microgrid.electrical_components.ElectricalComponentCategory categories = 1 ;
336336 }
337337
338338 // Wrapper for controlling dispatches with a set of component categories and optional types
@@ -347,21 +347,21 @@ message TargetComponents {
347347 // only components of that type will be targeted.
348348 message CategoryAndType {
349349 // The category of the target component (required)
350- frequenz.api.common.v1.microgrid.components.ComponentCategory category = 1 ;
350+ frequenz.api.common.v1.microgrid.electrical_components.ElectricalComponentCategory category = 1 ;
351351
352352 // The type of the target component (optional)
353353 oneof type {
354354 // The type of battery
355355 // Only applicable if the category is COMPONENT_CATEGORY_BATTERY
356- frequenz.api.common.v1.microgrid.components .BatteryType battery = 2 ;
356+ frequenz.api.common.v1.microgrid.electrical_components .BatteryType battery = 2 ;
357357
358358 // The type of solar array
359359 // Only applicable if the category is COMPONENT_CATEGORY_INVERTER
360- frequenz.api.common.v1.microgrid.components .InverterType inverter = 3 ;
360+ frequenz.api.common.v1.microgrid.electrical_components .InverterType inverter = 3 ;
361361
362362 // The type of EV charger
363363 // Only applicable if the category is COMPONENT_CATEGORY_EV_CHARGER
364- frequenz.api.common.v1.microgrid.components .EvChargerType ev_charger = 4 ;
364+ frequenz.api.common.v1.microgrid.electrical_components .EvChargerType ev_charger = 4 ;
365365 }
366366 }
367367
0 commit comments