Skip to content

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 EntityEvent

Pair an entity update with its event time and decoded location.

EntityEvent(*, timestamp: datetime, entity: Entity, location: Location | None = None)

Source · models/entity.py

NameTypeRequiredDefaultConstraintsDescription
timestampdatetimeyes——Timezone-aware time associated with the entity event.
entityEntityyes——Entity state carried by the event.
locationLocation | NonenoNone—Optional location decoded alongside the entity event.

Version 0.2.0 · branch main