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

Index

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

Metadata describing the device

id

id: string

Unique device identifier

name

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