Hi,
I love the Energy dashboard, but I mostly use my main dashboard. On my main dashboard I’d like to show a badge that indicates the total returned or consumed kWh, basically like this information:
I already tried to setup sensors to read out my other sensors:
sensor:
- platform: integration
source: sensor.power_consumed
name: energy_consumed_total
unit: kWh
round: 2
method: trapezoidal
- platform: integration
source: sensor.power_produced
name: energy_produced_total
unit: kWh
round: 2
method: trapezoidal
In configuration.yaml:
utility_meter:
energy_consumed_today:
source: sensor.energy_consumed_total
cycle: daily
energy_produced_today:
source: sensor.energy_produced_total
cycle: daily
But this keeps giving me back 0. How does the energy dashboard create the net consumed etc? What sensors are being used?
Update: I use the following entities for my Energy Electricity Grid settings:
Energy Consumed Tariff 1 (sensor.energy_consumed_tariff_1)
Energy Consumed Tariff 2 (sensor.energy_consumed_tariff_2)
Energy Produced Tariff 1 (sensor.energy_produced_tariff_1)
Energy Produced Tariff 2 (sensor.energy_produced_tariff_2)
I also have the option to use my ESPHome P1 reader:
sensor.power_produced and sensor.power_consumed.