state

Name state
Type Interface
Path packages/hass-ts/src/lib/types/state.ts

Properties

Name Type Description
attributes Record<string, unknown> State attributes (Specific to different entity domains)
context Context The context associated with this state change
entity_id string Home assistant entity id string in the format .
last_changed string When was the entity last changed (ISO timestamp)
last_reported string When did the entity last report its state (ISO timestamp)
last_updated string When was the entity last updated (ISO timestamp)
state string Current state of the entity