MQTT Cover progress

I am currently trying to get the progress bar to show the progress. But i am unable to get it to work. Either it does not work as i expect or something goes wrong. :grinning:

  - platform: mqtt
    name: "Greenhouse window"
    command_topic: "RS485MC/1/set/window"
    position_topic: "RS485MC/1/slave/3/sensor/2/progress"
    payload_open: "1"
    payload_close: "2"
    payload_stop: "5"
    state_open: 100
    state_closed: 0

I can control the device. Also the internal state gets updated

current_position: 100
friendly_name: Greenhouse window
supported_features: 11

image

When i set current position to 0 it will show
image

But i can’t get it to show the other 99 positions

Thanks for reading.

As written here https://github.com/home-assistant/core/issues/12094
The set_position_topic needs to be included.