RFXTRX convert switch to light problem

Hi All,

I’m trying to convert a switch to light, i can’t get it working.

Device in HA version 0.118.1:
image

light.yaml

  • platform: switch
    name: Staande lamp Woonkamer
    entity_id: switch.staande_lamp_woonkamer

What is wrong?