mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
🛠 Fix button icon/name (#3026)
This commit is contained in:
parent
adc63e1e5a
commit
a743a2c46b
@ -61,9 +61,9 @@ class HuiEntityButtonCard extends LitElement implements LovelaceCard {
|
|||||||
this._config = {
|
this._config = {
|
||||||
theme: "default",
|
theme: "default",
|
||||||
hold_action: { action: "more-info" },
|
hold_action: { action: "more-info" },
|
||||||
...config,
|
|
||||||
show_icon: true,
|
show_icon: true,
|
||||||
show_name: true,
|
show_name: true,
|
||||||
|
...config,
|
||||||
};
|
};
|
||||||
|
|
||||||
if (DOMAINS_TOGGLE.has(computeDomain(config.entity))) {
|
if (DOMAINS_TOGGLE.has(computeDomain(config.entity))) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user