Contents

addProvisionalHome(named:configuration:)

Adds a temporary provisional home while someone performs HomeKit installation services for a client.

Declaration

func addProvisionalHome(named name: String, configuration: HMHomeManager.ProvisionalConfiguration) async throws -> HMHome

Parameters

  • name:

    The name of the provisional home. It must be different from the name of any existing home.

  • configuration:

    The configuration for the provisional home with Thread network credentials and a home hub pairing identity.

Return Value

The configured provisional home you use for installation services.

Overview

When a person performs installation services at a home and pairs accessories, HomeKit automatically pre-installs the home hub as an administrative controller for each accessory. When using HomeKit accessory protocol (HAP) pairing, HomeKit enables seamless transfer of accessories without key rotation when an installation service provider transfers the provisional home to the home hub.

See Also

Providing installation services