02-01-2025, 05:10 PM
hello i try to add kc868-a32 mqqt to HA but in config file i got errors..
mqtt:
switch:
- name: 'output-1'
unique_id: output-1
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
command_topic: 'server/8ae082ec66f37db231cf2b8f/set'
payload_on: '{"relay1":{"on":1}}'
payload_off: '{"relay1":{"on":0}}'
value_template: '{{ value_json.relay1.on }}'
state_on: 1
state_off: 0
bad indentation of a sequence entry (141:8)
138 | - topic: "Esp32-rolety/connected"
139 |
140 | #Kincony hc868-a32
141 | mqtt:
--------------^
configuration.yaml.
is any example working with 14.02 HA?
It could be syntax error on yaml now, but i am weak on the yaml files.
mqtt:
switch:
- name: 'output-1'
unique_id: output-1
state_topic: 'server/8ae082ec66f37db231cf2b8f/state'
command_topic: 'server/8ae082ec66f37db231cf2b8f/set'
payload_on: '{"relay1":{"on":1}}'
payload_off: '{"relay1":{"on":0}}'
value_template: '{{ value_json.relay1.on }}'
state_on: 1
state_off: 0
bad indentation of a sequence entry (141:8)
138 | - topic: "Esp32-rolety/connected"
139 |
140 | #Kincony hc868-a32
141 | mqtt:
--------------^
configuration.yaml.
is any example working with 14.02 HA?
It could be syntax error on yaml now, but i am weak on the yaml files.