Component that just holds data

Hi,

I’m not sure if I missed something, but there are currently no components that ‘just hold data’, right? I’ll illustrate what I mean:

Say I want to tell home assistant to heat my flat to 21°C - but I want to provide the logic which heater to turn on when etc. via some script. Now I need some component where I can set that 21°C in the frontend, and that component must then be query-able from scripts (or templates). This ‘data holder’ component would have nothing ‘connected’ to it; if I change the value, the only thing that happens is that automations and templates are triggered.

I think it would be useful to have such components for arbitrary values, not just temperature.

Am I missing some component that provides this functionality? If not: would that be a welcome Pull Request?

Regards,

Lukas

Input select is what you looking for.

or input slider :smiley:

Or something like this.

Thanks, the variable component looks pretty much like what I want. :slight_smile: Let’s see if it makes it into home assistant one day!