Input_number in level sensor

Hi,
is there a chance to have a level sensor which gets its valus from input_numbers? I want a level sensor I am able to config on the fly using GUI.
Thanks for helping
With best regards
Gerhard

I think it depends on what kind of level you’re talking about. Thermostats accept templates.

  - action: climate.set_temperature
    metadata: {}
    target:
      entity_id: climate.hallway
    data:
      temperature: "{{ states('input_number.day_temperature') | float(0) }}"