If I understand your comments, you are trying to operate multiple devices at once based on the room to which you’ve assigned them. For me, the easiest way to do this is verbally using Siri: “Turn on Living Room” for example. You can also group individual buttons to create a new button that does basically the same thing. Perhaps one of those suggestions helps you.
After changing out my iPhone7 (max iOS v15.7.2) for an iPhone13mini (iOS v16+), I noticed the Home app appears and operates differently. For the new iPhone on my Home app, smartplugs and smart bulbs now appear as rectangles. Each rectangle includes an icon for its type, e.g., a light bulb, and its description. If you tap on the icon, it immediately turns the device on or off. If you tap elsewhere, it opens another screen that includes dimming (even though the switch/plug may not support that) and a settings gear. So, your actions depend upon where on the Home icon you tap. Nice feature actually, though if I’m honest it took me awhile to learn this and then only by accidentally tapping the icon instead of the rest of the button.