04-06-2024, 12:39 AM
sir good day..
i still cannot connect the binary input of my a16s board to my home assistant vis mqtt.
can you please check my code sir ? =)
binary_sensor:
- name: 'input-1'
unique_id: input-1
state_topic: KC868_A16S/E05A1B5A547C/STATE
value_template: '{{ value_json.input_1.on }}'
payload_on: 1
payload_off: 0
....
i have been trying differrent code but still no luck.
advise sir.. thank you
i still cannot connect the binary input of my a16s board to my home assistant vis mqtt.
can you please check my code sir ? =)
binary_sensor:
- name: 'input-1'
unique_id: input-1
state_topic: KC868_A16S/E05A1B5A547C/STATE
value_template: '{{ value_json.input_1.on }}'
payload_on: 1
payload_off: 0
....
i have been trying differrent code but still no luck.
advise sir.. thank you