06-07-2022, 02:00 AM
- platform: mqtt
name: 'sw1'
unique_id: sw-1
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW1.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw2'
unique_id: sw-2
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW2.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw3'
unique_id: sw-3
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW3.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw4'
unique_id: sw-4
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW4.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw5'
unique_id: sw-5
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW5.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw6'
unique_id: sw-6
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW6.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw7'
unique_id: sw-7
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW7.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw8'
unique_id: sw-8
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW8.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw9'
unique_id: sw-9
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW9.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw10'
unique_id: sw-10
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW10.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw11'
unique_id: sw-11
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW11.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw12'
unique_id: sw-12
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW12.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw13'
unique_id: sw-13
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW13.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw14'
unique_id: sw-14
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW14.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw15'
unique_id: sw-15
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW15.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw16'
unique_id: sw-16
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW16.on }}'
payload_on: 1
payload_off: 0
KC868-Server-home-assistant-config-16-channel-DI-mqtt.txt (Size: 3.28 KB / Downloads: 276)
name: 'sw1'
unique_id: sw-1
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW1.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw2'
unique_id: sw-2
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW2.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw3'
unique_id: sw-3
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW3.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw4'
unique_id: sw-4
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW4.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw5'
unique_id: sw-5
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW5.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw6'
unique_id: sw-6
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW6.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw7'
unique_id: sw-7
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW7.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw8'
unique_id: sw-8
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW8.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw9'
unique_id: sw-9
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW9.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw10'
unique_id: sw-10
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW10.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw11'
unique_id: sw-11
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW11.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw12'
unique_id: sw-12
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW12.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw13'
unique_id: sw-13
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW13.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw14'
unique_id: sw-14
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW14.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw15'
unique_id: sw-15
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW15.on }}'
payload_on: 1
payload_off: 0
- platform: mqtt
name: 'sw16'
unique_id: sw-16
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
value_template: '{{ value_json.SW16.on }}'
payload_on: 1
payload_off: 0
KC868-Server-home-assistant-config-16-channel-DI-mqtt.txt (Size: 3.28 KB / Downloads: 276)