WTH can't I use "user" as part of a template condition for a conditional dashboard card

Via the “condition: user” format, it’s possible to create a conditional dashboard card that only displays for certain users. But there are several situations in which it would be desirable to refer to the user in a template for a condtional card - something like
{{ is_state("device_tracker." ~ user, "home" }}
to display a card only if the device tracker with the same name as the current user is marked as “home.”

Markdown cards can render “user” appropriately, so this value is accessible in dashboards; why can’t it be accessible in conditional-card templates?

1 Like