Here’s the three cards that I’m using basically.
type: custom:power-flow-card-plus
entities:
battery:
state_of_charge: sensor.epcube_batterycurrentelectricity
state_of_charge_unit: kWh
show_state_of_charge: true
state_of_charge_unit_white_space: true
invert_state: true
display_state: one_way
grid:
entity: sensor.epcube_gridpower
secondary_info:
decimals: 2
unit_white_space: true
color_value: false
display_state: one_way
power_outage:
entity: sensor.epcube_status
state_alert: "0"
icon_alert: mdi:transmission-tower-off
color_circle: true
color_icon: true
solar:
entity: sensor.epcube_solarpower
display_zero_state: true
secondary_info: {}
color_value: false
color_icon: true
use_metadata: false
color:
- 243
- 183
- 18
home:
secondary_info:
entity: sensor.epcube_batterycurrentelectricity
unit_of_measurement: kWh
decimals: 1
color_value: false
override_state: false
subtract_individual: true
name: EP Cube
hide: false
icon: mdi:battery
circle_animation: false
tap_action:
action: none
color_icon: battery
fossil_fuel_percentage:
secondary_info: {}
individual:
- entity: sensor.epcube_backupflowpower
secondary_info: {}
unit_white_space: true
calculate_flow_rate: false
inverted_animation: false
show_direction: false
use_metadata: false
icon: mdi:home
name: Home
color_value: false
color_icon: true
display_zero: false
decimals: 2
color:
- 0
- 128
- 192
clickable_entities: true
display_zero_lines:
mode: show
transparency: 50
grey_color:
- 189
- 189
- 189
use_new_flow_rate_model: true
w_decimals: 0
kw_decimals: 1
min_flow_rate: 0.75
max_flow_rate: 6
max_expected_power: 7000
min_expected_power: 0.01
watt_threshold: 1000
transparency_zero_lines: 0
sort_individual_devices: false
disable_dots: false
type: custom:plotly-graph
hours_to_show: 24
refresh_interval: 60
layout:
showlegend: false
xaxis:
tickformat: "%H:%M"
showgrid: true
gridcolor: "#333"
automargin: true
tick0: 0
dtick: 10800000
minor:
showgrid: true
gridcolor: "#222"
ticklen: 4
tickcolor: "#555"
dtick: 3600000
yaxis:
showgrid: true
gridcolor: "#333"
automargin: true
fixedrange: true
range:
- -6000
- 11000
yaxis2:
overlaying: "y"
side: right
showgrid: false
fixedrange: true
range:
- 0
- 21
margin:
l: 40
r: 40
t: 30
b: 30
entities:
- entity: sensor.epcube_gridpower
mode: lines
line:
width: 2
color: "#0000FF"
connectgaps: true
- entity: sensor.epcube_solarpower
mode: lines
line:
width: 2
color: "#FFD700"
connectgaps: true
- entity: sensor.epcube_backupflowpower
mode: lines
line:
width: 2
color: "#006400"
connectgaps: true
- entity: sensor.epcube_batterycurrentelectricity
mode: lines
line:
width: 2
color: "#FF0000"
connectgaps: true
type: vertical-stack
cards:
- type: heading
icon: mdi:solar-panel
heading: EP Cube
heading_style: title
badges:
- type: entity
show_state: true
show_icon: true
entity: sensor.general_state_text
- type: entity
show_state: true
show_icon: true
entity: sensor.system_state_text
- type: entity
show_state: true
show_icon: true
entity: sensor.epcube_batterycurrentelectricity
icon: mdi:battery
- type: custom:entity-progress-card
entity: sensor.epcube_batterysoc
layout: horizontal
bar_size: small
name: Battery SOC
min_value: 0
max_value: 100
decimal: 0
hide:
- name
grid_options:
columns: 12
rows: auto