EntityStateResponse Class
Entity state response object for [read_entity_state].
Constructor
EntityStateResponse(entity_exists: bool, entity_state: Any = None)
Parameters
| Name | Description |
|---|---|
|
entity_exists
Required
|
|
|
entity_state
|
Default value: None
|
Attributes
entity_exists
Get the bool representing whether entity exists.
entity_state
Get the state of the entity.
When [entity_exists] is False, this value will be None. Optional.