Home Assistant · Basics
Home Assistant as an energy manager
Connecting inverter, battery and wallbox locally: where the values a dashboard shows come from.
Read article →Hands-on test · Home Assistant · Dashboard
An energy dashboard in Home Assistant is usually a set of numbers and flat symbols. Animara promises device icons that follow the state: the wallbox shows that it is charging, the battery its state of charge. I tried it on a simulated system with PV, battery, wallbox and heat pump. Installation takes a few minutes. Making it fit an energy system, though, takes a few steps that are not written down anywhere.
Cooperation: Animara provided the licence for this test free of charge. In return I link to animara.io. No other money changes hands, and there is no affiliate link here. What follows is what I tried myself, written down as it happened. Since 31 October 2026 Animara lists me on its page Partners and installers and thanks this test in its changelog; according to that page, Animara takes no commission from those listed.
icon: solar_panel and friends.
A real system has one problem: it delivers the states it is in right now. To see an icon switch from “charging” to “discharging” you would have to wait for the evening. So the test runs on a simulated system in a fresh Home Assistant instance. An automation sets the values from four scenarios; they are invented but consistent: grid import and feed-in follow from production, consumption, battery and wallbox.
| Scenario | PV | House | Battery | Level | Wallbox | Heat pump | Grid |
|---|---|---|---|---|---|---|---|
| Sun, surplus | 6,200 W | 800 W | charging 2,500 W | 55 % | ready, 0 W | off | feed-in 2,900 W |
| Sun and wallbox | 7,400 W | 1,100 W | charging 800 W | 78 % | charging 4,100 W | on | feed-in 1,400 W |
| Evening, battery | 0 W | 1,800 W | discharging 1,800 W | 60 % | done, 0 W | on | 0 W |
| Night, grid import | 0 W | 2,400 W | 0 W | 5 % | ready, 0 W | off | import 2,400 W |
How a real system gets into Home Assistant, with the inverter over Modbus and battery and wallbox via evcc, is covered in separate articles: Home Assistant as an energy manager, Controlling a home battery with Home Assistant, Charging the wallbox from PV surplus and Charging the wallbox by spot price with evcc. Animara does not care where a sensor comes from; it only reads its state.
Animara describes the installation at animara.io/install. In the test these were the steps:
https://animara.io/ha/animara.js as a JavaScript module. That one entry covers dashboards
and icon card together.custom:animara-card works in any other dashboard as well, without
entering the key again.No HACS, no files in /config/www, no YAML. Animara itself took me under five minutes; the time went
into building the simulation.
Update 31 October 2026: the installation page now also describes the way with files. For the
icon card, animara-card.js from the download goes into /config/www and is added as the
resource /local/animara-card.js; the same for the dashboards with
animara-dashboards.js, plus the i18n folder in /config/www/animara/i18n for
translations without internet. I have not tried this way.
What this means for privacy: the resource
https://animara.io/ha/animara.js is an internet address. The browser that opens the dashboard
fetches the script from animara.io, not from your Home Assistant; in the test instance's network log the
German translation came from there as well. If you run Home Assistant deliberately without the cloud, take
the way with files in /config/www. Even that is not necessarily free of animara.io: the icon card's
code contains a licence request to animara.io. When it kicks in, I have not checked. This page, by the way, only
shows Animara as images and video; nothing is loaded from animara.io while you read it.
The Animara Home dashboard builds itself from rooms and devices. For an energy system that is of little help: it only took what can be switched. From the simulation that was the heat pump. PV, battery, grid and wallbox were missing and could not be found via “Add” either. That was dashboards 0.36; according to Animara, the dashboards have found energy values by themselves since 0.37.3, by English and German names, and show them in an Energy section. I have not retested this. In the test the energy values went into their own dashboard with the icon card, one card per sensor:
type: custom:animara-card
entity: sensor.solar_power
icon: solar_panel
layout: tile # or: rich
These are the icons I used in the test:
| Sensor | Display name | icon: | Without choice, test 1.2.10 | Without choice, code 1.2.18 |
|---|---|---|---|---|
sensor.solar_power | PV-Leistung | solar_panel | energy monitor | solar panel |
sensor.home_battery_level | Speicher Ladestand | battery_level | battery, fits | battery |
sensor.home_battery_power | Speicherleistung | home_battery | energy monitor | home battery |
sensor.wallbox_status | Wallbox Status | ev_charger | wallbox, fits | wallbox |
sensor.wallbox_power | Wallbox Leistung | ev_charger | energy monitor | wallbox |
switch.heat_pump | Wärmepumpe | heat_pump | heat pump, fits | heat pump |
sensor.grid_import_power | Netzbezug | energy_meter | energy monitor | energy monitor |
sensor.grid_feed_in_power | Einspeisung | energy_meter | energy monitor | energy monitor |
What has changed since 1.2.15: in the code of version 1.2.18, the card first looks at entity ID
and name for a power or energy sensor. If it finds a word for a solar system, home battery, wallbox, generator
or UPS there, it takes that device; only otherwise does it stay with the energy monitor. The word list for
step 3 now also knows German words. For the simulation this would mean: without a choice, six of eight icons
fit, only grid import and feed-in stay with the energy monitor (last column of the table, derived from the
code). One catch remains: the word has to stand on its own. “Speicher Leistung” or “Speicher-Leistung”
matches, “Speicherleistung” as one word does not hit the rule \bspeicher\b. In the simulation
this did not show, because the entity ID contains home_battery.
icon: per card; scenario “sun and wallbox”, simulated
values. The feed-in meter shows the value 1400 on its display.With chosen icons the dashboard looks the way you would imagine. Battery and wallbox follow the state most clearly: the home battery is green while charging and orange while discharging, the level icon shows bars by fill level, at 5 percent just one red one. The wallbox changes from the charging symbol to a tick when it is done. The video shows the motion: 27 seconds, all four scenarios in a row.
In the test the card told charging from discharging by the sign: +800 W became “Charging”, −1,800 W “Discharging”. The simulation reports battery power as positive while charging. Some inverters and integrations count the other way round; then it is worth checking that the card shows the right thing before you get used to the picture.
This is how it was in the test of 30 October 2026. Where Animara has improved things since, the status follows.
device_class: power got the
generic energy monitor icon. The icon has to be set per card.
Fixed in 1.2.15, checked in the code of 1.2.18: with a matching name the sensor gets its device. The word
has to stand on its own, see above.wallbox,
heat pump, solar, inverter and charger in entity ID and
name. Wärmepumpe, Speicher, Wechselrichter or Ladestation did not appear in the code of version 1.2.10.
Whether a purely German ID such as switch.waermepumpe really fails I did not test in the
interface. What reliably works: English entity ID, German display name.
Fixed in 1.2.15, checked in the code of 1.2.18: Wärmepumpe (also Waermepumpe), Wechselrichter,
Photovoltaik, Speicher, Hausspeicher, Batteriespeicher, Stromspeicher, Ladestation, Ladepunkt, Geschirrspüler
and Waschmaschine are in the word list.charging, complete, ready), and that is what the card shows.
Whether the card maps German state texts in the same way was not tested.object_id. The documentation names
default_entity_id instead, with the domain, i.e. sensor.solar_power. Older guides
online still show the old form.If you want to try Animara or any other dashboard without having a system, or without tinkering with the real
one, you can take over the simulation. It creates sliders for the raw values, template sensors with English IDs
and German names, a switch for the heat pump and an automation that sets the four scenarios. The script
script.sim_zyklus cycles through them every 20 seconds; that is how the video was made. The comments
and display names are German, as in the test.
Easiest as a package:
file to config/packages/energie_sim.yaml, enable packages in configuration.yaml,
restart Home Assistant. Preferably in a test instance; in a real one the invented values would end up in
the statistics.
# Simulierte Energieanlage für Home Assistant (getestet mit 2026.10.4). Alle Werte sind simuliert.
# Ablage: als Paket, z. B. config/packages/energie_sim.yaml (packages: in configuration.yaml einschalten).
# Kennungen englisch (Animara erkannte Geräte bis zum Test mit 1.2.10 nur an englischen Wörtern,
# seit Icon-Karte 1.2.15 auch an deutschen), Anzeigenamen deutsch.
# Speicherleistung: positiv = Laden, negativ = Entladen.
input_select:
sim_szenario:
name: Simulation Szenario
options:
- sonne_ueberschuss
- sonne_wallbox
- abend_speicher
- nacht_netzbezug
initial: sonne_ueberschuss
input_number:
sim_solar_power:
name: Sim PV-Leistung
min: 0
max: 12000
step: 10
unit_of_measurement: W
sim_home_consumption:
name: Sim Hausverbrauch
min: 0
max: 12000
step: 10
unit_of_measurement: W
sim_battery_power:
name: Sim Speicherleistung
min: -6000
max: 6000
step: 10
unit_of_measurement: W
sim_battery_level:
name: Sim Speicher Ladestand
min: 0
max: 100
step: 1
unit_of_measurement: "%"
sim_wallbox_power:
name: Sim Wallbox Leistung
min: 0
max: 11000
step: 10
unit_of_measurement: W
input_boolean:
sim_heat_pump:
name: Sim Wärmepumpe
template:
- sensor:
- name: PV-Leistung
unique_id: solar_power
default_entity_id: sensor.solar_power
unit_of_measurement: W
device_class: power
state_class: measurement
state: "{{ states('input_number.sim_solar_power') | float(0) }}"
- name: Hausverbrauch
unique_id: house_consumption
default_entity_id: sensor.house_consumption
unit_of_measurement: W
device_class: power
state_class: measurement
state: "{{ states('input_number.sim_home_consumption') | float(0) }}"
- name: Netzbezug
unique_id: grid_import_power
default_entity_id: sensor.grid_import_power
unit_of_measurement: W
device_class: power
state_class: measurement
state: >
{% set g = states('input_number.sim_home_consumption') | float(0)
+ states('input_number.sim_wallbox_power') | float(0)
+ states('input_number.sim_battery_power') | float(0)
- states('input_number.sim_solar_power') | float(0) %}
{{ [g, 0] | max }}
- name: Einspeisung
unique_id: grid_feed_in_power
default_entity_id: sensor.grid_feed_in_power
unit_of_measurement: W
device_class: power
state_class: measurement
state: >
{% set g = states('input_number.sim_home_consumption') | float(0)
+ states('input_number.sim_wallbox_power') | float(0)
+ states('input_number.sim_battery_power') | float(0)
- states('input_number.sim_solar_power') | float(0) %}
{{ ([-g, 0] | max) | abs }}
- name: Eigenverbrauch
unique_id: self_consumption_power
default_entity_id: sensor.self_consumption_power
unit_of_measurement: W
device_class: power
state_class: measurement
state: >
{% set pv = states('input_number.sim_solar_power') | float(0) %}
{% set fi = states('sensor.grid_feed_in_power') | float(0) %}
{{ [pv - fi, 0] | max }}
- name: Speicherleistung
unique_id: home_battery_power
default_entity_id: sensor.home_battery_power
unit_of_measurement: W
device_class: power
state_class: measurement
state: "{{ states('input_number.sim_battery_power') | float(0) }}"
- name: Speicher Ladestand
unique_id: home_battery_level
default_entity_id: sensor.home_battery_level
unit_of_measurement: "%"
device_class: battery
state_class: measurement
state: "{{ states('input_number.sim_battery_level') | float(0) }}"
- name: Wallbox Leistung
unique_id: wallbox_power
default_entity_id: sensor.wallbox_power
unit_of_measurement: W
device_class: power
state_class: measurement
state: "{{ states('input_number.sim_wallbox_power') | float(0) }}"
- name: Wallbox Status
unique_id: wallbox_status
default_entity_id: sensor.wallbox_status
state: >
{% set w = states('input_number.sim_wallbox_power') | float(0) %}
{% set s = states('input_select.sim_szenario') %}
{% if w > 100 %}charging
{% elif s == 'abend_speicher' %}complete
{% else %}ready{% endif %}
- switch:
- name: Wärmepumpe
unique_id: heat_pump
default_entity_id: switch.heat_pump
state: "{{ is_state('input_boolean.sim_heat_pump', 'on') }}"
turn_on:
action: input_boolean.turn_on
target:
entity_id: input_boolean.sim_heat_pump
turn_off:
action: input_boolean.turn_off
target:
entity_id: input_boolean.sim_heat_pump
automation:
- alias: Simulation Szenario anwenden
id: sim_apply_scenario
triggers:
- trigger: state
entity_id: input_select.sim_szenario
- trigger: homeassistant
event: start
actions:
- choose:
- conditions: "{{ states('input_select.sim_szenario') == 'sonne_ueberschuss' }}"
sequence:
- action: input_number.set_value
target: {entity_id: input_number.sim_solar_power}
data: {value: 6200}
- action: input_number.set_value
target: {entity_id: input_number.sim_home_consumption}
data: {value: 800}
- action: input_number.set_value
target: {entity_id: input_number.sim_battery_power}
data: {value: 2500}
- action: input_number.set_value
target: {entity_id: input_number.sim_battery_level}
data: {value: 55}
- action: input_number.set_value
target: {entity_id: input_number.sim_wallbox_power}
data: {value: 0}
- action: input_boolean.turn_off
target: {entity_id: input_boolean.sim_heat_pump}
- conditions: "{{ states('input_select.sim_szenario') == 'sonne_wallbox' }}"
sequence:
- action: input_number.set_value
target: {entity_id: input_number.sim_solar_power}
data: {value: 7400}
- action: input_number.set_value
target: {entity_id: input_number.sim_home_consumption}
data: {value: 1100}
- action: input_number.set_value
target: {entity_id: input_number.sim_battery_power}
data: {value: 800}
- action: input_number.set_value
target: {entity_id: input_number.sim_battery_level}
data: {value: 78}
- action: input_number.set_value
target: {entity_id: input_number.sim_wallbox_power}
data: {value: 4100}
- action: input_boolean.turn_on
target: {entity_id: input_boolean.sim_heat_pump}
- conditions: "{{ states('input_select.sim_szenario') == 'abend_speicher' }}"
sequence:
- action: input_number.set_value
target: {entity_id: input_number.sim_solar_power}
data: {value: 0}
- action: input_number.set_value
target: {entity_id: input_number.sim_home_consumption}
data: {value: 1800}
- action: input_number.set_value
target: {entity_id: input_number.sim_battery_power}
data: {value: -1800}
- action: input_number.set_value
target: {entity_id: input_number.sim_battery_level}
data: {value: 60}
- action: input_number.set_value
target: {entity_id: input_number.sim_wallbox_power}
data: {value: 0}
- action: input_boolean.turn_on
target: {entity_id: input_boolean.sim_heat_pump}
- conditions: "{{ states('input_select.sim_szenario') == 'nacht_netzbezug' }}"
sequence:
- action: input_number.set_value
target: {entity_id: input_number.sim_solar_power}
data: {value: 0}
- action: input_number.set_value
target: {entity_id: input_number.sim_home_consumption}
data: {value: 2400}
- action: input_number.set_value
target: {entity_id: input_number.sim_battery_power}
data: {value: 0}
- action: input_number.set_value
target: {entity_id: input_number.sim_battery_level}
data: {value: 5}
- action: input_number.set_value
target: {entity_id: input_number.sim_wallbox_power}
data: {value: 0}
- action: input_boolean.turn_off
target: {entity_id: input_boolean.sim_heat_pump}
script:
sim_zyklus:
alias: Simulation durchschalten
sequence:
- repeat:
for_each:
- sonne_ueberschuss
- sonne_wallbox
- abend_speicher
- nacht_netzbezug
sequence:
- action: input_select.select_option
target: {entity_id: input_select.sim_szenario}
data: {option: "{{ repeat.item }}"}
- delay: "00:00:20"
Compared with the test setup I added one small thing: the automation now also sets the values when Home Assistant starts. Before, all sensors read zero after a restart until the scenario was changed once.
Animara turns a row of numbers into a dashboard you understand at a glance: whether the battery is charging, whether the car is done, whether power is being fed in. Installation is as simple as Animara says. For an energy system, though, the way in the test led through the icon card, with icons chosen by hand and English entity IDs. Knowing that, it takes half an hour.
Animara is a young project and changes fast: on the very day of this article it added German device names,
German status badges and better icon selection for power sensors, checked in the code, and, according to
Animara, an Energy section in the dashboards. What remains to weigh is where the script comes from: added by its
address, the browser fetches it from animara.io; if you do not want that, put the files into
/config/www. What is stated here as tested applies to 30 October 2026, the update to the code of
31 October 2026.
No. In the test, a single entry under Settings, Dashboards, Resources was enough for the dashboards and the icon card: the address https://animara.io/ha/animara.js as a JavaScript module. The licence key is then entered once when an Animara dashboard is opened for the first time. No files to copy, no YAML to write.
According to Animara, yes, since dashboards 0.37.3: Animara Home, Float and Glow show an Energy section on the home page with PV power, home battery, grid import, feed-in, house consumption and wallbox. I have not retested this. In the test of 30 October 2026 with dashboards 0.36, Animara Home only picked up the heat pump, because it is a switch. If you want precise control, keep building the energy values with the icon card custom:animara-card.
In icon card 1.2.10, which I tested on 30 October 2026, the device class decided for power sensors: every sensor with device_class power got the generic energy monitor icon, including PV power and wallbox power. Since 1.2.15 the card first looks at entity ID and name for a power sensor; a sensor with solar, PV, inverter, Wechselrichter, wallbox, Ladepunkt or Speicher in its name gets the matching device. The word has to stand on its own: Speicher Leistung matches, Speicherleistung as one word does not hit the rule in the code. To be safe, keep setting the icon, for example icon: solar_panel, home_battery, ev_charger or energy_meter.
Yes, since icon card 1.2.15. The code of version 1.2.18 contains, among others, Wärmepumpe (also Waermepumpe), Wechselrichter, Photovoltaik, Speicher, Hausspeicher, Batteriespeicher, Stromspeicher, Ladestation, Ladepunkt, Geschirrspüler and Waschmaschine. In version 1.2.10, which I tested on 30 October 2026, they were still missing. I have not retested the German words in the interface; an English entity ID with a German display name, for example switch.heat_pump named Wärmepumpe, already worked in the test.
The basis is my own test setup of 30 October 2026: Home Assistant 2026.10.4 in a Docker container with the simulation shown above, Animara Complete with icon card v1.2.10 and dashboards v0.36. All images and the video come from this instance; all power and battery level values are simulated. The update of 31 October 2026 is based on the code of icon card v1.2.18, read, not executed, and on Animara's changelog.
https://animara.io/ha/animara.js as a JavaScript module, no HACS, key on first opening; section “The manual way” with files in /config/www. Retrieved on 31 October 2026.
default_entity_id with domain, e.g. sensor.my_awesome_sensor. Retrieved on 31 October 2026.
Cooperation: Animara provided the licence free of charge; the link to animara.io is the consideration. Animara also lists me on its partner page. Beyond that there is no business relationship. This article deliberately does not state prices or licence terms; Animara publishes them.
Want an energy dashboard that shows your real system, with or without Animara? I can set it up with you – the first conversation is free.