Tradfri socket show as light in Home Assistant

Hi,

Is there a way to amend the home assistant discovery payload for a tradfri socket so it is configured as a light rather than a switch?