🛠 Fix button icon/name (#3026)

This commit is contained in:
Ian Richardson 2019-03-27 23:12:20 -05:00 committed by Paulus Schoutsen
parent adc63e1e5a
commit a743a2c46b

View File

@ -61,9 +61,9 @@ class HuiEntityButtonCard extends LitElement implements LovelaceCard {
this._config = {
theme: "default",
hold_action: { action: "more-info" },
...config,
show_icon: true,
show_name: true,
...config,
};
if (DOMAINS_TOGGLE.has(computeDomain(config.entity))) {