    struct AnyHomeObject

    extension AnyHomeObject : Equatable, Hashable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html, Identifiable, Sendable, SendableMetatype

Type-erased `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html` wrapper.
- `


  ### [object](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyHomeObject#/s:13GoogleHomeSDK03AnyB6ObjectV6objectAA0bE0_pvp)


  ` Reference to the type-erased object.

  #### Declaration

  Swift

      let object: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html

- `


  ### [init(erasing:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyHomeObject#/s:13GoogleHomeSDK03AnyB6ObjectV7erasingACx_tcAA0bE0Rzlufc)


  ` Creates a new instance wrapping the given object.

  #### Declaration

  Swift

      init<T>(erasing object: T) where T : https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html

- `


  ### [init(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyHomeObject#/s:13GoogleHomeSDK03AnyB6ObjectVyACSgypcfc)


  ` Creates a new instance wrapping the given object.

  #### Declaration

  Swift

      init?(_ anyObject: Any)

- `


  ### [objectType](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyHomeObject#/s:13GoogleHomeSDK03AnyB6ObjectV10objectTypeAA0beG0Ovp)


  ` Instance-level accessor for an object's HomeObjectType.

  #### Declaration

  Swift

      var objectType: https://developers.home.google.com/reference/swift/GoogleHomeSDK/Enums/HomeObjectType.html { get }

- `


  ### [id](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyHomeObject#/s:13GoogleHomeSDK03AnyB6ObjectV2idSSvp)


  ` Per-Home-unique identifier for this object.

  #### Declaration

  Swift

      var id: String { get }

- `


  ### [hash(into:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyHomeObject#/s:13GoogleHomeSDK03AnyB6ObjectV4hash4intoys6HasherVz_tF)


  ` Hashes the essential components of this value by feeding them into the
  given hasher.

  Implement this method to conform to the `Hashable` protocol. The
  components used for hashing must be the same as the components compared
  in your type's `==` operator implementation. Call `hasher.combine(_:)`
  with each of these components.
  Important

  In your implementation of `hash(into:)`,
  don't call `finalize()` on the `hasher` instance provided,
  or replace it with a different instance.
  Doing so may become a compile-time error in the future.

  #### Declaration

  Swift

      func hash(into hasher: inout Hasher)

- `


  ### [cast(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyHomeObject#/s:13GoogleHomeSDK03AnyB6ObjectV4castyxSgxmAA0bE0RzlF)


  ` Undocumented

  #### Declaration

  Swift

      func cast<T>(_ type: T.Type = T.self) -> T? where T : https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyHomeObject#/s:13GoogleHomeSDK03AnyB6ObjectV2eeoiySbAC_ACtFZ)


  ` Returns a Boolean value indicating whether two values are equal.

  Equality is the inverse of inequality. For any values `a` and `b`,
  `a == b` implies that `a != b` is `false`.

  #### Declaration

  Swift

      static func == (lhs: AnyHomeObject, rhs: AnyHomeObject) -> Bool

  #### Parameters

  |---|---|
  | ` lhs ` | A value to compare. |
  | ` rhs ` | Another value to compare. |