Skip to content

Commit

Permalink
Merge pull request #1484 from lk-dll/patch-1
Browse files Browse the repository at this point in the history
Update card_cover.yaml
  • Loading branch information
basbruss authored Jul 3, 2024
2 parents 8be933e + fb60adb commit e3ac31f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ card_cover:
return "mdi:arrow-left";
}
var device_class = entity.attributes?.device_class;
if (device_class == 'curtain' || device_class == 'gate') {
if (device_class == 'curtain' || device_class == 'gate' || device_class == 'awning') {
return "mdi:arrow-collapse-horizontal";
}
return "mdi:arrow-down";
Expand Down Expand Up @@ -516,7 +516,7 @@ card_cover:
return "mdi:arrow-right";
}
var device_class = entity.attributes?.device_class;
if (device_class == 'curtain' || device_class == 'gate') {
if (device_class == 'curtain' || device_class == 'gate' || device_class == 'awning') {
return "mdi:arrow-expand-horizontal";
}
return "mdi:arrow-up";
Expand Down

0 comments on commit e3ac31f

Please sign in to comment.