# system.kanoa.event.getPreviousStateEvent(assetId, tStamp)

Gets the previous stateEvent entry for the assetId, tStamp passed

---
### Parameters
**assetId** `Integer`<br />
**tStamp** `DateTime`<br />

---
### Returns
**stateEventData** `pyDataset`<br />

---
### Example
```python
assetId = 123
tStamp = system.date.now()
stateEventData = system.kanoa.event.getPreviousStateEvent(assetId, tStamp)
```
