HomeEntity

protocol HomeEntity : HasParts, HomeObject

A generically represented trait-based smart home entity in Google Home Platform.

  • id

    The unique identifier of the entity.

    Declaration

    Swift

    override var id: String { get }
  • The HomeObjectType classification of this entity.

    Declaration

    Swift

    override var objectType: HomeObjectType { get }
  • Controller for dynamically reading and subscribing to traits on this entity.

    Declaration

    Swift

    var traits: any TraitController { get }