Skip to content

Commit

Permalink
Add support for valve icon color in chips (#1329)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya committed Jan 5, 2024
1 parent a4c5d07 commit b565bb3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ha/data/entity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export function isActive(stateObj: HassEntity) {
// Custom cases
switch (domain) {
case "cover":
case "valve":
return !["closed", "closing"].includes(state);
case "device_tracker":
case "person":
Expand Down

0 comments on commit b565bb3

Please sign in to comment.