Configurei por mqtt um shelly 2.5 mas o HA cada vez que é reiniciado deixa de o ver e tenho que ir por web ao shelly e salvar as configurações (sem alterar nada). Nos log’s tenho com frequencia o erro "
Payload is not integer within range: -1
11:33 components/mqtt/cover.py (WARNING) - message first occured at 3 de outubro de 2019 20:44 and shows up 1777 times
o codigo que tenho:
cover:
- platform: mqtt
name: "Estore A"
command_topic: "shellies/shellyswitch25-xxxxx/roller/0/command"
position_topic: "shellies/shellyswitch25-xxxxx/roller/0/pos"
set_position_topic: "shellies/shellyswitch25-xxxxx/roller/0/command/pos"
availability_topic: "shellies/shellyswitch25-xxxxx/online"
payload_available: "true"
payload_not_available: "false"
qos: 0
retain: true
payload_open: "open"
payload_close: "close"
payload_stop: "stop"
position_open: 100
position_closed: 0
optimistic: true