HistoryItem

@HomeExperimentalApi
sealed interface HistoryItem

Known direct subclasses
DeviceHistoryItem

A history item generated by a device.

RoomHistoryItem

A history item generated by a room.

StructureHistoryItem

A history item generated by a structure.


The semantic representation of a history item.

Summary

Public properties

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

entityId

val entityId: Id

Id of the entity that generated the history item.

entityName

val entityName: String

Original name of the entity that generated the event.

event

val event: Event

Event that this history item represents.

eventId

val eventId: Id

Id of the event this history item represents.

id

val id: Id

The unique identifier of the history item.

timestamp

val timestamp: Instant

The timestamp of the history item.