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
Internal implementation detail, do not use directly.