mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 11:46:42 +00:00
🔥 Fixes entity-button icon color (#2796)
This commit is contained in:
parent
12064a086b
commit
5ba1cc5075
@ -177,7 +177,7 @@ class HuiEntityButtonCard extends LitElement implements LovelaceCard {
|
||||
if (!stateObj.attributes.hs_color) {
|
||||
return "";
|
||||
}
|
||||
const { hue, sat } = stateObj.attributes.hs_color;
|
||||
const [hue, sat] = stateObj.attributes.hs_color;
|
||||
if (sat <= 10) {
|
||||
return "";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user