Static number to kwh total_increasing

Hi all,

Ive setup my home assistant energy dashboard and everything is working as expected. Ive found some devices in my home that draw the same amount of power every hour totaling about 24watt.

Is there a way to change this static 24 wattage number to kwh with total_increating so I can add “Idle power” to my " Monitor individual devices"

Searched and found the statistics sensor but dont know if that is the thing im looking for.

Kind regards

Rogier

Power Calc will do the power monitoring:

Then send these power sensors to Riemann Sum sensors to keep track of energy use:

Ive tried that but the sensor gives unknown. Here is the sensor i have created

      - name: "Other Devices"
        unit_of_measurement: W
        state: >
          {% set hub_tado = 3.3 %}
          {% set garage_door = 6 %}
          {% set bed = 5.3 %}
          {% set cv = 2 %}

          {{ (hub_tado + garage_door + bed + cv) | float }}
        device_class: power
        state_class: measurement

When I use this for riemann sum integral it just shows state: unknown