Switch.broadlink_learn_command works only twice

Hi there,
I use a broadlink MINI succeesfully configured with ha. It works even with alexa and google home.

Latley (two days ago) I was trying to add some more ir-switches from the switch.yaml so I needed to teach more command.

It turns out that the service switch.broadlink_learn_command can be called every time I want but it receive the IR code from the original remote only the first two time.

from the third time it’s not showing the received code in the UI.

If i restart hassio, it works again only for the first two times.

Any hints? I’m on the latest version of hassio on rpi3.

I have the exact same issue. Would be interested to know the cause.

I too have an RM3 Mini.