MQTT Cover Integration without Position Data

Hey everyone, I wanted to share a workaround I found for controlling blinds using MQTT without needing position data. I was having trouble with my setup where the state wasn’t updating correctly after stopping the blinds. After some research, I discovered that setting state_stopped: stopped in the MQTT configuration helps maintain the correct state. Here’s how I set it up:

yaml
mqtt:
covers:
- name: “Blinds 8 1”
command_topic: “ifsei/8-1/set”
state_topic: “ifsei/8-1/state”
payload_open: “open”
payload_close: “close”
payload_stop: “stop”
state_stopped: “stopped”
optimistic: false
unique_id: “blinds-8-1”

This setup keeps the state accurate even when the blinds are stopped. It’s not perfect, but it works well as a temporary solution. I’d love to hear if anyone else has a better approach or additional tips!