# - [smarthome](https://developers.home.google.com/reference/local-home/modules/smarthome.html).
- [IntentFlow](https://developers.home.google.com/reference/local-home/modules/smarthome.intentflow.html).
- Device

Properties for a given device as provided in the `SYNC` response.

## Index

### Properties

- [attributes](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.device#attributes)
- [customData](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.device#customdata)
- [deviceInfo](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.device#deviceinfo)
- [id](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.device#id)
- [name](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.device#name)
- [roomHint](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.device#roomhint)
- [traits](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.device#traits)
- [type](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.device#type)
- [willReportState](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.device#willreportstate)

## Properties

### Optional attributes

attributes: undefined \| object Attributes provided in the `SYNC` response

### Optional customData

customData: undefined \| object Custom data provided in the `SYNC` response

### Optional deviceInfo

deviceInfo: [DeviceInfo](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.deviceinfo) Metadata describing the device

### id

id: string Unique device identifier

### name

name: [DeviceNames](https://developers.home.google.com/reference/local-home/interfaces/smarthome.intentflow.devicenames) Names of this device

### Optional roomHint

roomHint: undefined \| string Current room of the device within the home

### traits

traits: string\[\] List of traits this device supports

### type

type: string Hardware type of the device

### willReportState

willReportState: boolean True if this device publishes state updates in real time