Skip to content

Commit 8c2d7bf

Browse files
committed
Don't fallback to CHPs
Neither the client nor the data sourcing actor support reading data from CHPs. So we can't fallback to CHPs yet. Signed-off-by: Sahas Subramanian <[email protected]>
1 parent f208b10 commit 8c2d7bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/frequenz/sdk/timeseries/formula_engine/_formula_generators/_formula_generator.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,7 @@ def _get_meter_fallback_components(self, meter: Component) -> set[Component]:
215215

216216
# All fallbacks has to be of the same type and category.
217217
if (
218-
all(graph.is_chp(c) for c in successors)
219-
or all(graph.is_pv_inverter(c) for c in successors)
218+
all(graph.is_pv_inverter(c) for c in successors)
220219
or all(graph.is_battery_inverter(c) for c in successors)
221220
or all(graph.is_ev_charger(c) for c in successors)
222221
):

0 commit comments

Comments
 (0)