mqtt: switch: - name: 'a16-kcs-output-1' unique_id: a16-kcs-output-1 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output1":{"value":true}}' payload_off: '{"output1":{"value":false}}' value_template: '{{ value_json.output1.value }}' state_on: true state_off: false - name: 'a16-kcs-output-2' unique_id: a16-kcs-output-2 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output2":{"value":true}}' payload_off: '{"output2":{"value":false}}' value_template: '{{ value_json.output2.value }}' state_on: true state_off: false - name: 'a16-kcs-output-3' unique_id: a16-kcs-output-3 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output3":{"value":true}}' payload_off: '{"output3":{"value":false}}' value_template: '{{ value_json.output3.value }}' state_on: true state_off: false - name: 'a16-kcs-output-4' unique_id: a16-kcs-output-4 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output4":{"value":true}}' payload_off: '{"output4":{"value":false}}' value_template: '{{ value_json.output4.value }}' state_on: true state_off: false - name: 'a16-kcs-output-5' unique_id: a16-kcs-output-5 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output5":{"value":true}}' payload_off: '{"output5":{"value":false}}' value_template: '{{ value_json.output5.value }}' state_on: true state_off: false - name: 'a16-kcs-output-6' unique_id: a16-kcs-output-6 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output6":{"value":true}}' payload_off: '{"output6":{"value":false}}' value_template: '{{ value_json.output6.value }}' state_on: true state_off: false - name: 'a16-kcs-output-7' unique_id: a16-kcs-output-7 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output7":{"value":true}}' payload_off: '{"output7":{"value":false}}' value_template: '{{ value_json.output7.value }}' state_on: true state_off: false - name: 'a16-kcs-output-8' unique_id: a16-kcs-output-8 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output8":{"value":true}}' payload_off: '{"output8":{"value":false}}' value_template: '{{ value_json.output8.value }}' state_on: true state_off: false - name: 'a16-kcs-output-9' unique_id: a16-kcs-output-9 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output9":{"value":true}}' payload_off: '{"output9":{"value":false}}' value_template: '{{ value_json.output9.value }}' state_on: true state_off: false - name: 'a16-kcs-output-10' unique_id: a16-kcs-output-10 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output10":{"value":true}}' payload_off: '{"output10":{"value":false}}' value_template: '{{ value_json.output10.value }}' state_on: true state_off: false - name: 'a16-kcs-output-11' unique_id: a16-kcs-output-11 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output11":{"value":true}}' payload_off: '{"output11":{"value":false}}' value_template: '{{ value_json.output11.value }}' state_on: true state_off: false - name: 'a16-kcs-output-12' unique_id: a16-kcs-output-12 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output12":{"value":true}}' payload_off: '{"output12":{"value":false}}' value_template: '{{ value_json.output12.value }}' state_on: true state_off: false - name: 'a16-kcs-output-13' unique_id: a16-kcs-output-13 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output13":{"value":true}}' payload_off: '{"output13":{"value":false}}' value_template: '{{ value_json.output13.value }}' state_on: true state_off: false - name: 'a16-kcs-output-14' unique_id: a16-kcs-output-14 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output14":{"value":true}}' payload_off: '{"output14":{"value":false}}' value_template: '{{ value_json.output14.value }}' state_on: true state_off: false - name: 'a16-kcs-output-15' unique_id: a16-kcs-output-15 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output15":{"value":true}}' payload_off: '{"output15":{"value":false}}' value_template: '{{ value_json.output15.value }}' state_on: true state_off: false - name: 'a16-kcs-output-16' unique_id: a16-kcs-output-16 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' command_topic: 'KC868_a16/KC868_A16/90380CA4382C/SET' payload_on: '{"output16":{"value":true}}' payload_off: '{"output16":{"value":false}}' value_template: '{{ value_json.output16.value }}' state_on: true state_off: false - name: 'a16-kcs-input-1' unique_id: a16-kcs-input-1 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input1.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-2' unique_id: a16-kcs-input-2 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input2.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-3' unique_id: a16-kcs-input-3 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input3.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-4' unique_id: a16-kcs-input-4 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input4.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-5' unique_id: a16-kcs-input-5 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input5.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-6' unique_id: a16-kcs-input-6 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input6.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-7' unique_id: a16-kcs-input-7 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input7.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-8' unique_id: a16-kcs-input-8 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input8.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-9' unique_id: a16-kcs-input-9 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input9.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-10' unique_id: a16-kcs-input-10 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input10.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-11' unique_id: a16-kcs-input-11 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input11.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-12' unique_id: a16-kcs-input-12 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input12.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-13' unique_id: a16-kcs-input-13 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input13.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-14' unique_id: a16-kcs-input-14 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input14.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-15' unique_id: a16-kcs-input-15 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input15.value }}' payload_on: true payload_off: false - name: 'a16-kcs-input-16' unique_id: a16-kcs-input-16 state_topic: 'KC868_a16/KC868_A16/90380CA4382C/STATE' value_template: '{{ value_json.input16.value }}' payload_on: true payload_off: false