If you encounter the error message: "This home has a connected device and cannot be removed," you may be trying to remove a home that still has a lock connected to it.
To delete a lock listing, go to Set Up Menu > Manage Locks. Then click the trash icon and select the home you wish to delete. Now you may delete a home listing. First go to the Set Up Menu > Manage Homes. Then click the trash icon and select the home you wish to delete. You may want to refer to pages 7 and 8 of the App User Guide here.