Sensor Sum Daily usage total

Hi All

I’m new to HA having moved from multiple apps to Smartthings and now HA.

I’m running on a Pi4 b and Raspbee 2 as the setup and all devices connected and setup. The one thing I miss from smarthings is the graph from the Samsung plug that shows total consumption by a day for the last x days as a bar chart.

I have a dashboard that shows plug power and plug consumption but I need to see total consumption per calendar day.

Is this possible and if so could someone point me in the right direction?

Comsumption yaml

type: sensor
graph: line
entity: sensor.consumption_5
hours_to_show: 24

Power yaml

type: sensor
graph: line
entity: sensor.power_6
hours_to_show: 168

Thanks

Try this …

utility_meter:
  energy_usage_hour:
    source: sensor.total_daily_energy
    cycle: hourly
    tariffs:
      - std
  energy_usage_day:
    source: sensor.total_daily_energy
    cycle: daily
    tariffs:
      - std
  energy_usage_month:
    source: sensor.total_daily_energy
    cycle: monthly
    tariffs:
      - std

image

aggregate_func: max
cache: false
entities:
  - entity: sensor.energy_usage_day_std
    index: 0
font_size: 70
font_size_header: 16
group_by: date
height: 200
hours_to_show: 240
line_color: DodgerBlue
lower_bound: 0
name: Last 10 Days
point_per_hour: 0.1
show:
  graph: bar
  labels: true
type: 'custom:mini-graph-card'
upper_bound: 100

Perfect thanks.

I’ve added and will wait until tomorrow to make sure the data is populating, thanks for the help