Type of the entity
Type of the entity state
property - represented as a
string in Home Assistant.
Internal implementation detail, do not use directly.
Emits the state whenever it changes.
Creates a new cold Observable by calling the Observable constructor
The last known values of the Entity.
The last known device state.
a handler for each value emitted by the observable
a promise that either resolves on observable completion or rejects with the handled error
Get the last known value of a entity attribute.
Type of entity
Name (key) of attribute
Creates a new Observable, with this Observable as the source, and the passed operator defined as the new observable's operator.
the operator defining the operation to take on the observable
a new observable with the Operator applied
Returns a JSON string representation of the last known state of the entity.
Generated using TypeDoc
Class representing entities on the Home Assistant system. This class gives a generic view of all entities providing functionality to monitor state changes as well as querying current state disregarding.
Objects of this call can be treated as a @{link Observable}.*