Total power consumption for today

Hi,

I solved it this way, a sensor that totals all three lines and a utiltiy meter that resets monthly.

Incidentally, this is already explained here in the forum quite a few times, you can find wonderful via the search function :slightly_smiling_face:


      - name: "Stromverbrauch insgesamt"
        unique_id: stromverbrauch_insgesamt
        icon: mdi:transmission-tower-export
        state: >-
          {{ 
            [ states('sensor.shelly_em3_channel_a_energy'), 
              states('sensor.shelly_em3_channel_b_energy'),
              states('sensor.shelly_em3_channel_c_energy'),
            ] | map('float') | sum
          }}
        availability: >-
          {{ 
            [ states('sensor.shelly_em3_channel_a_energy'), 
              states('sensor.shelly_em3_channel_b_energy'),
              states('sensor.shelly_em3_channel_c_energy'),
            ] | map('is_number') | min
          }}
        unit_of_measurement: kWh
        device_class: energy
        state_class: total_increasing


utility_meter:
  strom_monatsverbrauch:
    unique_id: strom_monatsverbrauch
    source: sensor.stromverbrauch_insgesamt
    name: Strom Monatsverbrauch
    cycle: monthly
    delta_values: false

Here is a thread that can help you further

Greetings
Moss