There are a couple of issue with the current stand for inverters.
- The battery manager logic in
src/frequenz/sdk/microgrid/_power_distributing/_component_managers/_battery_manager.py will pick up any Inverter, but it should probably restrict inverters to BatteryInverter or HybridInverter when searching for predecessors.
- The
PowerWrapper in _data_pipeline.py and PVManager src/frequenz/sdk/microgrid/_power_distributing/_component_managers/_pv_inverter_manager/_pv_inverter_manager.py are using SolarInverter as type, but it should probably use SolarInverter | HybridInverter.
In general, we might be more tolerant and accept any inverter, but print a warning if the inverter is of an unexpected type (as long as we can still try to work with that type of inverter).