This is the payload that will be sent to the Terminal Sensor Push API.
payload = {
"merge_variables": {
"entities": [create_entity_payload(new_state)]
}
}each entity created by create_entity_payload will have the following payload:
{
"name": "Entity Name",
"value": "Entity Value"
}
An example of how this would be sent with a shell command would be:
```bashcurl -X POST -H "Content-Type: application/json" -d '{"merge_variables": {"entities": [{"name": "Entity Name", "value": "Entity Value"}]}}' https://usetrmnl.com/api/custom_plugins/XXXX-XXXX-XXXX-XXXX