Can't specify broadlink switch name

Hi,

Since the upgrade to 0.115, it is not possible to put the name of the switch on the yaml file:

- platform: broadlink
  host: ip
  mac: mac
  switches:
    - name: 'kodi'

I followed some instructions and documentation but couldn’t specify the name for this device. I need to make the change manually on the UI to have a proper name and be able to make automations with it …
And after configuring on the UI, it is adding _switch after the name and got a nice switch.kodi_switch

Is there a way to specify it on the yaml without clicking on the interface ? Is my configuration wrong ?
Currently on 0.115.4.

Should we add this to the documentation page ? (I can prepare the changes if needed)

Thanks,