Smart Home Automation Forum
A8S config yaml for home assistant integration by KCS mqtt - Printable Version

+- Smart Home Automation Forum (https://www.kincony.com/forum)
+-- Forum: Technical Support (https://www.kincony.com/forum/forumdisplay.php?fid=20)
+--- Forum: KC868-A8S (https://www.kincony.com/forum/forumdisplay.php?fid=24)
+--- Thread: A8S config yaml for home assistant integration by KCS mqtt (/showthread.php?tid=3274)



A8S config yaml for home assistant integration by KCS mqtt - admin - 09-19-2023

mqtt:
  switch:
  - name: 'a8s-kcs-output-1'
    unique_id: a8s-kcs-output-1
    state_topic: 'KC868_A8S/08F9E08B1F58/STATE'
    command_topic: 'KC868_A8S/08F9E08B1F58/SET'
    payload_on:  '{"output1":{"value":true}}'
    payload_off:  '{"output1":{"value":false}}'
    value_template: '{{ value_json.output1.value }}'
    state_on: true
    state_off: false


.txt   A8S_KCS_HA_mqtt.txt (Size: 3.13 KB / Downloads: 482)
just replace your own board's UID.