
custom:appliance-solar-house-card: an animated diagram of a photovoltaic installation: solar panels on the roof, the electrical panel / inverter in the house, a home battery, the grid (electricity poles) and, optionally, an EV charger and a water heater (solar diverter).
max_power, 6000 W by default, is full speed). Colour = source of the energy: yellow (sun), green (battery), purple (grid).
47 % and 782 W from solar for 782 W of production and 1.65 kW consumed; it only shows while the panels produce.sun.sun (or from the production): blue sky with sun, or night sky with moon and lit windows. The panels shine while producing, the battery level fills up (orange below 30 %, red below 15 %).| Option | Description |
|---|---|
entity_solar |
Solar production (W or kW) |
entity_home |
House consumption (optional: otherwise computed = production + import + discharge − export − charge − EV − water heater). A negative value (for example a current clamp that swings around 0) is shown as 0, unless show_negative: true |
entity_battery_power |
Battery power, + = charging, − = discharging (battery_invert: true if your sensor is the other way round) |
entity_battery_charge, entity_battery_discharge |
Instead of entity_battery_power: two separate sensors, charge power and discharge power (both positive, many inverters give them like this). The card uses charge − discharge. Same for each battery with entity_battery_2_charge / entity_battery_2_discharge, entity_battery_3_… |
entity_battery_soc |
Battery level (%) |
entity_grid |
Grid power, + = import, − = export (grid_invert: true to invert); or entity_grid_import + entity_grid_export (two positive sensors) |
entity_ev, entity_water_heater |
Optional: EV charger and water heater power (shown only if set) |
battery_capacity |
Optional: total capacity of the battery(ies) in kWh (e.g. 10). With it, a tile shows the time left: Empty in while discharging (down to battery_min_soc) or Full in while charging (up to 100 %), computed from the charge level, the capacity and the current battery power (3 h 20, 42 min, > 48 h) |
battery_min_soc |
Optional (default 0): the discharge floor in % that the battery should not go below; the Empty in time counts down to this level |
entity_backup |
Optional: power (W) of the backup / EPS output of a hybrid inverter (Growatt, Deye, Huawei, Sungrow…). Adds a shield pill on the house (lit from 10 W) and a Backup tile |
entity_offgrid |
Optional: off-grid status, a binary_sensor (on / true) or an inverter text state (off_grid, island, eps, backup, active). While active, the status badge shows Off-grid, the backup pill gets an orange outline and the tile says Off-grid |
entity_car_soc |
Optional: the car’s battery level (%), shown with the EV charger power in the legend (74 % · 7.4 kW) and in the EV tile; orange below 20 %, red below 10 % |
show_negative |
true shows negative values with their sign: the house consumption as it is (for example -8 W) and the grid with + import / - export (instead of the value without sign and the Import / Export label). Default false |
max_power |
Power at which the dots reach full speed (W, default 6000) |
show_tiles, show_status, animations, labels, illustration_size, transparent, language |
Usual options |
type: custom:appliance-solar-house-card
name: Solar house
entity_solar: sensor.solar_power
entity_battery_power: sensor.battery_power # + = charging
entity_battery_soc: sensor.battery_level
entity_grid: sensor.grid_power # + = import, − = export
entity_ev: sensor.wallbox_power # optional
entity_car_soc: sensor.car_battery_level # optional: car level next to the charger
entity_water_heater: sensor.water_heater_power # optional
entity_backup: sensor.inverter_eps_power # optional (backup / EPS output)
entity_offgrid: binary_sensor.inverter_off_grid # optional (off-grid status)
Add it to a dashboard: edit the dashboard → Add card → search for “Solar house” (or Appliance – Single card then pick the type), choose the entities in the visual editor. In YAML: Add card → Manual, paste the example above and replace the entity ids with yours.

Up to 3 batteries are drawn side by side:
battery_count (1 to 3): with the combined sensors of entity_battery_power / entity_battery_soc (total power, average charge), every battery shows the same level.entity_battery_2_power, entity_battery_2_soc, and entity_battery_3_power, entity_battery_3_soc. entity_battery_power and entity_battery_soc are then battery 1. Each battery shows its own charge level (and its percentage) and its own charging bolt; the legend and the flow use the sum of the powers and the average level.type: custom:appliance-solar-house-card
entity_solar: sensor.pv_power
entity_battery_power: sensor.venus_1_battery_power
entity_battery_soc: sensor.venus_1_battery_soc
entity_battery_2_power: sensor.venus_2_battery_power
entity_battery_2_soc: sensor.venus_2_battery_soc