WTH entities used in templates don't show in "Linked" menu

This is annoying as when I try to find all the places some entities are used, I must go through all automations and helpers.

Some templates may use entities in an implicit way (referring whole domains, referring entities with dynamically composed entity_ids, …).
Means:

  • a list of entities may be TOO long
  • a list of entities may be dynamic and keep changing in a background while a user is staring at “Related entities” UI.

I don’t expect wildcards to show in “linked”, but I have several example of input_number or input_datetime clearly used in automation, with no link:

          - data:
              hvac_mode: heat
              temperature: "{{ states('input_number.consigne_chauffage')| float(0) }}"
            target:
              entity_id: climate.clim_rdc
            action: climate.set_temperature
              - condition: template
                value_template: >-
                  {{ (now().strftime('%Y-%m-%d') >=
                  states('input_datetime.depart_vacances')) and
                  (now().strftime('%Y-%m-%d') <
                  states('input_datetime.retour_vacances')) }}

And it’s not because they are helpers, as this one is correctly detected:

              - action: input_select.select_option
                metadata: {}
                data:
                  option: Extérieur
                target:
                  entity_id: input_select.mode_vacances

I have similar examples when a helper which is used in an automation is not listed as “relative”. Not sure then if it is a bug or by a design.
(honestly, not using this “relative” feature myself)