Template Helpers based on Triggers

Hi,

Can we create this from the UI please?

template:

  • trigger:
    • platform: state
      entity_id: switch.kitchen
      from: 0
      attribute: current_consumption
      sensor:
    • name: kitchen_is_on
      state: “{{ now().timestamp() }}”

Please format code correctly; and don’t forget to vote for your own feature request.

Be clear: I think you’re asking for the ability to create trigger-based template sensor helpers in general from the UI.