Utilitly sensor add Total

Hello,

i love the utility sensor toshow my kwh usage pro day, month and year and als the peak and offpeak tarrif.
but i want also show the total of peak and offpeak tarrif together, mayby there is an option to implement a total value option?

Yes there is it’s called a template sensor:

sensor:
- platform: template
  sensors:
    total_energy:
      friendly_name: 'Total Energy Today'
      entity_id:
        - sensor.peak_energy_day
        - sensor.off_peak_energy_day
      value_template: "{{ (states('sensor.peak_energy_day')|float + states('sensor.off_peak_energy_day')|float) }}"
      unit_of_measurement: "kWh"