Can a cover be 'partially' open?

Hi All,

Can a cover template reflect a ‘partially open’ state? (i.e. the door is not FULLY open or closed)

Apple HomeKit has a door state of ‘stopped’ which is exactly what I need, have i missed something in HA?

For reference, I have 4 binary sensors in HA:

  • Closed - Turns ‘ON’ when the door is fully closed, otherwise ‘OFF’
  • Open - Turns ‘ON’ when the door is fully open, 'otherwise ‘OFF’
  • Closing - Turns ‘ON’ when the motor is running to close the door, otherwise ‘OFF’
  • Opening - Turns ‘ON’ when the motor is running to open the door, otherwise ‘OFF’

I also have 3 controls (switches that automatically turn off after 0.5s)

  • Open
  • Stop
  • Close

Yes covers support the opening and closing states. They also support a percentage of open. Or maybe it is % closed? I can’t remember which way it is but it annoys 50% of users (who think it should be the other way).

1 Like

As far as I can tell the “state” of a cover in Home Assistant cannot be “stopped” such as seems available in your Homekit reference. Indeed it can indicate a position in percentages, but that does not affect the state.

I have successfully been able to inverse the icon color of my covers (roller blinds in my case) by using card-mod and setting different colors as follows:

    card_mod:
      style: |
        :host {
          --state-cover-open-color: ;
          --state-cover-closed-color: #926bc7;
          --state-cover-closing-color: red;
        }

However, I wish there were a “stopped” state to give anything between 1% and 99% open a different color, but alas.