Sonoff POW R2 and the Energy features

I have several Sonoff POW R2 flashed with Tasmota, and I’m having an issue getting them to show in the new Energy page.

Here is the relevant areas in my configuration.yaml

utility_meter:

test_energy_powermeter4:
source: sensor.powermeter4_energy_total

sensor:

  • platform: integration
    source: sensor.powermeter4_energy_total
    name: test2 for PM4

  • platform: template
    sensors:

    test_powermeter4_cost_daily:
    friendly_name: “Test Current cost this day”
    unit_of_measurement: ‘kW’
    value_template: >-
    {{ (states(‘sensor.test_energy_powermeter4’) | float ) | round(2) }}

When I check the entities, it’s showing a bad UOM of kWhh

And when I add it to the energy page as ‘Monitor individual devices’, it doesn’t graph anything (it’s been more than 2 hours).

any thoughts?