mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 04:06:35 +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,
|
template: this._config.content,
|
||||||
entity_ids: this._config.entity_id,
|
entity_ids: this._config.entity_id,
|
||||||
variables: { config: this._config },
|
variables: {
|
||||||
|
config: this._config,
|
||||||
|
user: this._hass.user!.name,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
this._unsubRenderTemplate.catch(() => {
|
this._unsubRenderTemplate.catch(() => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user