Set value/state to helper entity inside Template Editor

Hey there,

since a long time I am searching for a way to set or write a new value/state to a helper entity inside the Developer Tools Template Editor.
I know how to set the value inside the dashboard cards, or inside the “States” section of the Developer Tools, or inside an Automation. But am not able to identify how to do it inside the Template Editor.

For example:

  • existing helper entity “input_number.number_helper”
  • value / state should get increased from 3 to 7, something like this
{{ states('input_number.number_helper') +4 }}

(which obviously does not work)

Any idea or hint would be very appreciated!

You can’t. You can do it from Developer Tools / Services, though.

Why are you trying to do this?

I’d like to ease the template development, without the need of switching between windows… just being lazy :wink:

1 Like