Skip to content

Commit

Permalink
fix(cover): fix cover for unavailable/unknown cover (#440)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored May 4, 2022
1 parent e03354f commit f18dd8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cards/cover-card/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ export function getStateColor(entity: CoverEntity) {
if (state === "closed" || state === "closing") {
return "var(--rgb-state-cover-closed)";
}
return "var(--rgb-state-cover-disabled)";
return "var(--rgb-state-disabled)";
}

0 comments on commit f18dd8c

Please sign in to comment.