Protocol not recognised in RPI-RF

Hi All,

I’m trying to transimt an RF code using the RPI-RF switch but I’m encountering a problem with the protocol variable. If I leave the protocol variable out (which should default to protocol 1) it transmits a code which I can see using RC-switch running on an arduino. If I enter the protocol variable nothing transmits. Even if I set the protocol to 1.

So this transmits:

switch:
  - platform: rpi_rf
    gpio: 15
    switches:
      bedroom_light:
        code_on: 4608160
        code_off: 4608160
        pulselength: 429

But this doesn’t:

switch:
  - platform: rpi_rf
    gpio: 15
    switches:
      bedroom_light:
        protocol: 1
        code_on: 4608160
        code_off: 4608160
        pulselength: 429

The code I’m trying to transmit actually uses protocol 6 so I need to set the protocol.

Any advice on what I may be doing wrong would be appreciated.