Lumary RGB Lights - Wifi/Bluetooth - Edit solved with Local Tuya

Hey folks, I am at my whits end here. I have these lights:

I have configured them with Tuya, they show up as 5 devices, but 10 entities. (Picture 1) and picture two, you can see I tried to add them to groups (Picture 2)

I want to be able to as a group, control the main lights (labled kitchen lights) and as a group control the night lights.

I can do this in google home, by putting them in an area, but I can’t change the area in home assistant.

I would like to eventually accomplish being able to have a button on my dashboard to control them - but in their current state I cannot.

So, the main light shows as
light.lumary_6_smart_rgbai_ultra_thin_downlight_e1

whereas the “night light” shows as:

switch.lumary_6_smart_rgbai_ultra_thin_downlight_e1_2

I can’t find a way to change it to a light, instead of a switch. GUI or yaml.

image


picture two, since I couldn’t post above

I have tried changing them through Change device type of a switch - Home Assistant - with no luck