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 Use automations in Home on iPad