    struct AttributeStarter

    extension AttributeStarter : Copyable, CustomStringConvertible, Equatable, Escapable, Hashable, Identifiable, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Node.html, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/NodeWithOutput.html, Sendable, SendableMetatype, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Starter.html

Struct for all attribute-based starters relying on the value of a trait.
- `


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


  ` The stable identity of the entity associated with this instance.

  #### Declaration

  Swift

      let id: String

- `


  ### [output](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV6outputSSvp)


  ` Data that uniquely identifies a `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Node.html`. Must be unique per `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Automation.html`.

  #### Declaration

  Swift

      let output: String

- `


  ### [trait](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV5traitAA5Trait_pXpvp)


  ` The identifier of the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Trait.html` associated with the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Starter.html`.

  #### Declaration

  Swift

      let trait: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Trait.html.Type

- `


  ### [traitID](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV7traitIDSSvp)


  ` The string-based identifier for the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Trait.html`. If trait is `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/UnknownTrait.html`
  it will refer to the original traitID provided.

  #### Declaration

  Swift

      let traitID: String

- `


  ### [entityExpression](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV16entityExpressionAA0G0_pvp)


  ` An expression that selects an entity or a list of entities associated
  with the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Starter.html` at runtime.

  When entityExpression represents a single entity, entityExpression will be
  Constant(value: AnyAutomationEntity).
  Otherwise, entityExpression is an Expression, capable of resolving to any number of entities.

  #### Declaration

  Swift

      let entityExpression: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Expression.html

- `


  ### [entity](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV6entityAA0B6Object_pSgvp)


  ` The unique entity for the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/HomeDevice.html` or `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/Structure.html` entity associated
  with the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Starter.html`.

  entity will be nil if the init(entityExpression: ...) was used and
  the entityExpression is not a `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/Constant.html` to a `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html`.

  #### Declaration

  Swift

      var entity: (any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/HomeObject.html)? { get }

- `


  ### [deviceType](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV10deviceTypeAA06DeviceG0_pXpSgvp)


  ` The identifier for the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/DeviceType.html` associated with the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Starter.html`,
  if the entity is a device.

  deviceType will be nil if entity is nil or not a device, such as a `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/Structure.html` or `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/Room.html`.

  #### Declaration

  Swift

      var deviceType: (any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/DeviceType.html.Type)? { get }

- `


  ### [deviceTypeID](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV12deviceTypeIDSSSgvp)


  ` The string-based identifier for the `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/DeviceType.html`. If deviceType is `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/UnknownDeviceType.html`
  it will refer to the original deviceTypeID provided.

  deviceTypeID will be nil if entity is nil or not a device, such as a `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/Structure.html` or `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/Room.html`.

  #### Declaration

  Swift

      var deviceTypeID: String? { get }

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV2eeoiySbAC_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: AttributeStarter, rhs: AttributeStarter) -> Bool

  #### Parameters

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

- `


  ### [isEqual(to:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV7isEqual2toSbAA4Node_p_tF)


  ` Returns true if the nodes are equal, false otherwise.

  #### Declaration

  Swift

      func isEqual(to other: any https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Node.html) -> Bool

- `


  ### [description](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AttributeStarter#/s:13GoogleHomeSDK16AttributeStarterV11descriptionSSvp)


  ` A textual representation of this instance.

  Calling this property directly is discouraged. Instead, convert an
  instance of any type to a string by using the `String(describing:)`
  initializer. This initializer works with any type, and uses the custom
  `description` property for types that conform to
  `CustomStringConvertible`:

      struct Point: CustomStringConvertible {
          let x: Int, y: Int

          var description: String {
              return "(\(x), \(y))"
          }
      }

      let p = Point(x: 21, y: 30)
      let s = String(describing: p)
      print(s)
      // Prints "(21, 30)"

  The conversion of `p` to a string in the assignment to `s` uses the
  `Point` type's `description` property.

  #### Declaration

  Swift

      var description: String { get }