Entity

class Entity


An entity that consists of entity object and entity type.

Summary

Public properties

HasId
TypeFactory<HomeObjectType>?
@OptIn(markerClass = [HomeExperimentalApi])
type

The type of the entity.

Public properties

entityObject

val entityObject: HasId

type

@OptIn(markerClass = [HomeExperimentalApi])
val type: TypeFactory<HomeObjectType>?

The type of the entity. When no type is given and entityObject is a HomeEntityType (e.g. a scene, which has no device type), this defaults to the entity's own type.