- Overview
- EntityEvent
EntityEvent
Part of Entities in the Python API reference.
Related guidance: concepts/entities, quickstarts/sensor-publisher, how-to/pli-entities, how-to/tracks-detections.
Runnable examples: publish_entity.py, watch_detections.py, watch_tracks.py.
from picogrid_ecn_client import EntityEventPair an entity update with its event time and decoded location.
EntityEvent(*, timestamp: datetime, entity: Entity, location: Location | None = None)Fields
Section titled “Fields”| Name | Type | Required | Default | Constraints | Description |
|---|---|---|---|---|---|
| timestamp | datetime | yes | — | — | Timezone-aware time associated with the entity event. |
| entity | Entity | yes | — | — | Entity state carried by the event. |
| location | Location | None | no | None | — | Optional location decoded alongside the entity event. |
Version 0.2.0 · branch main
