Do we have a "sensor.whoami" to determine the current front end user's person or user_id?

Looking for something like the custom lovelace picture element ‘Username Element’ but for other cards and conditionals in automation, etc. Is there such available?

In the alternative, how can we expose hass.user to the front-end?

I only know the useful-markdown-card.

            card:
              type: custom:useful-markdown-card
              content: >
                Username: [[ {user} ]]

and the state-switch.

Thanks state-switch works great for my purpose.

[[ {user} ]] isnt working anymore. Any ideas?