Energy dashboard / wizard : how to add manually

Hi everyone,

Stupid question: on a fresh instance of HA, I can see the energy dashboard and a wizard to configure it.

On my production instance, I want to add this same functionality (dashboard + wizard), but can’t see where. What am I missing?

I suppose this has something to do with my configuration.yaml:


# ===============================================
# GLOBAL CONFIG FILE
# ===============================================
homeassistant:

  # Name of the location where Home Assistant is running
  name: PvO4 (hass-86)

  # Location required to calculate the time the sun rises and sets
  latitude: 50.867461
  longitude: 4.707878

  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 28
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Brussels
  # Customization file
  customize: !include customize.yaml
  # zie https://community.home-assistant.io/t/please-help-automation-for-ikea-tradfri-remote-control-e1524-e1810/142707/2
  packages: !include_dir_named packages

# Show links to resources in log and frontend
#introduction:

# Enables the frontend
frontend:

# enables Lovelace YAML mode
# lovelace:
#   mode: yaml

# Enables custom python scripts (see https://www.home-assistant.io/integrations/python_script/)
python_script:

# Enables configuration UI
config:

http:
  # Secrets are defined in the file secrets.yaml
  # api_password: !secret http_password
  # Uncomment this if you are using SSL/TLS, running in Docker container, etc.
  # base_url: example.duckdns.org:8123
  use_x_forwarded_for: true
  trusted_proxies:
    - 127.0.0.1
    - 172.30.33.0/24 # ip adres van nginx container
    - 192.168.4.0/24 # ip adres van netwerk



# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
  # Optional, allows Home Assistant developers to focus on popular components.
  # include_used_components: true

# Discover some devices automatically
discovery:

# Allows you to issue voice commands from the frontend in enabled browsers
conversation:

# Enables support for tracking state changes over time
history:

# Tracked history is kept for 10 days
recorder:
  purge_keep_days: 10

# View all events in a logbook
logbook:

# Enables a map showing the location of tracked devices
map:

# Track the sun
sun:






# Example configuration.yaml entry
logger:
  # default: critical
  # default: warning
  default: critical
  logs:
    # log level for HA core
    homeassistant.core: critical

    # log level for MQTT integration
    homeassistant.components.mqtt: warning

    # log level for all python scripts
    homeassistant.components.python_script: warning

    # tuya integration
    tuya: warning




# ===============================================
# SENSORS
# ===============================================

sensor:
  # display the current Home Assistant versions
  - platform: version

  # Weather prediction
  # - platform: yr


# ===============================================
# Text to speech
# ===============================================

tts:
  - platform: google_translate
    service_name: google_say



# Cloud
# cloud:

# System Health
system_health:


# mobile app
mobile_app:


# ===============================================
# WEBHOOKS
# ===============================================
webhook:



# ===============================================
# INCLUDES
# ===============================================
# group: !include groups.yaml
group: !include_dir_merge_named groups
# group dir: !include_dir_merge_list groups

automation: !include automations.yaml
automation dir: !include_dir_merge_list automations

#script: !include scripts.yaml
script: !include_dir_merge_list scripts

# scene: !include scenes.yaml
scene: !include_dir_merge_list scenes

How can I add this energy dashboard?

Kind regards!
Bart

You need to add either default_config: or energy: in your configuration.yaml.

Then restart Home Assistant.

Other integrations included in default_config:

1 Like

Perfect!
I didn’t include “default_config:” because I had some troubles with the combination of “packages”.

However, found a solution at

So the order seems to be important.

Following works for me


# ===============================================
# GLOBAL CONFIG FILE
# ===============================================
homeassistant:

  # Name of the location where Home Assistant is running
  name: PvO4 (hass-86)

  # Location required to calculate the time the sun rises and sets
  latitude: 50.867461
  longitude: 4.707878

  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 28
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: Europe/Brussels
  # Customization file
  customize: !include customize.yaml
  # zie https://community.home-assistant.io/t/please-help-automation-for-ikea-tradfri-remote-control-e1524-e1810/142707/2
  packages: !include_dir_named packages


# ===============================================
# default configuration:
# ===============================================
# see https://www.home-assistant.io/integrations/default_config/
default_config:

Thanx for your help!
Grtz, B

Where can we found YAML parameter for differents energy card
Especially energy-usage-graph and energy-water-graph
Thx

1 Like

Can anyone tell me if there is a yaml file to edit the Energy dashboard please?

I want to change the names of these smart plugs to something that more logically represents the devices currently plugged into them. (Television and PC)

Thanks