A custom Lovelace card for Home Assistant to display solar entities: PV power, string powers, battery storage and house consumption.
The card displays:
- PV Power with a vertical fill bar and large number display
- S1 & S2 as clickable values below the PV display
- House Consumption with a vertical fill bar and large number display
- Battery as a battery graphic with SOC (%), current power (W) and estimated remaining time until full/empty
- PV Daily Yield in the header (clickable)
All elements are clickable and open the native Home Assistant detail view. Supports Light Mode and Dark Mode.
- Open HACS → Frontend → + Explore & Download Repositories
- Search for „Solar Entities Card"
- Install and reload HA
- Open HACS → Frontend → three-dot menu → Custom Repositories
- Enter URL:
https://github.com/BTNBx/Home-Assistant-Solar-Card - Category: Lovelace
- Add and install
type: custom:solar-entities-card
title: Home
entity_pv: sensor.pv_power
entity_string1: sensor.string1_power
entity_string2: sensor.string2_power
entity_battery_soc: sensor.battery_soc
entity_battery_power: sensor.battery_power
entity_house: sensor.house_consumption
entity_daily_yield: sensor.pv_daily_yield
battery_capacity_kwh: 10
battery_min_soc: 5
battery_max_soc: 100
max_pv: 6000
max_string: 4000
max_house: 3000
max_battery: 5000| Option | Description | Default |
|---|---|---|
title |
Card title | Home |
entity_pv |
PV total power (W) | – |
entity_string1 |
String 1 power (W) | – |
entity_string2 |
String 2 power (W) | – |
entity_battery_soc |
Battery state of charge (%) | – |
entity_battery_power |
Battery power +/− (W) | – |
entity_house |
House consumption (W) | – |
entity_daily_yield |
PV daily yield (kWh) | – |
battery_capacity_kwh |
Battery capacity (kWh) – used for remaining time calculation | – |
battery_min_soc |
Discharge limit (%) | 5 |
battery_max_soc |
Charge limit (%) | 100 |
max_pv |
Max PV power for bar scale (W) | 6000 |
max_string |
Max string power (W) | 4000 |
max_house |
Max house consumption (W) | 3000 |
max_battery |
Max battery power (W) | 5000 |
The card supports the visual editor in Home Assistant. All entities and values can be configured directly without YAML.
