Skip to content

[Bug]: Jinja2 template using 'user' is not working #17

Description

@Jonsonmon

Description

I try to hide the tab if user is not me. And it does'nt working

hide: "{{ user != 'John' }}"

I understand that the command {{ user }} is not working properly...

I test it by

label: "{{ user }}"

And it show me the jinja as text instead of result...

Environment

- OS: [e.g. iOS, Linux]
- Browser: [e.g. chrome, safari]
- Home Assistant Version: [e.g. 2023.9.0]        
- Tabbed Card Version: [e.g. 0.3.4]

Reproducible configuration

*

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions