A look at Home on iPhone
The Home app provides a secure way to control and automate HomeKit-enabled accessories, such as lights, locks, smart TVs, thermostats, window shades, smart plugs, and cameras. With Home, you can control any “Works with Apple HomeKit” accessory using iPhone.

After you set up your home and its rooms, you can control accessories individually, or use scenes to control multiple accessories with one command. For example, you might create a scene called “going to bed” that turns off the lights around the house, dims the lights in the room “master bedroom” to 30 percent, then locks the front door and lowers the thermostat.
You can schedule scenes to run automatically at certain times, or when you activate a particular accessory (for example, when you unlock the front door). This also allows you, and others you invite, to securely control your home while you’re away. To control your home remotely, you must have an Apple TV (4th generation or later), HomePod, or iPad (with iOS 10.3 or later) that you leave at home.