Configure grid consumption: entity not listed: I have EFERGY and PRISM entities. How to?

Hi, I have two energy consumption meters: from EFERGY and from PRISM (Prism Cartender an Italian Wallbox producer, which works very well).

For both I have Voltage Ampere, Power.

How to make them work inside the new Energy system?

Thanks

Convert power to energy using the integration integration. Be sure to use the left method.

Hi what do you mean with left method?

The Efergy I already have this


  - platform: integration
    source: sensor.efergy_802171
    name: total_energy_spent
    unit_prefix: k
    round: 2

but the sensor is not between the one I can use

Ok now I see left method. Like this??


  #####  da potenza instantanea a energia
  - platform: integration
    source: sensor.efergy_802171
    name: total_energy_spent
    unit_prefix: k
    round: 2
    method: left

I used this method but the two entity do not appear in the dropdown menu

Ok so perhaps the platform INTEGRATION has no possibility to have a state_class=measurement ???

Ok I tried other MQTT sensor


  - platform: mqtt
    name: "Prism energia totale"
    state_topic: "prism/1/wh_total"
    unit_of_measurement: 'Wh'
    state_class: "measurement"

but also this sensor.prism_energia_totale does not appear in list dropdown

Any hint?