Instance Property


The category to which the accessory belongs.


var category: HMAccessoryCategory { get }


The accessory’s category property contains an instance of the HMAccessoryCategory class that indicates the kind of accessory, like light bulb, garage door opener, or faucet. Use this information to help users distinguish among different accessories in their environment.

See Also

Categorizing an Accessory

class HMAccessoryCategory

A category for a HomeKit accessory.