Grouping and status and syncing

I have created a group using my UPB light switches end my smart bulbs but when I do this the wall switches go off at the exact same time.
real life example I tell Alexa to turn off my den lights if I only put my smart bulbs in the group The wall switch is on and remains on. And like everyone else I have some family members that are not technical. So, they start turning on and off the switch which causes havoc with the smart bulbs. So I have incorporated the UPB switch in the group. That causes some issue. This two can be worked around is there a way to prioritize certain commands in a group meaning if I tell the group to turn on and off it only turns off the wall switches thus when I turn on the wall switch manually the Smart bulbs power up and go back to their old status. This way when I turn it on from Alexa or the main page and or remote device it works Symbian.
Second scenario if by chance the smart bulbs were turned on either by Alexa an app or main page and the current status of the wall switch is off it knows to turn on the wall switch.
So for those two scenarios I have to put all the devices in one group. But it doesn’t work so fluid if you get what I mean.
1 last issue putting them in one group does work semi OK but now is there a way to check the status of the devices for example if I tell a group to change color some of my lights work and some of them don’t I’ve had this problem with Phillips and Tuya your devices. So if I send the commands either through Alexa Google and app or main page. The group will not stop sending the commands to the devices that have not caught up yet this will fix 99% of the problem.
Real life example Alexa change my color of my bedroom to blue 4 of the Tuya lights change But 2 don’t change which makes no sense since home assistant has the ability to see status it should keep trying it until the whole group is 1 states. I know I’m not the only one having this issue. I group all devices UBP Wall Switched and some have dimming capability and some don’t the Dimming capability is done by smart bulb. So my UDP switch’s one has the capability of dimming one doesn’t so again. if I send a command via voice to dim a group it does not dim my UDP switch only the smart lights or says because one of the switches can’t dim that group does not have that capability that has been sporadic and the same thing so color changing. But it is sporadic again sometimes it works sometimes it doesn’t and Alexa comes back with that answer you don’t have the capability in that group. I am a newbie to this whole thing but I will tell you that this product truly has so much potential it’s crazy I came over from a smart thing world I cannot believe how much more diverse this is. I also wanna know I’ve even switched my Tuya to Local Tuya thinking the latency from the web was causing this. So I have exhausted a lot of effort and no i am not going to get rid of my 84 year old father no my wife maybe my wife lol just kidding
I would love your input thank you again

" HINT HINT" someone should write I do not know how to write this an application that works with home Assistant that you can do a lot of these things for us laymen people like changing bulbs at different time colors of the day temperature warm and be able to push it to all my devices in my home Hint Hint lol"

.