The union-based timeseries panels (Solar & Battery Power, Grid Exchange, Battery SoC, Cumulative Energy, Cumulative Value) named their series with set(key: "_field", ...), which Grafana's InfluxDB frontend renders as _value {_start=…} instead of the intended labels — and that also stops the byName color overrides from matching. The data is correct; only the legend text and colors were affected.
Switches all 11 series to the |> keep(columns: ["_time", "_value"]) |> rename(columns: {_value: "Name"}) pattern (the same one used in the merged heatpump-roi rebuild), which names each series cleanly and lets the color overrides apply. Verified live in Grafana Explore. No data or logic change.
Small polish follow-up to #273.
The union-based timeseries panels (Solar & Battery Power, Grid Exchange, Battery SoC, Cumulative Energy, Cumulative Value) named their series with `set(key: "_field", ...)`, which Grafana's InfluxDB frontend renders as `_value {_start=…}` instead of the intended labels — and that also stops the `byName` color overrides from matching. The **data is correct**; only the legend text and colors were affected.
Switches all 11 series to the `|> keep(columns: ["_time", "_value"]) |> rename(columns: {_value: "Name"})` pattern (the same one used in the merged `heatpump-roi` rebuild), which names each series cleanly and lets the color overrides apply. Verified live in Grafana Explore. No data or logic change.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The union-based timeseries series were named via set(_field, ...), which Grafana's InfluxDB frontend rendered as "_value {_start=...}" instead of the intended labels (and broke the byName color overrides). Data was correct; only the legend/colors were affected.
Switch to the keep(columns:[_time,_value]) |> rename(_value -> "Name") pattern (as used in heatpump-roi), which names each series cleanly. Verified in Grafana Explore. No data/logic change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QiLCinB7NLp7YdCjGYzvfh
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Small polish follow-up to #273.
The union-based timeseries panels (Solar & Battery Power, Grid Exchange, Battery SoC, Cumulative Energy, Cumulative Value) named their series with
set(key: "_field", ...), which Grafana's InfluxDB frontend renders as_value {_start=…}instead of the intended labels — and that also stops thebyNamecolor overrides from matching. The data is correct; only the legend text and colors were affected.Switches all 11 series to the
|> keep(columns: ["_time", "_value"]) |> rename(columns: {_value: "Name"})pattern (the same one used in the mergedheatpump-roirebuild), which names each series cleanly and lets the color overrides apply. Verified live in Grafana Explore. No data or logic change.🤖 Generated with Claude Code
The union-based timeseries series were named via set(_field, ...), which Grafana's InfluxDB frontend rendered as "_value {_start=...}" instead of the intended labels (and broke the byName color overrides). Data was correct; only the legend/colors were affected. Switch to the keep(columns:[_time,_value]) |> rename(_value -> "Name") pattern (as used in heatpump-roi), which names each series cleanly. Verified in Grafana Explore. No data/logic change. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QiLCinB7NLp7YdCjGYzvfh