Efergy Power Usage - Energy Grid Consumption Template Sensor

I recently purchased an Efergy Home monitor kit which is working smoothly so far :slight_smile:

I’m starting to implement the Energy/Power useage and was hoping to use this for the Grid consumption but similar to this thread - I can’t use a sensor straight away

Below are out of the box…

The power usage is in W so doesn’t work
image

I’m struggling to put together a simple a simple template sensor that can be used to track the consumed energy!
Can anyone help?

Can anybody shed some light on what is needed for the template sensor?

Below is what I have so far…

    ## Efergy Energy Sensors ##      

- platform: template
  sensors:
    efergy_usage:
       friendly_name: "EfergyUsage"
       device_class: energy
       unit_of_measurement: 'kWh'
       value_template: >-
                {{ states("sensor.power_usage") | int / 1000 | round(1) }}