Skip to content

Commit

Permalink
web/heating: Allow selecting battery and PV meters
Browse files Browse the repository at this point in the history
  • Loading branch information
photron committed Feb 17, 2025
1 parent 5b13e4f commit fa92fef
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion software/web/src/modules/heating/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,14 @@ export class Heating extends ConfigComponent<'heating/config', {status_ref?: Ref
if (!util.render_allowed())
return <SubPage name="heating" />;

const meter_slots = get_noninternal_meter_slots([MeterValueID.PowerActiveLSumImExDiff], NoninternalMeterSelector.AllValues, __("power_manager.content.meter_slot_grid_power_missing_value"));
const meter_slots = get_noninternal_meter_slots([
MeterValueID.PowerActiveLSumImExDiff,
MeterValueID.PowerDCImExDiff,
MeterValueID.PowerDCChaDisDiff,
MeterValueID.PowerPVSumImExDiff,
],
NoninternalMeterSelector.AnyValue,
__("power_manager.content.meter_slot_grid_power_missing_value"));

const solar_forecast_enabled = is_solar_forecast_enabled();
const day_ahead_prices_enabled = is_day_ahead_prices_enabled();
Expand Down

0 comments on commit fa92fef

Please sign in to comment.