custom:appliance-solarbank-card

By default (style: photo) the card shows the cut-out photos of the Solarbank, its expansion batteries stacked below and the Power Dock, with a state-coloured halo and a floor reflection: the light bar of the Solarbank becomes the charge gauge, the six Power Dock LEDs chase while power goes to the home, and animated current lines link the solar node, the battery, the Power Dock and the output node. style: illustration keeps the drawn version below.
Drawn version: Anker Solix Solarbank 2 / 3 / 4 on its Power Dock, with up to 5 expansion batteries stacked on top: solar panels on the left, house on the right. Every module fills from the bottom up with the state of charge (green → orange → red when low), the dock LED shows the state (charging, supplying the house, solar direct, standby, fault, offline) and the flows move along the cables: yellow from the panels to the battery, blue from the dock to the house, faster as the power rises.
Made for the Anker Solix integration (all entities are optional, pick the ones your system provides):
type: custom:appliance-solarbank-card
name: Solarbank 3 Pro
entity_soc: sensor.solarbank_3_e2700_pro_state_of_charge
entity_solar: sensor.solarbank_3_e2700_pro_solar_power
entity_output: sensor.solarbank_3_e2700_pro_ac_socket_power
entity_battery_power: sensor.solarbank_3_e2700_pro_battery_power
entity_home: sensor.system_home_load
entity_third_party: sensor.system_third_party_pv_power
entity_daily_yield: sensor.system_solar_yield_today
entity_total_yield: sensor.system_solar_yield_total
entity_capacity: sensor.solarbank_3_e2700_pro_capacity
entity_expansion: sensor.solarbank_3_e2700_pro_expansion_packs
entity_mode: select.system_usage_mode
entity_error: sensor.solarbank_3_e2700_pro_error_code
entity_cloud: binary_sensor.system_cloud_status
The Power Dock takes up to 4 Solarbanks that work as one system. List them in units: each one gets its own photo (model and expansion batteries), charge gauge, solar input and animated cable to the Power Dock (blue while it supplies, green while it charges), and a row under the picture with its charge, solar and output.

The tiles show the whole system: the top-level entities (entity_soc, entity_solar, entity_output, entity_battery_power, entity_capacity…) are those of the Power Dock / system. Left empty, the card adds up the powers of the units and averages their charge, weighted by their capacity (entity_capacity / capacity_wh of each unit, otherwise by their number of modules).
type: custom:appliance-solarbank-card
name: Power Dock
entity_output: sensor.system_ac_output_power # optional: otherwise the sum of the units
units:
- name: Solarbank 4
model: solarbank4
expansion: 1
entity_soc: sensor.solarbank_4_e5000_pro_state_of_charge
entity_solar: sensor.solarbank_4_e5000_pro_solar_power
entity_output: sensor.solarbank_4_e5000_pro_ac_socket_power
- name: Solarbank 3
model: solarbank3
expansion: 1
entity_soc: sensor.solarbank_3_e2700_pro_state_of_charge
entity_solar: sensor.solarbank_3_e2700_pro_solar_power
entity_output: sensor.solarbank_3_e2700_pro_ac_socket_power
- name: Solarbank 2
model: solarbank2
expansion: 1
entity_soc: sensor.solarbank_2_e1600_pro_state_of_charge
entity_solar: sensor.solarbank_2_e1600_pro_solar_power
entity_output: sensor.solarbank_2_e1600_pro_ac_socket_power
Each unit accepts name, model, expansion / entity_expansion, entity_soc, entity_solar, entity_output, entity_battery_power (otherwise solar − output), invert_power, entity_capacity / capacity_wh. units is ignored with style: illustration.
| Option | Default | Role |
|---|---|---|
model |
solarbank3 |
Photo version: solarbank2 (Solarbank 2 Pro + BP1600), solarbank3 (Solarbank 3 Pro + BP2700) or solarbank4 (Solarbank 4 Pro + BP5000, the screen shows the live solar input, charge and output) |
units |
 | Several Solarbanks on one Power Dock (1 to 4), see below. YAML only |
show_units |
true |
One row per Solarbank under the picture (units) |
style |
photo |
photo (product photos) or illustration (drawing with panels and house) |
entity_soc |
 | Charge level (%) |
entity_solar |
 | Solar power (W) |
entity_output |
 | Power sent to the home (W) |
entity_battery_power |
 | Battery power (W), positive while charging. Without it, solar − output is used |
invert_power |
false |
Invert the sign of the battery power |
entity_home, entity_third_party |
 | Home consumption and third-party solar power |
entity_daily_yield, entity_total_yield, entity_forecast |
 | Yield today, total, solar forecast (Wh / kWh) |
entity_capacity / capacity_wh |
 | Total capacity, used for the time to full / empty |
entity_expansion / expansion |
0 |
Number of expansion batteries (0-5): draws that many extra modules |
entity_mode, entity_savings, entity_co2 |
 | Usage mode, savings, CO₂ saved |
entity_error |
 | Error code: anything other than 0 / off / ok turns the card to fault |
entity_cloud |
 | Cloud connection: offline shows a warning |
threshold |
10 |
Activity threshold (W) |
max_power |
1200 |
Power at which the flows are fastest (W) |
low_threshold |
15 |
Charge below which the fill turns orange (red below half) |
show_* |
true |
Hide a tile: show_soc, show_solar, show_output, show_battery_power, show_home, show_third_party, show_daily, show_total, show_forecast, show_capacity, show_time, show_mode, show_savings, show_co2, show_status |
compact, animations |
false, true |
Compact layout, disable the animations |
The usual options (name, labels, icons, illustration_size, extra_tiles, tile_order, tap / hold actions, language) are available too.