Cover entity greyed out direction button

I have a Zigbee cover which reports its current position, but for some reason the “up” direction button in Lovelace is greyed out. In my case, position 0 = up, position 100 = down. In the screenshot below, you can see that position = 100, so the cover is completely down, though the only button I can press is the “down” button.

I can still manually use the position slider which works fine but I would like for the direction buttons to work.

1 Like

What worked for me was to fool the state by putting in the configuration YAML of the cover, the following:

  - platform: template
        device_class: shade
        friendly_name: "window"
        value_template: "{{ states('cover.window') }}"