Home

Awesome

Energy Overview Card by @Sese-Schneider

A simple card which displays energy usage details of one or multiple entities.

hacs_badge GitHub Release GitHub Downloads

License Project Maintenance GitHub Activity

Features:

Three-phase power monitoring example:

Configuration

A graphical user interface (GUI) to configure the card is available.

After installation, simply press "Add Card", search for "Energy Overview", and add the card. Now you can start the configuration via the GUI.

Direct configuration via YAML is also available. For details see below.

Options

NameTypeRequirementDescriptionDefault
typestringRequiredcustom:energy-overview-card
entitiesArray<PowerEntity>RequiredList of power entities (see below)
animationAnimationConfigOptionalAnimation configuration (see below)
order_bystringOptionalValue name of which to sort all entities. Options are: power, voltage, current, frequency, and power_factorNo sorting
titlestringOptionalTitle of the card

PowerEntity

NameTypeRequirementDescriptionDefault
powerstate entityRequiredState entity for power
voltagestate entityOptionalState entity for voltage
currentstate entityOptionalState entity for current
frequencystate entityOptionalState entity for frequency
power_factorstate entityOptionalState entity for power_factor
namestringOptionalName label
icon_leadingstringOptionalLeading MD iconmdi:transmission-tower
icon_trailingstringOptionalTrailing MD iconmdi:home-lightning-bolt
label_leadingstringOptionalLeading label
label_trailingstringOptionalTrailing label
colorstringOptionalCSS colorvar(--energy-grid-consumption-color)
animationAnimationConfigOptionalOverwrite for the global animation

AnimationConfig

NameTypeRequirementDescriptionDefault
powernumberOptionalWattage level at which the animation runs at min_duration speed1000
min_durationnumberOptionalMinimum duration of the animation at >= power W1
max_durationnumberOptionalMaximum duration of the animation at > 0 W10
invertedbooleanOptionalInverts the animation directionfalse

Example configuration

type: custom:energy-overview-card
entities:
  - power: sensor.a_p
    current: sensor.a_c
    voltage: sensor.a_v
    power_factor: sensor.a_pf
    label_leading: "P"
    label_trailing: "L1"
    icon_leading: "mdi:transmission-tower"
    icon_trailing: "mdi:home-lightning-bolt"
    color: "#488fc2"
  - power: sensor.b_p
    current: sensor.b_c
    voltage: sensor.b_v
    power_factor: sensor.b_pf
    label_leading: "P"
    label_trailing: "L2"
    color: "#7dbff5"
    animation:
      power: 100
      min_duration: 2
      max_duration: 5
  - power: sensor.c_p
    current: sensor.c_c
    voltage: sensor.c_v
    frequency: sensor.c_fq
    power_factor: sensor.c_pf
    label_leading: "P"
    label_trailing: "L3"
    color: "#b1f2ff"
animation:
  power: 1000
  min_duration: 1
  max_duration: 10

Install

HACS

This repo is available for install through the HACS.

or

Click here:

Simple install

Troubleshooting