DeviceHistoryItem

@HomeExperimentalApi
interface DeviceHistoryItem : HistoryItem


A history item generated by a device.

Summary

Public properties

String

Name of the room at the time of the event was emitted.

String

Name of the structure at the time of the event was emitted.

Id?

Id of the room that contains the device.

Id?

Id of the structure that contains the device.

Set<DeviceTypeFactory<DeviceType>>

Device types that generated this event.

Inherited properties

From com.google.home.HistoryItem
Id

Id of the entity that generated the history item.

String

Original name of the entity that generated the event.

Event

Event that this history item represents.

Id

Id of the event this history item represents.

Id

The unique identifier of the history item.

Instant

The timestamp of the history item.

Public properties

originalRoomName

val originalRoomNameString

Name of the room at the time of the event was emitted.

originalStructureName

val originalStructureNameString

Name of the structure at the time of the event was emitted.

roomId

val roomIdId?

Id of the room that contains the device.

structureId

val structureIdId?

Id of the structure that contains the device.

types

val typesSet<DeviceTypeFactory<DeviceType>>

Device types that generated this event.