Rectangular Sensors (Entity API) with Cesium Sensors

Does anyone have an example of creating a rectangular pyramid sensor using the entity api? With the Cesium Sensors plugin having been recently updated, I'd love to take advantage of it but I can't figure out how to. For clarification, I know that there is an example using the API in the sample code bundled with the Sensors plugin. I'm looking for an example for creating it using the notation found on the Cesium blog post about the entity api ( Is there an example of it working this way?