Predbat Table Card is a custom Home Assistant card that displays your Predbat energy management plan in a clean, compact table format. It provides an overview of your solar, battery, and grid interactions across 30-minute intervals, including import/export rates, PV forecasts, load consumption, battery state of charge, and cost tracking. The card supports dynamic column visibility, responsive layouts for mobile, tablets and desktop, and override controls for manual demand/charge/export management. It provides an intuitive way to monitor and control your Predbat energy system directly from your dashboard.
My system doesn't have all the features Predbat supports, which means I can't test it 100%, so feel free to feed back any problems you find. Thanks.
Inpired by the original, but now abandoned, predbat-table-card.
- Open HACS
- Add
https://https://github.com/llbbdd/Predbat-Table-Card-Nextas a custom repository, using theDashboardcategory - Search for
Predbat Table Card Nextin the HACS store - Download and refresh
- Go to your chosen dashboard and select
edit - Select
add cardbutton - Add the
Predbat Table Card Nextcard
These config items can either be set in the YAML or the Home Assistant UI config editor:
| Configuration Item | Required | Value |
|---|---|---|
type |
YES | predbat-card-next |
day_limit |
YES | See Day Limit |
columns |
YES | See Column Options |
battery_lower_limit |
NO | See Battery Lower Limit |
weather_entity |
NO | See Weather Forecast |
type: custom:predbat-card-next
day_limit: 2
entity: predbat.plan_html
columns:
- import-column
- export-column
- state-column
- limit-column
- pv-column
- load-column
- soc-column
- cost-column
- overrides-column
- car-column
- clip-column
- co2kg-column
- iboost-column
- net-energy-column
- xload-column
weather_entity: weather.forecast_home_2Limits the number of days the plan returns. The plan will always show full days, so that daily totals are correct, but will only show a day if Predbat has import/export price data.
| Column Name | Column YAML | Description |
|---|---|---|
| Import | import-column |
Import unit price |
| Export | export-column |
Export unit price |
| State | state-column |
Operation status of the system - Discharging (demand), charging, etc |
| Limit | limit-column |
Target battery SoC that Predbat uses while charging or discharging |
| PV | pv-column |
Predicted PV generation |
| Load | load-column |
Predicted home load |
| SoC | soc-column |
Predicted battery SoC percentage |
| Cost | cost-column |
Predicted cost or gain |
| Car | car-column |
Predicted car charging (only shows when enabled in Predbat) |
| iBoost | iboost-column |
Predicted iBoost usage (only shows when enabled in Predbat) |
| CO2 kg | co2kg-column |
Predicted carbon intensity in kg (only shows when enabled in Predbat) |
| XLoad | xload-column |
Predicted load if also using Predheat (only shows when enabled in Predbat) |
| Clipping | clip-column |
Predicted PV clipping (only shows when enabled in Predbat) |
| Surplus | net-energy-column |
Predicted net energy (excess PV after home, car and iBoost loads are subtracted) |
| Weather | weather-column |
Predicted weather condition |
| Temperature | temp-column |
Predicted temperature |
| Chance Of Rain | rain-column |
Predicted chance of rain |
| Overrides | overrides-column |
Show icons to manage manual state overrides - See Overides |
Column order can be changed by re-ordering the YAML.
Add a valid weather forecast entity using weather_entity, and add any combination of weather-column, temp-column or rain-column to the columns array. The column will be hidden until forecast data is received. For valid weather forecast entities see Home Assistant docs.
By default, SoC bar colours are scaled from red (0%) to green (100%). Since the battery will shut off at a level set in the inverter/battery, we can narrow the scale to work within that range to increase the definition between battery levels. For example, if the battery lower limit is 20%, the colour scale will be red (20%) to green (100%), giving a larger visual difference between any two percentages.
Overrides allow Predbat to be forced into a user-defined state, regardless of the plan, in any half hour slot. For example, a slot intended for charging can be forced to export instead.
The following Predbat overrides are supported:
- Force Demand
- Force/Prevent Charge
- Force/Prevent Export
- Force SoC Target
- Sometimes the half-hour just passed disappears, and I've no idea why. If you check the Predbat web plan, and click between Plan and History, you'll see it's missing there too.
- Weather forecast data is only supplied for the future, so information disappears as the day passes.
Needs Predbat version > 8.29.7
