Aktualnie w cover.yaml mam takie coś i w sumie działa tylko ten brak sterowania pozycją:
Code: Select all
- platform: mqtt
name: "Salon"
state_topic: "supla/channels/status/rollershutter/3646"
command_topic: "supla/channels/command/rollershutter/3646"
position_topic: "supla/channels/status/rollershutter/3646"
set_position_topic: "supla/channels/command/rollershutter/3646"
set_position_template: "??????????"
retain: true
position_open: 0
position_closed: 100
payload_open: '{ "id": 3646, "shut": 0 }'
payload_close: '{ "id": 3646, "shut": 100 }'
state_open: '{"id": 3646, "shut": 0, "sensor_1": 0, "online": 1}'
state_closed: '{"id": 3646, "shut": 100, "sensor_1": 0, "online": 1}'
value_template: "{{ value_json.shut }}"
device_class: shutterCode: Select all
{"id": 3646, "shut": 0, "sensor_1": 0, "online": 1}