Some details on how I have configured the Sankey Chart Card
height: 200
unit_prefix: M
round: 1
min_box_height: 3
min_box_distance: 5
show_states: true
show_units: true
sections:
- entities:
- type: entity
children:
- sensor.apf_solar2batt_energy_monthly
- sensor.apf_solar2house_energy_monthly
- sensor.apf_solar2grid_energy_monthly
entity_id: sensor.apf_generation_entity_energy_monthly
color: var(--warning-color)
name: Solar
- type: remaining_child_state
children:
- sensor.apf_grid2batt_energy_monthly
- sensor.apf_grid2house_energy_monthly
entity_id: grid
color: var(--error-color)
name: Grid
- entities:
- type: entity
children:
- battery
entity_id: sensor.apf_solar2batt_energy_monthly
color: var(--warning-color)
name: Solar2Batt
- type: entity
children:
- battery
entity_id: sensor.apf_grid2batt_energy_monthly
color: var(--error-color)
name: Grid2Batt
- type: entity
children:
- sensor.apf_grid_export_energy_monthly
entity_id: sensor.apf_solar2grid_energy_monthly
color: var(--warning-color)
name: Solar2Grid
- type: entity
children:
- sensor.apf_house_entity_energy_monthly
entity_id: sensor.apf_solar2house_energy_monthly
color: var(--warning-color)
name: Solar2House
- type: entity
children:
- sensor.apf_house_entity_energy_monthly
entity_id: sensor.apf_grid2house_energy_monthly
color: var(--error-color)
name: Grid2House
- entities:
- type: remaining_parent_state
children:
- sensor.apf_batt2house_energy_monthly
- sensor.apf_batt2grid_energy_monthly
entity_id: battery
color: var(--success-color)
name: Battery Charging
- entities:
- type: entity
children:
- sensor.apf_house_entity_energy_monthly
entity_id: sensor.apf_batt2house_energy_monthly
color: var(--success-color)
name: Batt2House
- type: entity
children:
- sensor.apf_grid_export_energy_monthly
entity_id: sensor.apf_batt2grid_energy_monthly
color: var(--success-color)
name: Batt2Grid
- entities:
- type: entity
children: []
entity_id: sensor.apf_house_entity_energy_monthly
name: House
- entity_id: sensor.apf_grid_export_energy_monthly
color: var(--error-color)
name: Grid Export
type: custom:sankey-chart
show_names: true
wide: true
min_state: 0
energy_date_selection: false
title: Energy - Monthy