Shutter Icons

Hi there,

I’ve been looking around the forum and tried several things but couldn’t find a closing answer for it. I’m trying to give my shutters a different icon depending on their state.

Ofcourse the shutter has 2 states: Open/Closed.
I’ve seen people getting this done by creating a template for the shutter, but my question; is it possibile to define this in the card?.

I have a basic card like this:

type: entities
title: My Title
entities:
  - entity: cover.shelly_master_bedroom_left
    icon: mdi:window-shutter

But i would like to add the “mdi:window-shutter-open” when the shutter is ofcourse open :slight_smile:

Remove the icon from the code you pasted, and go to Configuration->Customization, and change the device_class of your cover to “shutter”.