home(_:didEncounterError:for:)
Tells the delegate that a configured accessory encountered an error.
Declaration
optional func home(_ home: HMHome, didEncounterError error: any Error, for accessory: HMAccessory)Parameters
- home:
The home.
- error:
The error encountered by the accessory.
- accessory:
The accessory that encountered the error.
Discussion
The delegate should check whether the accessory is blocked.