Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
entity doesn't work
#1
I had my KC868-A8 running under ESPHOME. With KCS firmware ESPHOME doesn't work...
I configure my MQTT server and it is connected with KCS to home assistant.
Now I tried to use the Output-1 switch. I edit my configuration.yaml and write:

mqtt:

  switch:

  - name: 'output-1'
    unique_id: output-1
    state_topic: 'KC868_A8/4091519110F8/state'
    command_topic: 'KC868_A8/4091519110F8/set'
    payload_on:  '{"relay1":{"on":1}}'
    payload_off:  '{"relay1":{"on":0}}'
    value_template: '{{ value_json.relay1.on }}'
    state_on: 1
    state_off: 0

I can see the entity but it doesn't work. 
I'm beginer. Can you help me?
Reply


Messages In This Thread
entity doesn't work - by fabuena - 02-05-2023, 10:10 PM
RE: entity doesn't work - by admin - 02-06-2023, 02:22 PM
RE: entity doesn't work - by fabuena - 02-06-2023, 10:20 PM
RE: entity doesn't work - by admin - 02-06-2023, 11:03 PM
RE: entity doesn't work - by fabuena - 02-07-2023, 07:31 PM
RE: entity doesn't work - by admin - 02-07-2023, 10:43 PM

Forum Jump:


Users browsing this thread: