How to track energy with Smart Plug as it is not showing in the list of Energy?

This is a Zigbee Smart Plug (Smartrul brand) under a Zigbee hub linked to a Mini PC.
I have tried searching and couldn’t get it working…

The energy consumption is showing in Smart Life application but not on HA.

Create a Riemann sum helper

Thank you, do you have a recommendation value setup?

This works good for me:

#--------------------------------------------------------------------------------------
# mi outlet 
#--------------------------------------------------------------------------------------
  - platform: integration
    source: sensor.mi_outlet_power
    name: mi_outlet_energy
    unit_prefix: k
    round: 2

Use the “left” option otherwise you may get very bad readings for on / off devices

1 Like

What is your time unit?

Thank you! What is your time unit?