Sensor entity dynamic

I would like to be able to create a fictitious target sensor entity, and assign a real sensor entity to it via the drop-down menu.
Do you think it is possible?

You can create a template sensor:

  - sensor:
      - name: Status
        unique_id: status_202211232124
        icon: mdi:home
        state: "{{ states('input_select.your_selection') }}"

For details see here.

1 Like

Thanks so much for the help. Your solution works, but unfortunately the behavior is not what I expected. I have opened a new topic to better explain what I need. This is the link:
However, I believe that the solution explained in this is very valid and can be useful to someone …