Hi, I have a shelly 2.5 and it works with mqtt commands sent via HA (from the setting frontend. but from the lovelace ui or the services settings nothing works, or shows the status. i configured as described in other threads:
cover:
- platform: mqtt
name: “test-shutter”
command_topic: “shellies/shellyswitch25-123456/roller/0/command”
position_topic: “shellies/shellyswitch25-123456/roller/0/pos”
set_position_topic: “shellies/shellyswitch25-123456/roller/0/command/pos”
availability_topic: “shellies/shellyswitch25-123456/online”
payload_available: “true”
payload_not_available: “false”
qos: 0
retain: false
payload_open: “open”
payload_close: “close”
payload_stop: “stop”
position_open: 100
position_closed: 0
automation:
alias: ‘HA shelly test’
trigger:
- event: start
platform: homeassistant
condition: []
action: - data:
payload: announce
topic: shellies/command
service: mqtt.publish
thank you!