Changing Switches to Outlets in Homekit

Tags: #<Tag:0x00007f32605c92e0>

Hi there!
I’ve set up LocalTuya and Homekit, and want to change a switch’s type to Outlet.
My valid configuration looks like this.

homekit:
  entity_config:
    switch.DeskLamp:
      type: outlet

I’ve tried restarting HA and resetting the switch with Homekit.Reset_Accessory via the Services Developer Menu tab.

Any ideas where I went wrong?

Thank you!