03-10-2024, 05:25 PM
Hello!
We used your configuration lines, it's seeing the device in HA, but it cannot control it. No feedback from device.
We used this lines:
What is wrong here?
See also the screen captures.
We used your configuration lines, it's seeing the device in HA, but it cannot control it. No feedback from device.
We used this lines:
Code:
mqtt:
switch:
- name: 'bunica-01'
unique_id: bunica-01
state_topic: 'KC868_A128/D4D4DAE11FE8/state'
command_topic: 'KC868_A128/D4D4DAE11FE8/set'
payload_on: '{"output1":{"value":true}}'
payload_off: '{"output1":{"value":false}}'
value_template: '{{ value_json.output1.value }}'
state_on: true
state_off: false
What is wrong here?
See also the screen captures.