WTH - Why are there no Output Helpers?

Why are there no Output Helpers?

I want a Helper that can output state information from scripts / automations. These would function similarly to input helpers, with the caveat of not being editable in the dashboards. They would be used to output information only.

This is similar to how template sensors function, but with less limitations:

  1. Their states can be changed and updated with scripts and automations.

  2. Their state will be preserved (much like input helpers) during reloads (from power outage, etc).

  3. A state change will not happen when a state change is not wanted.

But would also have advantages over using input_sensors in that you can’t modify the data from the dashboard, preventing errors in scripts / automations that depend on specific data from that helper.

I don’t get your question. I use helpers in my programs and I can set them or read them from Node Red or ESPHome.

There’s already a WTH for this. Read only input helpers

All of the requirements you listed are already fulfilled by a Trigger-based Template Sensor.

  1. State value set by a service call (in an automation or script).
  2. State value survives a restart.
  3. State value is read-only in the UI.

Here’s how to do it: