I need help combining two things

remote_receiver:
  pin: 
    number: 15
    inverted: yes
    mode: INPUT_PULLUP
  dump: all


binary_sensor:
  - platform: remote_reciver
    name: "button B"
    samsung:
      Data: 0xE0E028D7
    filters:
      - delayed_off: 200ms

and

binary_sensor:
  - platform: remote_receiver
    name: "button A"
    samsung:
      data : 0xE0E036C9
    filters:
      - delayed_off: 200ms

need to be combined

Before we can look into it, please use the proper formatting of the code.

You can use

without that, we cannot see if something is wrong, as yaml is very particular regarding indentation :thinking:

I need help combining two things

What do you mean by “combining”? do you want the two seperate binary sensors combined in some way so that when both are received you perform some action? Or trigger another sensor? It’s not really clear what you want.

The way to ask a good question is to describe what outcome you want based on some input - without that we are really guessing what you’re trying to achieve.

There you are, combined:

remote_receiver:
  pin: 
    number: 15
    inverted: yes
    mode: INPUT_PULLUP
  dump: all

binary_sensor:
  - platform: remote_receiver
    name: "button A"
    samsung:
      data: 0xE0E036C9
    filters:
      - delayed_off: 200ms
  - platform: remote_receiver
    name: "button B"
    samsung:
      data: 0xE0E028D7
    filters:
      - delayed_off: 200ms
2 Likes

I think you nailed it…