how can you remove a component lamp that is pieces broken
I’ve updated the title and moved your question into the ‘question and help’ forum
What type of device is the broken lamp? Zigbee, Zwave, Lightlink, Wifi?
You might want to create a post here :
Alon with the device you are using, what you tried to do to remove the device and what response you get from the system.
You can remove a device by long pressing it’s device tile, then select the cogwheel at the top right corner. There you have the option to remove it. WiFi Yeelights don’t require any other actions.