Broadlink switch not shown on HA

Hey there i am using broadlink mini to control my receiver

I added the following settings to my switch.yaml file

but i cannot see any switch on main screen,
if i do script i can get a it to work but then the switch is made by script,

  1. What do i need to do in order to see the switches ?
  2. What is the right way to create a remote ( design wise)
  • platform: broadlink
    host: 192.168.10.202
    mac: ‘34:ea:34:42:b5:25’
    timeout: 15

type: rm_mini

switches:

  receiver: # swtich off the Receiver
    command_on: 'JgBgAAABIZkSExI4EhMRORE5ETkSOBETEjgTEhM3EhMRExMSExISOBE5ERMTNxI4FDYSExEUERMSExI4EhMRExITEzcTNxI4EwAFHAABIUkSAAxYAAEhSBMADFcAASFJEgANBQAAAAAAAAAA' 

    command_off: 'JgBoAAABIZoSExM3ERMSOBQ2EjgSOBMSEjgSExE5EhMRExMSEhMSOBETEjgSOBM3EjgSExMSERQSOBETEhMSExETEzcSOBI4EwAFHQABIUkRAAxaAAEhSRIADFoAASJIEgAMWQABIkkRAA0F'