Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with wall switch and HA automation
#6
SW is a message auto feedback to home assistant when you pressed the key. if you want add INPUT, you should:

binary_sensor:
name: 'input-1'
unique_id: input-1
state_topic: 'server/xxxxxxxxxxxxxxxxxxxxxxxx/state'
value_template: '{{ value_json.input1.on }}'
payload_on: 1
payload_off: 0
Reply


Messages In This Thread
RE: Problem with wall switch and HA automation - by admin - 09-29-2022, 04:52 AM

Forum Jump:


Users browsing this thread: