MQTT Cover: slider not showing

I am building my own cover controller using a NodeMCU board and MQTT. I configured by cover exactly like the documentation:

# Zonnescherm
cover:
  - platform: mqtt
    name: "MQTT Cover"
    command_topic: "home-assistant/zonnescherm/set"
    position_topic: "home-assistant/zonnescherm/position"
    availability_topic: "home-assistant/zonnescherm/availability"
    set_position_topic: "home-assistant/zonnescherm/set_position"
    qos: 0
    retain: true
    payload_open: "OPEN"
    payload_close: "CLOSE"
    payload_stop: "STOP"
    position_open: 100
    position_closed: 0
    payload_available: "online"
    payload_not_available: "offline"
    optimistic: false
    value_template: '{{ value.x }}'

Now when my device connects to mqtt, it sends “online” to the availability topic and 0 to the position_topic. But when I check my control in Home Assistant, I only have the open, stop and close buttons. I would like the slider as well, to be able to set it half way.

What am I missing here?

The sliders for mqtt cover have been buggy.
Take a look at the following (start at the bottom of the thread) to see if it helps.

https://github.com/home-assistant/home-assistant/issues/12094

Thanks. I think this will work, because I accidently configured it earlier using the tilt function. I didn’t really understand what tilt meant, so when I further investigated I discovered that this could be used additionally when controlling blinds. Blinds can open/close, but also tilt in some cases. I then realised my sunscreen doesn’t tilt, it only opens or closes, so I removed the tilt configuration to keep it simple stupid.