mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
User in Markdown (#5393)
This commit is contained in:
parent
e54d904e4c
commit
da229d9b65
@ -119,7 +119,10 @@ export class HuiMarkdownCard extends LitElement implements LovelaceCard {
|
||||
{
|
||||
template: this._config.content,
|
||||
entity_ids: this._config.entity_id,
|
||||
variables: { config: this._config },
|
||||
variables: {
|
||||
config: this._config,
|
||||
user: this._hass.user!.name,
|
||||
},
|
||||
}
|
||||
);
|
||||
this._unsubRenderTemplate.catch(() => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user