In the Home app, you can create scenes that allow you to control multiple accessories at once. For example, you might define a “Reading” scene that adjusts the lights, plays soft music on HomePod, closes the drapes, and adjusts the thermostat.
Go to the Home app Set up accessories with Home on iPadUse automations in Home on iPad