Skip to content

7. Energy Dashboard

JensenNick edited this page Feb 25, 2024 · 1 revision

Energy Dashboard

The energy sensors included in the "Huawei Solar PEES package" are created as platform sensors and can be used directly in the Home Assistant Energy Dashboard.

❗ Note: Adding costs/rates to sensors on the energy dashboard will create sensors with very similar naming to the names used in the "Huawei Solar PEES package". Please refer to this post for additional information Discussions #21.

Energy Card Energy Sensors Cost/Rate Sensor
Electricity Grid
- Grid consumption
Energy Import
sensor.energy_import
EnergiDataService
Electricity Grid
- Return to grid
Energy Export
sensor.energy_export
EnergiDataService - Sale
Solar Panels
- Solar Production
Energy Yield #1
sensor.energy_yield_1
Energy Yield #2
sensor.energy_yield_2
-
Home Battery Storage
- Discharge
Energy Battery Discharge
sensor.energy_battery_discharge
-
Home Battery Storage
- Charge
Energy Battery Charge
sensor.energy_battery_charge
-
Gas Consumption
- Gas Consumption
Energy Battery Discharge House
sensor.energy_battery_discharge_house
EnergiDataService - Negative

Electricity Grid Solar Panels Home Battery Storage Home Battery Discharge

Track Battery Savings

If you would like to keep track of the savings you have from discharging of your battery, you can add the battery as a Gas or Water consumption. But you would need to multiply it with a negative price since it is a saving and not a cost. The best way to do this is by creating a negative price sensor. Copy the sensor below to "template: > sensor:" in your configuration.yaml file and use it for calculating the savings.

template:
  - sensor:
      - name: "Energi Data Service - Negative"
        unique_id: energi_data_service_negative
        unit_of_measurement: DKK/kWh
        state: >
          {{ states('sensor.energi_data_service') | float(0) * (-1) }}

❗ Restart Home Assistant and refresh your browser!

Clone this wiki locally