Home-Assistant-Lovelace-HTML-Jinja2-Template-card icon indicating copy to clipboard operation
Home-Assistant-Lovelace-HTML-Jinja2-Template-card copied to clipboard

Cannot get logged in user, {{ user }} does not work

Open erbha21 opened this issue 2 years ago • 0 comments

In a Markdown card {{ user }} returns the logged in user - great. {{ user }} does not work in this card, yet everything else seems to. What can I use to get the user - {{ hass.user }} doesn't work either. Googled for hours! Everything else seems to work, i.e. states, state_attr etc. If I use {{ user }}, no content renders in the card. Thanks

erbha21 avatar Sep 24 '22 09:09 erbha21