Try to calculate energy from gasmeter values in kwh

Hello Community,

again. i struggel to round my formula to calculate gasmeter readings in kWh

this configuration leads into unknown or not aviable.

 - platform: template
    sensors:
      gasmeter_kwh:
        friendly_name: "Gas Leistung"
        value_template: "{{ (states('sensor.gaszahler_gas_gesamt') | float * (0.9599 * 10.354)) | round(2) }}"
        unit_of_measurement: kW   
        unique_id: "gas toatal power"
        device_class: energy   

wahat is the issue?

What does Dev.tools > Templates give when you use it there?

solved. the cofig is working. i selected the wrong sesor entity.