🔥 Fixes entity-button icon color (#2796)

This commit is contained in:
Timmo 2019-02-19 17:09:44 +00:00 committed by Paulus Schoutsen
parent 12064a086b
commit 5ba1cc5075

View File

@ -177,7 +177,7 @@ class HuiEntityButtonCard extends LitElement implements LovelaceCard {
if (!stateObj.attributes.hs_color) { if (!stateObj.attributes.hs_color) {
return ""; return "";
} }
const { hue, sat } = stateObj.attributes.hs_color; const [hue, sat] = stateObj.attributes.hs_color;
if (sat <= 10) { if (sat <= 10) {
return ""; return "";
} }