Simple template helper

Please correct me if I am wrong, but is seems I cannot create a simple template helper via the UI.

In my sensor.yaml I can create

- platform: template
  sensors:
    octopus_current_rate:
      value_template: >
       {{(float(states('sensor.octopus_energy_electricity_xxxx_current_rate')) * 100) | round(2) }}
      unit_of_measurement: "p/kWh"

It seems I cannot do this via the UI. The ‘Helpers’ want to add all sorts of junk (like step, max, min etc).

Ok

1 Like

Which one did you select?

Template sensor.
As the title of the card says in the second image

1 Like

Ah, “Template a Sensor”. (card says “Template Sensor”)

Great, many thanks.

1 Like