Cover does not show the position slider within UI

Hi,

i configured a test entity with mqtt cover, like it is done in the documentation, with the following config:

mqtt:
  cover:
    - name: "Test Rollo"
      device_class: shutter
      state_topic: "shutter/testtuer/state"
      position_topic: "shutter/testtuer/pos"
      command_topic: "mqttGenericBridge/set/testtuer"
      set_position_topic: "mqttGenericBridge/set/testtuer"
      qos: 0
      retain: true
      payload_open: "off"
      payload_close: "on"
      payload_stop: "stop"
      state_open: "open"
      state_opening: "opening"
      state_closed: "closed"
      state_closing: "closing"
      position_open: 0
      position_closed: 100
      payload_available: "online"
      payload_not_available: "offline"
      optimistic: false

When I try to add a card to the frontend, the slider is visible during the configuration:

But after finishing it, the slider is not visible anymore:
2

What am I doing wrong?

Thank you in advance!

I had this problem a few years ago, but I haven’t come across it lately… but it use to be the slider did not show up until HA received an MQTT message with the slider position value.

I had two different issues:

  • the position topic worked not as expected
  • The slider is not visible in the dashboard overview. It will be displayed only, when I click on the cover