443 mhz receiver - how do you pick which RCSwitch data code to use?

Below is the log of what my debug looks like when I activate one water detection sensor. How do I pick the correct one to use in a binary_sensor?

[02:30:23][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='1010101000010111'
[02:30:23][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='10101010000101110010111'
[02:30:23][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='10101010'
[02:30:23][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='101010100'
[02:30:23][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='101010100001'
[02:30:23][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='1010101000'
[02:30:24][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='10101010000101110'
[02:30:24][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=6 data='101010100001010100100110'
[02:30:24][D][remote.rc_switch:256]: Received RCSwitch Raw: protocol=8 data='111111111111111111111111111'

I have the receiver configured with:

remote_receiver:
  pin:
    number: D5
    inverted: True
  dump: # all
    - rc_switch
  tolerance: 50%
  filter: 250us
  idle: 4ms
  buffer_size: 2kb

Looks like you are receiving the signal as the wrong protocol in parts, Try different idle settings you probably need a higher value, but just in case try a few values between 2 and 15.

Best of luck

Might be a silly question, but why have you inverted the pin in the config ?

When I booted up the device, the logs had a warning telling you that it detected the pin high on boot and that you probably should add the inverted: true config to the receiver:

[W][remote_receiver.esp8266:063]: Remote Receiver Signal starts with a HIGH value. Usually this means you have to invert the signal using 'inverted: True' in the pin schema!

Thanks, never seen that before. Good luck code hunting.