HomeContext
The context in which the Home app launches your extension, including the selected home and accessory.
Declaration
@MainActor final class HomeContextOverview
You access the context from the environment with @Environment(\.homeContext). The context is available in the SwiftUI environment while the extension is running.